commit | 3e51bc00f1d34e9864c16328f00b4ed7166a95f9 | [log] [tgz] |
---|---|---|
author | Mark Renouf <mrenouf@google.com> | Tue Jul 16 10:45:57 2019 -0400 |
committer | Mark Renouf <mrenouf@google.com> | Tue Jul 16 10:47:19 2019 -0400 |
tree | aa55e52c689c50d82cb51eced5c0f1a70c68798b | |
parent | 0e86206d844dd994ba20222ff66833cb7d90ae20 [diff] |
Skip notifyDisplayEmpty if no longer the selected bubble Bug: 137214536 Test: Manually: install go/bubbles-app. Click 'add bubble', expand stack, click 'Auto Expand Bubble', select first bubble. Click finish. Change-Id: Ia8c194513a62a32a7c1db4fb01bf943a637adae3
diff --git a/packages/SystemUI/src/com/android/systemui/bubbles/BubbleController.java b/packages/SystemUI/src/com/android/systemui/bubbles/BubbleController.java index d79f651..7d9bb07 100644 --- a/packages/SystemUI/src/com/android/systemui/bubbles/BubbleController.java +++ b/packages/SystemUI/src/com/android/systemui/bubbles/BubbleController.java
@@ -938,8 +938,6 @@ } if (expandedBubble.getDisplayId() == displayId) { mBubbleData.setExpanded(false); - } - if (expandedBubble.getExpandedView() != null) { expandedBubble.getExpandedView().notifyDisplayEmpty(); } }