commit | d4b6e59cadce670fced3df4dcb1d368d0b1284b6 | [log] [tgz] |
---|---|---|
author | Selim Cinek <cinek@google.com> | Tue Oct 03 21:30:14 2017 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Tue Oct 03 21:30:14 2017 +0000 |
tree | 500e4e9b6cf554d5030498c3c46fd82758561042 | |
parent | 4c2bbbf5528a0cdfb9cd734d6f3e0fd5015695cd [diff] | |
parent | ca8b270063159cc3c1170e9ed9423433aaf45680 [diff] |
Merge "Collapse Notification panel after tapping CLEAR ALL button" am: ca8b270063 Change-Id: I3ce745ab3546fa93aa0cafa7874b8449e6d2cfc9
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 982155c..83880e1 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java
@@ -1512,6 +1512,11 @@ } }; + if (hideAnimatedList.isEmpty()) { + animationFinishAction.run(); + return; + } + // let's disable our normal animations mStackScroller.setDismissAllInProgress(true);