Skip to content
Commit 7cb5807f authored by wilsonshih's avatar wilsonshih
Browse files

Allow Activity#setTurnScreenOn to wakeup device

Add a condition that Activity#setTurnScreenOn can wakup device, also
make that activity become visible and dismiss keyguard automatically
when

- keyguard is insecure and
- device is non-interactive

Follow 7caf48e7, if the above conditions are met, turnScreenOn can also
dismiss multiwindow mode.

Bug: 155922711
Test: atest ActivityVisibilityTests KeyguardTests KeyguardLockedTests
KeyguardTransitionTests AppConfigurationTests ReplaceWindowTests
ActivityLifecycleKeyguardTests

Change-Id: I7b18c391819d8e69b51d6f5b5e99a023d5ea1a0f
parent b4e9dc0a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment