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

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
parent 612dbde3
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