diff options
| author | 2024-08-13 23:57:49 +0000 | |
|---|---|---|
| committer | 2024-08-14 16:53:38 +0000 | |
| commit | 5d272d0a615fe904fce953ce55dc5ae929edcaeb (patch) | |
| tree | 17a3d058bfbc0dec2107d19bd0efd4e07c9724fc /libs/androidfw/AttributeResolution.cpp | |
| parent | 94abf8c1658bc7fdfa70ae578b1b91a652b70cd9 (diff) | |
Update cancel device state request to require foreground for cts compat
Previous change in ag/28368952 made the requirements to cancel
a device state request too open, which caused cts compat issues.
This change reduces the ability to cancel a state request, to
requiring that a process is in the foreground while not being
required to be the top app. This allows a process in Picture in
Picture to be able to cancel the state request.
Test: DeviceStateManagerTests
Test: ExtensionRearDisplayPresentationTest
Bug: 358004667
Flag: android.hardware.devicestate.feature.flags.device_state_requester_cancel_state
Change-Id: I435a2f6b2910abd54e85c3bc0a5424deee67d67a
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions