diff options
| author | 2025-01-24 11:53:44 -0800 | |
|---|---|---|
| committer | 2025-01-24 12:00:57 -0800 | |
| commit | f648fee117bb1173ff5a769f88a491b4e2fa8f0b (patch) | |
| tree | 2bcbee36eb2e8cbdcba62f526ebcf341b18023e3 /libs/androidfw/StringPool.cpp | |
| parent | d501cec02c4739ed7c74a9c98170dadfa5902e86 (diff) | |
Make sure bubble bar expanded view size is used before first bubble
When querying the bubble bar expanded view bounds from BubblePositioner,
before a bubble is added, we are returning landscape floating bubble
size.
Only when bubble bar is active, are we returning the bubble bar expanded
view size.
Update this to ensure that even before the first bubble,
getBubbleBarExpandedViewBounds does return bounds for bubble bar
expanded view.
This is needed for dragging the first bubble into bubble bar and showing
the drop target, which is calculated based on bubble bar expanded view
size.
Bug: 388851898
Test: atest BubblePositionerTest
Flag: EXEMPT refactor
Change-Id: Ied9cf2e03bb818c3bf892febe5bd13abe0a2da10
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions