summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Mykola Podolian <mpodolian@google.com> 2024-04-24 10:31:11 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2024-04-24 10:31:11 +0000
commite529616f527372a2ddf5b7e233e94c8c5d814b94 (patch)
treed706db46320ec27a6858a3fecc712e1e9adb07a9
parentd9783022951352504e0a5bec885823ec11aa02d0 (diff)
parent2fbbe6c1506bc4852c74e84e6ef1a913160c1078 (diff)
Merge "Fixed bubble still has the caption inset." into main
-rw-r--r--libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleExpandedView.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleExpandedView.java b/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleExpandedView.java
index 74f087b6d8f8..0b3c2ba37caf 100644
--- a/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleExpandedView.java
+++ b/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleExpandedView.java
@@ -446,6 +446,8 @@ public class BubbleExpandedView extends LinearLayout {
mManageButton.setVisibility(GONE);
} else {
mTaskView = bubbleTaskView.getTaskView();
+ // reset the insets that might left after TaskView is shown in BubbleBarExpandedView
+ mTaskView.setCaptionInsets(null);
bubbleTaskView.setDelegateListener(mTaskViewListener);
// set a fixed width so it is not recalculated as part of a rotation. the width will be