Allows an app to cancel a device state request they made at any point.

Removes the requirement for an application to have to be foregrounded
to cancel a device state request, provided that the process and user
id match the id's that made the initial request.

Bug: 350930205
Bug: 354772125
Test: DeviceStateManagerTests
Test: ExtensionRearDisplayPresentationTest
Flag: android.hardware.devicestate.feature.flags.device_state_requester_cancel_state
Change-Id: I86ab874f8d5d14bbdbd8cf30310b9896d41a8246
2 files changed