commit | 08bc42a06ecb207f10dd5b2af00572e491ada447 | [log] [tgz] |
---|---|---|
author | Mark Renouf <mrenouf@google.com> | Thu Mar 07 13:01:59 2019 -0500 |
committer | Mark Renouf <mrenouf@google.com> | Fri Mar 08 16:54:05 2019 -0500 |
tree | 448e249bd6eec6a8e57b9c6c62716acf4c906ad8 | |
parent | 1532ac0e895d43d5bb189b24ff63b76f42cbf9fe [diff] [blame] |
Send deleteIntent when a bubble is dismissed Test: atest BubbleControllerTest Bug: 124381186 Change-Id: Ie332dc394c25a143e75b3f9caa46de6386b392db
diff --git a/packages/SystemUI/src/com/android/systemui/bubbles/BubbleExpandedView.java b/packages/SystemUI/src/com/android/systemui/bubbles/BubbleExpandedView.java index 25ee87a..856b9d6 100644 --- a/packages/SystemUI/src/com/android/systemui/bubbles/BubbleExpandedView.java +++ b/packages/SystemUI/src/com/android/systemui/bubbles/BubbleExpandedView.java
@@ -135,7 +135,8 @@ public void onTaskRemovalStarted(int taskId) { if (mEntry != null) { // Must post because this is called from a binder thread. - post(() -> mBubbleController.removeBubble(mEntry.key)); + post(() -> mBubbleController.removeBubble(mEntry.key, + BubbleController.DISMISS_TASK_FINISHED)); } } };