Allows an app to cancel a device state request they made at any point if they're in the foreground.
Merges cl 28368952 & 28785068 that allows the updated behavior for cancelling a device state request for a request that the caller made themselves with a requirement that the caller must still be in the foreground, to be cherry-picked to 24Q3-release. Bug: 350930205 Bug: 354772125 Test: DeviceStateManagerTests Test: ExtensionRearDisplayPresentationTest Flag: android.hardware.devicestate.feature.flags.device_state_requester_cancel_state (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:ffb9832df3de57a8e29aa8eee8b85ae4e3d8ea32) Merged-In: I864716078d377b2c65cfccf518b2f81f2d043efc Change-Id: I864716078d377b2c65cfccf518b2f81f2d043efc
Loading
Please register or sign in to comment