commit | ee5d630459f0f292ad0e3ac1f8002f90897857fc | [log] [tgz] |
---|---|---|
author | Felipe Leme <felipeal@google.com> | Fri Apr 22 16:11:19 2016 -0700 |
committer | Felipe Leme <felipeal@google.com> | Mon Apr 25 09:12:06 2016 -0700 |
tree | 8d7ddc0a6068dd94f1069e72aabd1d5122b0b3e3 | |
parent | f39f04407e6c50d57aaa2358b2f46bc79a94cf4f [diff] [blame] |
Added a 'deferred' parameter on executeRunnableDismissingKeyguard(). OnDismissAction() should return true only when the dismiss should be deferred, but the annonymous class on executeRunnableDismissingKeyguard() was always return true, which was cause a janky timeout when the runnable didn't launch an activity. BUG: 28303552 Change-Id: I1f9e299102d6cebba44794c026a69cf43ea06990
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardBottomAreaView.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardBottomAreaView.java index 83a15ad..8d74536 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardBottomAreaView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardBottomAreaView.java
@@ -490,7 +490,7 @@ AsyncTask.execute(runnable); } else { mPhoneStatusBar.executeRunnableDismissingKeyguard(runnable, null /* cancelAction */, - false /* dismissShade */, false /* afterKeyguardGone */); + false /* dismissShade */, false /* afterKeyguardGone */, true /* deferred */); } }