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

Commit 0898a10e authored by Rupesh Bansal's avatar Rupesh Bansal
Browse files

Separately timing out different power groups

An issue was observed that even though the power groups timeout was
configured differntly, they would lock/unlock together. This was
primarily because PhoneWindowManager invoked KeyguardDelegate only when
the default display was sleeping/waking up. This condition has now been
updated to instead check on the global interactivity.

We also noticed issues that the system would block the migration of the
display from sleeping to dozing state, this has now been relaxed for the
cases where there are more than one power groups and all of them are
sleeping

The system will now sleep the default display when it times out if there
is another active power group. This will then transition to doze when
all the non-default power groups migrate to sleep

Bug: 414444200
Test: Manual
Test: atest com.android.server.power
Flag: com.android.server.display.feature.flags.separate_timeouts

Change-Id: I3968f2457aa3039356ccf7dc154921e36f67465c
parent bd6fc1b5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment