diff options
author | wilsonshih <wilsonshih@google.com> | 2020-12-22 14:43:32 +0800 |
---|---|---|
committer | Wei Sheng Shih <wilsonshih@google.com> | 2020-12-22 07:56:40 +0000 |
commit | f9fd46830025f05e5f14f70492f837c7c7b32329 (patch) | |
tree | 62d8941dd4f7641a6d98b59f7be66619f60e6e2a /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 612dbde32af63fe0b33d82deb455e65f5fe869eb (diff) |
Fix the device been wake up after dozing.
The real device would be wake up after dozing because of hiding
bouncer.
The sequence would be like:
DozeServiceHost#updateDozing
StatusBarKeyguardViewManager#reset
StatusBarKeyguardViewManager#hideBouncer.
And if the expansion state is EXPANSION_VISIBLE, hide bouncer will
overwrite the expansion to EXPANSION_HIDDEN, which would cause
KeyguardBouncer#dispatchFullyShown then wakeup the device.
A simple idea is we don't need to overwrite the expansion state while
hide bouncer since dispatchExpansionChanged can be triggerred when
setExpansion been called.
Bug: 175423965
Bug: 175920249
Test: atest KeyguardTests
Change-Id: I911ed31ccb402713eb0a00faf0b176c88488501b
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions