diff options
| author | 2022-07-06 09:09:44 +0000 | |
|---|---|---|
| committer | 2022-08-11 18:03:53 +0000 | |
| commit | 0d9ba1c04a89a8849030356efc3b4e506ba3553f (patch) | |
| tree | 71e3af76ace32146b352570c9f4bd20405511919 /libs/androidfw/AttributeResolution.cpp | |
| parent | 65ca888c567513b3deb010c307a44f1eb41afe4e (diff) | |
[Partial Screenshare] Respond to task changes
Destroying the MediaProjection notifies the client app through the
MediaProjection callbacks that the app should handle the session
ending prematurely.
This may happen if setting up task recording failed, or if the
user exited the task that is being recorded.
Registering a listener to the task for configuration changes
also enables handling of the task entering/exiting split
screen.
Fixes: 219761722
Fixes: 237526949
Fixes: 236971595
Test: atest WmTests:ContentRecordingControllerTests
Test: atest WmTests:ContentRecorderTests
Change-Id: I415fb70433a031889f0486e99bb7d3b664333414
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions