diff options
author | wilsonshih <wilsonshih@google.com> | 2020-07-29 14:34:55 +0800 |
---|---|---|
committer | wilsonshih <wilsonshih@google.com> | 2020-09-16 17:46:42 +0800 |
commit | e94de4764eb9eaa14ff3263af18955f76d988d56 (patch) | |
tree | d683ef8d5fdcccb337e79e58bbb77fcd77beab52 /libs/hwui/renderthread/CanvasContext.cpp | |
parent | e9897deb31553c96fcce8e7d20500afc65a41766 (diff) |
Fixes cannot leave dozing when dismiss keyguard.
Setup dream by enable AOD or dreaming. Then entering dreaming and wait
lockscreen on, trigger wm dismiss-keyguard should stop dreaming no
matter is AOD or DreamActivity, and if user has set crediental,
SystemUI should show keyguard bouncer at the same time.
Currently behavior:
- When showing AOD: dismiss-keyguard won't leave AOD, once user press
power key, AOD will gone and show keyguard bouncer directly.
- When showing DreamActivity: dismiss-keyguard keyguard bouncer will
pop up without leave DreamActivity, after enter crediental,
DreamActivity keep in resumed state.
In order to make a consistent behavior, when receive a request to
dismiss keyguard, wake up the device if it's dreaming.
Bug: 162190413
Test: atest KeyguardTests KeyguardLockedTests
Test: atest WindowManagerServiceTests
Test: Enable dream, set crediental, wait for dreaming and device
locked. Try to dismiss keyguard with "adb shell wm dismiss-keyguard",
the DreamActivity or AOD should stop.
Change-Id: I62be9283a1d22119eceae5585960b5775a019153
Diffstat (limited to 'libs/hwui/renderthread/CanvasContext.cpp')
0 files changed, 0 insertions, 0 deletions