OSDN Git Service

Longer bouncer delay and simpler delay logic
authorLucas Dupin <dupin@google.com>
Tue, 4 Jun 2019 03:22:39 +0000 (20:22 -0700)
committerLucas Dupin <dupin@google.com>
Wed, 5 Jun 2019 02:15:01 +0000 (02:15 +0000)
commit7825b944b7ff956578f89cb9d19128afa76809d7
treefa30a276258f461e92aa07fc92e54fc514a24ffb
parent63b02d86ae62d230307c782ef221ba85959193d2
Longer bouncer delay and simpler delay logic

Delay it for a little longer and always delay bouncer even if auth
didn't start yet.

Test: atest KeyguardBouncerTest
Test: swipe up from bouncer twice (before and after face auth)
Test: reboot, swipe up, observe no delay
Fixes: 134064323
Change-Id: I723e3ae72a6ba34c05ce41fa989c186c399f3ada
packages/SystemUI/src/com/android/keyguard/KeyguardUpdateMonitor.java
packages/SystemUI/src/com/android/systemui/SystemUIFactory.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardBouncer.java
packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/KeyguardBouncerTest.java