Skip to content
Commit e86ce8f2 authored by Michal Brzezinski's avatar Michal Brzezinski
Browse files

Fixing QS appearing when going from AOD to unlocked in split shade

Bug was caused by steadily decreasing height of panel instead of snapping it to 0 immediately. While transitioning from AOD to UNLOCKED, we’re using collapsePanel with animation call which creates height animator. That animator is progressing through shade collapse from fraction of 1 through 0.9, 0. 8 etc making the whole shade visible for some time. We need to immediately collapse shade in that case instead of animating the transition, which is done automatically when changing states.
This animation was triggered from resetViews() when going out of doze and resetting views doesn’t seem to be necessary as shade is already getting collapsed when going into doze.

Bug: 244777135
Test: go to AOD in split shade, unlock with fingerprint without showing keyguard first, QS are not flashing for a moment
Change-Id: Ice020b5d40148026709a78b22af9de4dbc203984
parent 0b180ddb
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