summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Mady Mellor <madym@google.com> 2023-05-11 20:24:49 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2023-05-11 20:24:49 +0000
commit9edab49c8754392dc00c01504827e55e7f3e8d70 (patch)
tree68467337e34eac3d6e8591fdaf9d55e98f10fa18
parent6cca48d23d91913820a08d8f20427fc630b973ff (diff)
parent9e8e682477b277c56f80f8924f3c2f894a8087eb (diff)
Merge "Make sure we log the last bubble removal" into udc-dev
-rw-r--r--libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleStackView.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleStackView.java b/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleStackView.java
index e7ec7aa164e9..a50d357c157e 100644
--- a/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleStackView.java
+++ b/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleStackView.java
@@ -1791,6 +1791,7 @@ public class BubbleStackView extends FrameLayout
bubble.cleanupViews(); // cleans up the icon view
updateExpandedView(); // resets state for no expanded bubble
});
+ logBubbleEvent(bubble, FrameworkStatsLog.BUBBLE_UICHANGED__ACTION__DISMISSED);
return;
}
// Remove it from the views
@@ -1816,6 +1817,7 @@ public class BubbleStackView extends FrameLayout
// If a bubble is suppressed, it is not attached to the container. Clean it up.
if (bubble.isSuppressed()) {
bubble.cleanupViews();
+ logBubbleEvent(bubble, FrameworkStatsLog.BUBBLE_UICHANGED__ACTION__DISMISSED);
} else {
Log.d(TAG, "was asked to remove Bubble, but didn't find the view! " + bubble);
}