commit | b0e4f9e97e272783f08b2245219239aaa667073d | [log] [tgz] |
---|---|---|
author | Selim Cinek <cinek@google.com> | Mon Nov 02 13:42:58 2015 -0800 |
committer | Selim Cinek <cinek@google.com> | Mon Nov 02 21:51:34 2015 +0000 |
tree | 452119b8eb37ce1fff6f62d8c4de9ae6d78bb823 | |
parent | a47f9dad2bd70b594e445a6a448877122f28517a [diff] |
Fixed a bug where the panel could get stuck closing When mClosing was set even though the panel was not expanding, the variable was never reset leading to bad states like the notification shade not updating, people missing calls and similar bad bugs. Bug: 25338991 Change-Id: I4362fda257770c98c5f9ba75a5622b14f74dc5ae
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java index c6743e7..e03bcfb 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
@@ -123,7 +123,6 @@ }; protected void onExpandingFinished() { - endClosing(); mBar.onExpandingFinished(); } @@ -138,6 +137,7 @@ } protected final void notifyExpandingFinished() { + endClosing(); if (mExpanding) { mExpanding = false; onExpandingFinished();