OSDN Git Service

Fixed an issue where the icon wouldn't disappear after launching
authorSelim Cinek <cinek@google.com>
Thu, 8 Feb 2018 22:27:49 +0000 (14:27 -0800)
committerSelim Cinek <cinek@google.com>
Thu, 8 Feb 2018 22:29:15 +0000 (14:29 -0800)
Fixes: 72861358
Test: add notification with auto_cancel and click on it. Observe icon disappearing
Change-Id: I31d0c93b6c1cd926ed7085b2cf812522d67f97e9

packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java

index b519824..d1edeab 100644 (file)
@@ -3856,6 +3856,7 @@ public class StatusBar extends SystemUI implements DemoMode,
 
     private void instantCollapseNotificationPanel() {
         mNotificationPanel.instantCollapse();
+        runPostCollapseRunnables();
     }
 
     @Override
@@ -5019,6 +5020,8 @@ public class StatusBar extends SystemUI implements DemoMode,
         } else if (!isPresenterFullyCollapsed()) {
             instantCollapseNotificationPanel();
             visibilityChanged(false);
+        } else {
+            runPostCollapseRunnables();
         }
     }