summaryrefslogtreecommitdiff
path: root/api/coverage/tools
diff options
context:
space:
mode:
author Mady Mellor <madym@google.com> 2025-01-31 17:40:17 -0800
committer Mady Mellor <madym@google.com> 2025-02-05 09:35:39 -0800
commitc54de25c242f21348f2d73e6bf9645b842ff5022 (patch)
tree699772e52c668204d0ca81dd8ffabd3c0efb8870 /api/coverage/tools
parentc0d7e90025c9680060de57dfe2e8383248c6a7a4 (diff)
Use the type not the null check to identify a shortcut bubble
The check here was looking for a shortcut bubble from bubble anything. It did this by checking the flag + the presence of a shortcut on the bubble. However, this would be true for chat bubbles as well -- even if the chat isn't based on a shortcut (apps could be using the pending intent API). This led to a bug where we'd use the wrong content to populate the bubble & the app would misbehave. This would only occur when bubble anything is enabled. Flag: com.android.wm.shell.enable_bubble_anything Bug: 385361517 Test: manual - enable bubble anything and expand a signal bubble => observe that it expands correctly Test: WIP -- extracting TaskView.Listener to make make it more testable Change-Id: Id3e95dd9e12ad4a19aacf5e6691b145ac0046680
Diffstat (limited to 'api/coverage/tools')
0 files changed, 0 insertions, 0 deletions