setTurnScreenOn can only used as wakeup
setTurnScreenOn shouldn't dismiss keyguard automatically even when the keyguard is insecure. The keyguard state should only be affected by requestDismissKeyguard and/or setShowWhenLocked, and for either case setTurnScreenOn can be used to wakeup device if the activity is going to be resumed and visible. Bug: 201103497 Test: atest ActivityVisibilityTests KeyguardTests KeyguardLockedTests Change-Id: I283dea469a33286fc9cf835e39ee5a3be2444739
Loading
Please register or sign in to comment