commit | 6855cabd98984e03033a5c936905f517be0c3655 | [log] [tgz] |
---|---|---|
author | Joshua Tsuji <tsuji@google.com> | Thu Apr 16 01:05:39 2020 -0400 |
committer | Joshua Tsuji <tsuji@google.com> | Tue Apr 21 10:58:53 2020 -0400 |
tree | 1bcd56b386b718bae665e3d1e2ebb11b59fb6eb6 | |
parent | ce316be9911ec9ccc48049a4e9a0504a0b07a44c [diff] [blame] |
Add the Manage menu! Now you can dismiss, un-bubble :(, or manage the settings of your bubbles. Test: manual Bug: 143173197 Change-Id: I4c90bdab3f3f61646153ce615fa257bc64ed8a17
diff --git a/packages/SystemUI/src/com/android/systemui/bubbles/BubbleController.java b/packages/SystemUI/src/com/android/systemui/bubbles/BubbleController.java index c6883c8..e488cf2 100644 --- a/packages/SystemUI/src/com/android/systemui/bubbles/BubbleController.java +++ b/packages/SystemUI/src/com/android/systemui/bubbles/BubbleController.java
@@ -605,6 +605,9 @@ if (mExpandListener != null) { mStackView.setExpandListener(mExpandListener); } + + mStackView.setUnbubbleConversationCallback(notificationEntry -> + onUserChangedBubble(notificationEntry, false /* shouldBubble */)); } }