summaryrefslogtreecommitdiff
path: root/api/coverage/tools
diff options
context:
space:
mode:
author dakinola <dakinola@google.com> 2024-09-25 11:34:27 +0000
committer Daniel Akinola <dakinola@google.com> 2024-09-25 21:51:47 +0000
commit1648937d800c7102ef51a80ee6450c1532fd268d (patch)
treed759ce0102f6fd5e40c3efac480b3da70f4e6e9b /api/coverage/tools
parente8c0fd8f96fab06b556ed1c04f7fff6c3d18e1e1 (diff)
Fix Launching Foreground Recording App with MediaProjection App Selector
Partner found a bug relating to when we attempt to partial screenshare the app that is requesting MediaProjection. We always attempt to find the selected app by launch cookie provided, but if we select the currently open app that is requesting a MediaProjection, the launch cookie won't match. It only works now by accident because the launch cookie is attributed to the app selector activity instead of the base recording activity, but if the app selector activity is closed by the time virtual display set up starts then it won't find an activity with the new launch cookie. To remedy this, for the case of starting a mediaprojection for the active activity, then we'll provide the task id as a backup Bug: 365498349 Test: atest ShellRecentTaskListProviderTest Flag: EXEMPT bugfix Change-Id: I7f5e4139dd72f7f7795adab00a52dc82b14e4ac9
Diffstat (limited to 'api/coverage/tools')
0 files changed, 0 insertions, 0 deletions