summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Mady Mellor <madym@google.com> 2023-05-12 11:54:05 -0700
committer Mady Mellor <madym@google.com> 2023-05-12 12:41:58 -0700
commit4ab85f3d6fced3b32d0a330e2fef7d2f96d37d79 (patch)
treef1acd6502c2896be6035499b2c1dc4b761d63fe8 /libs/androidfw/StringPool.cpp
parent207bc54d297ec38e46e10aed6541cb49b9aa3684 (diff)
Fix misplaced surface from fold -> unfold while bubbles are expanded
This also fixes the surface being misplaced when the theme changes. When setBounds is called in TaskViewTransitions we were skipping creating a new transition whenever there was anything pending. Instead, we should only skip if the pending in flight is for that task view AND an opening type transit, otherwise the bounds never get updated until the next open / if a bounds change is sent without any other pending. Test: manual - have an expanded bubble on folded device, unfold => ensure the expanded view is fully visible - have an expanded bubble & change the theme via QS => ensure the expanded view is properly placed - test various bubble animations: expand, collapse, switch, new bubble, dismissing while expanded, rotation and ensure they all look fine. Test: atest TaskViewTransitionTest Bug: 281855397 Bug: 280440749 Change-Id: I43cbb90bdfbe90bf068c5de21d060193aa38c96f
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions