Skip to content
Commit 19660ca3 authored by wilsonshih's avatar wilsonshih Committed by Wei Sheng Shih
Browse files

Only wakeup device for dismiss keyguard when dream activity is on top.

Regression from I62be9283a1d22119eceae5585960b5775a019153.
When dismiss keyguard from shell command, the wakeup signal should only
be used for leaving the dream activity.

Bug: 219376804
Test: atest KeyguardTests KeyguardLockedTests
Test: atest WindowManagerServiceTests
Test: Enable dream, set crediental, wait for dream activity resumed and
keyguard locked. Dismiss keyguard by shell command "dismiss-keyguard",
verify the DreamActivity can be stopped after enter crediental.
Test: Test with test app, verify the device won't wakeup after screen
off.

Change-Id: I4edab8588421b3e341cf3bde07e989ff5e651cfe
parent 17a66a22
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