summaryrefslogtreecommitdiff
path: root/ravenwood/scripts/extract-last-soong-commands.py
diff options
context:
space:
mode:
author Eric Lin <ericth@google.com> 2025-03-06 22:27:05 +0800
committer Eric Lin <ericth@google.com> 2025-03-07 00:26:43 +0800
commitc68008ed74b9def9ce15b95ce0f2a6f1f6980d46 (patch)
tree32f5521a2613ebffd1270fbaaec4f227e68d6bda /ravenwood/scripts/extract-last-soong-commands.py
parenta23bc7e5a7e259ebe41753653c4c36f67182c24e (diff)
Fix getTaskId when BubbleTaskViewListener is enabled.
When Flags.enableBubbleTaskViewListener() is enabled, the task ID is stored in BubbleTaskViewListener rather than directly in BubbleExpandedView's mTaskId field. This caused BubbleExpandedView.getTaskId() to return an uninitialized task ID, which broke onActivityRestartAttempt in the BubbleController. The issue occurs because onActivityRestartAttempt in BubbleController retrieves existing bubbles from BubbleData and calls Bubble.getTaskId() on each to find matches. Bubble.getTaskId() depends on BubbleExpandedView.getTaskId(), which was returning an uninitialized value when the flag was enabled. Bug: 272102927 Flag: com.android.wm.shell.enable_bubble_task_view_listener Test: atest WMShellRobolectricTests:BubbleExpandedViewTest Test: atest WMShellMultivalentTestsOnDevice:BubbleExpandedViewTest Change-Id: I0648b2865f9d82f33eac3b1e38b242c7405909f3
Diffstat (limited to 'ravenwood/scripts/extract-last-soong-commands.py')
0 files changed, 0 insertions, 0 deletions