commit | d7912d2f106053bf4965d137b436e0b5b863f184 | [log] [tgz] |
---|---|---|
author | Jorim Jaggi <jjaggi@google.com> | Tue Sep 30 17:38:19 2014 +0200 |
committer | Jorim Jaggi <jjaggi@google.com> | Tue Sep 30 17:38:19 2014 +0200 |
tree | d91a5fa335c477da5fa042e026fe490758b75909 | |
parent | bc156ba430d286aaab8deb7bbb3bccc655cd2e92 [diff] [blame] |
Don't play hint animations when dozing Bug: 17718416 Change-Id: I2c27b4ea479ee46612eb5284a2c872d03dc52ab0
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java index b9efb22..26420e1 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
@@ -1551,7 +1551,8 @@ @Override protected void onEdgeClicked(boolean right) { if ((right && getRightIcon().getVisibility() != View.VISIBLE) - || (!right && getLeftIcon().getVisibility() != View.VISIBLE)) { + || (!right && getLeftIcon().getVisibility() != View.VISIBLE) + || isDozing()) { return; } mHintAnimationRunning = true; @@ -1747,6 +1748,7 @@ updateKeyguardStatusBarVisibility(); } + @Override public boolean isDozing() { return mDozing; }