commit | ca8b270063159cc3c1170e9ed9423433aaf45680 | [log] [tgz] |
---|---|---|
author | Selim Cinek <cinek@google.com> | Tue Oct 03 21:07:57 2017 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Oct 03 21:07:57 2017 +0000 |
tree | e5f4ef28a7894d266b3cbb8162844f44a3a95a64 | |
parent | 5b6a02eb8b890b6197811c50aa288f1067909498 [diff] | |
parent | d191ee87a59af46b81c2a83f2c8128fd5b3ce4e3 [diff] |
Merge "Collapse Notification panel after tapping CLEAR ALL button"
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java index 50e4f3d..05e0c9b 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java
@@ -1440,6 +1440,11 @@ } }; + if (hideAnimatedList.isEmpty()) { + animationFinishAction.run(); + return; + } + // let's disable our normal animations mStackScroller.setDismissAllInProgress(true);