Merge "Make sure we log the last bubble removal" into udc-dev am: 9edab49c87
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23174126 Change-Id: I6e67e906c58ae2811c837fe4bc03f5d3f3ef7e7d Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user