Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 4d9ded03 authored by Antony Sargent's avatar Antony Sargent
Browse files

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
parent 8089e6f2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment