diff options
| author | 2024-06-04 10:51:05 -0700 | |
|---|---|---|
| committer | 2024-06-04 10:51:22 -0700 | |
| commit | ef8bcc8b3766cae2d3efa8ce3835e8cb89b4baf2 (patch) | |
| tree | 27735f44b62a52d9064cd585460449e10218726d | |
| parent | b149247fbd15664d88a6ddf1e3f48096a3f244cc (diff) | |
Fix app clips for bubble bar
Flag: com.android.wm.shell.bubble_bar
Test: none
Bug: 343753351
Change-Id: I1eab738f9f800252b5a99d629702d1a6e1b10b04
| -rw-r--r-- | libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleTaskViewHelper.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleTaskViewHelper.java b/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleTaskViewHelper.java index 21b70b8e32da..0b66bcb6930e 100644 --- a/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleTaskViewHelper.java +++ b/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleTaskViewHelper.java @@ -161,6 +161,11 @@ public class BubbleTaskViewHelper { // The taskId is saved to use for removeTask, preventing appearance in recent tasks. mTaskId = taskId; + if (mBubble != null && mBubble.isAppBubble()) { + // Let the controller know sooner what the taskId is. + mExpandedViewManager.setAppBubbleTaskId(mBubble.getKey(), mTaskId); + } + // With the task org, the taskAppeared callback will only happen once the task has // already drawn mListener.onTaskCreated(); |