OSDN Git Service

Fix wrong bouncer translation during hint animation
authorLucas Dupin <dupin@google.com>
Fri, 20 Apr 2018 04:08:52 +0000 (12:08 +0800)
committerLucas Dupin <dupin@google.com>
Fri, 20 Apr 2018 06:27:55 +0000 (06:27 +0000)
commitd7344dcd6c2df6a95b80d23fb87ae63867211945
tree4272f74dffa394e5450988869ea5e58c91f9533c
parent52a9587a1c3797a74709acce3841ad1ad086a872
Fix wrong bouncer translation during hint animation

It's not correct to assume that the bouncer translation is 0 when the
unlock hint animation is running. The correct translation is 1 since
the view is completely hidden.

FalsingManager was receiving the wrong bouncer state, and this caused
the rejection swipe gestures.

Change-Id: I7c48a326f054a2c09809e5a1096ca42907472eac
Fixes: 78108854
Test: tap on scrim, swipe notification
Test: turn on flasing logs, look at logcat
Test: go/sysui-bouncer-tests
packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarKeyguardViewManager.java