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

Skip to content
Commit 5a255ffc authored by Robin Lee's avatar Robin Lee
Browse files

Run TaskDisplayArea recovery during sleep tokens

In AOD we can have a showWhenLocked activity visible but
put to sleep by the Keyguard sleep token. Checking for
isSleeping stops us from recovering display area visibility
when:

- AOD is active
- A showWhenLocked, non-turnScreenOn app starts to launch
- Post-collect, app calls recreate(), adds FLAG_TURN_SCREEN_ON
- App becomes visible in relayout

Change-Id: I660967a2eed3ea1c0ef1845afbdf416c26fa82ae
Test: atest --iterations 10 CtsWindowManagerDeviceKeyguard:KeyguardTests
Test: atest --iterations 10 CtsWindowManagerDeviceKeyguard:KeyguardLockedTests
Bug: 292571302
parent d62cfd94
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