summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author dakinola <dakinola@google.com> 2024-05-07 11:45:56 +0000
committer Daniel Akinola <dakinola@google.com> 2024-05-28 14:02:19 +0000
commitbd161c0d08b0f972fe5c63bd43c71233d69a3393 (patch)
treecabe68fef276f81e38920e324d6c54c219454266 /libs/androidfw/FileStream.cpp
parent61aacad965044c5eafb71797971c581e516de7bc (diff)
Check for target activity with taskid and launch cookie
Found an issue with screen recording, where if you open an app to be recorded, but close the initial activity before recording starts, the recording fails because we expect to identify the task to the record by looking for an activity with matching launch cookie. As a backup, we also supply the task id (when possible) into the projection and try to find the opened task that way. Fix: 333779790 Flag: None Test: manual testing by attempting to screenrecord Google Photos while on the trash acvitity, then navigating back to the home activity before recording starts Test: atest FrameworksCoreTests:ContentRecordingSessionTest Test: atest FrameworksServicesTests:MediaProjectionManagerServiceTest Test: atest WmTests:WindowManagerServiceTests Test: atest RecordingServiceTest Change-Id: Ied4c8f117ce39288971d293dbcafa022711bf26a
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions