diff options
| author | 2022-11-12 00:21:09 +0000 | |
|---|---|---|
| committer | 2022-11-17 22:36:42 +0000 | |
| commit | e65409d819cee98077942a242b874b4d4261b79b (patch) | |
| tree | f5b5b4ade0e4a09e36526e48ffb1a307c5cc9dad /libs/androidfw/ResourceUtils.cpp | |
| parent | dc078773aa8e01e1f4e03965f364eda5a8a0d604 (diff) | |
Adds call to rear display overlay intent
When a request is made to enable rear display
mode, and it's from a process that doesn't
hold the CONTROL_DEVICE_STATE permission, we
should launch the educational overlay to alert
the user of what's about to happen.
This change also introduces a method on
DeviceStateManagerGlobal and Service to allow
the overlay activity to communicate back to the
system service if the overlay has been dismissed
or acted on
Bug: 207686851
Test: DeviceStateManagerServiceTest
&& DeviceStateManagerGlobalTest
Change-Id: Ife7d642563005a2571bdeacbd7a3baaa9aad5e25
Diffstat (limited to 'libs/androidfw/ResourceUtils.cpp')
0 files changed, 0 insertions, 0 deletions