diff options
| author | 2022-01-25 23:53:57 -0800 | |
|---|---|---|
| committer | 2022-03-29 18:42:23 +0000 | |
| commit | 4d9ded03693011fbe23dc6caee97925258992f9b (patch) | |
| tree | d48ebbebbdd17a8cfc0453039d7d1e4e76f7e3da /libs/androidfw/StringPool.cpp | |
| parent | 8089e6f24943029a8c2b51e957a01bc6aecbfc9b (diff) | |
Lock default display when it sleeps independent of global wakefulness
When dealing with multiple PowerGroups, we calculate the global
wakefulness as the highest of any individual group. In the case where
a non-default PowerGroup (e.g. for a VirtualDisplay) is awake and the
default PowerGroup transitions from awake to asleep, we need to let
the PhoneWindowManager know so it can tell Keyguard to lock the
default display.
Fixes: 208229988
Test: atest PowerManagerServiceTest
Change-Id: Ib0fc4fdc30ca6f111e3c9d428a45bab5d403ad15
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions