OSDN Git Service

Fix wrong nav bar animation when unlocking from AOD
authorJorim Jaggi <jjaggi@google.com>
Mon, 17 Jul 2017 16:31:13 +0000 (18:31 +0200)
committerJorim Jaggi <jjaggi@google.com>
Wed, 19 Jul 2017 11:09:03 +0000 (11:09 +0000)
commitf5304ad7be35a42b41a4e1e79ce2c62747e67bfc
tree3f637f5fd90710688b407ecb822b7b7cfd3f0bf1
parentffc3f50b021f10fa9ecb58dade18ad4534c0b90b
Fix wrong nav bar animation when unlocking from AOD

Visibility of navigation bar was set too late. Set it earlier
such that it gets the right animation.

In addition to that, fixes a bug where Keyguard unlock animation
was terminated too early if there was already a scrim animation
pending.

Test: Wake-and-unlock from Aod
Bug: 63726451
Change-Id: I9a45fb27db68d56904c0fade40ea1173176beae8
packages/SystemUI/src/com/android/systemui/statusbar/phone/ScrimController.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarKeyguardViewManager.java