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
Loading
Please register or sign in to comment