Skip to content
Commit ef8d7887 authored by Jeff DeCew's avatar Jeff DeCew
Browse files

Fix notifications disappearing when shade fully expands.

The notifications would disappear with the shade fully expands because the shade calculation uses the expanded state if it's not 0 or 1, so when expansion becomes 1 the 'fraction' falls back to using the doze amount, which is 1, causing notifications to disappear.  This was only happening because of a bug where the dozeAmount was left as 1.0 while the device was unlocked during the screen off animation.

The core fix here is to clear the dozeAmount when cancelling screen off.

Fixes: 234979264
Test: enable aod & rear/side fingerprint auth; go to launcher; tap power to turn screen off; unlock with finger during the animation; pull shade to see notifications
Change-Id: If781da0cf941d3560be8bd6b27429e1d94448576
parent 5ccdd5c1
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