summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetManager.cpp
diff options
context:
space:
mode:
author Ats Jenk <atsjenk@google.com> 2025-02-24 13:25:43 -0800
committer Ats Jenk <atsjenk@google.com> 2025-02-24 13:25:43 -0800
commit1dea65a15a4b29239e160277178bb64c26712db1 (patch)
treedb3fabe0a84e9557b6856d3ec0080f02f0836c2c /libs/androidfw/AssetManager.cpp
parent0f6a916598378e5d021c170035e97176583611fd (diff)
Skip expanded view layout updates while animating
Do not modify bubble bar expanded view layout properties while it is animating. This was causing problems when converting a task to a bubble. After ag/31701472 we immediately start the animation to convert a task to bubble. And have launcher show the bubble bar in parallel. After launcher has shown the bubble bar, it will attempt to update the expanded view with the latest bubble bar top coordinate. If this happens while the convert to bubble animation is running, it will interrupt the animation progress. Previously it was not a problem as we were waiting for launcher to complete its work. Before starting the convert to bubble animation. Added a check to not update the bubble bar expanded view layout while an animation is playing. There is still a jump-cut at the end of animation where the size of the expanded view gets adjusted. That will be addressed as part of animation improvements. Bug: 396449031 Test: atest WMShellMultivalentTestsOnDevice:com.android.wm.shell.bubbles.bar.BubbleBarLayerViewTest Test: atest WMShellRobolectricTests:com.android.wm.shell.bubbles.bar.BubbleBarLayerViewTest Flag: com.android.wm.shell.enable_bubble_bar Change-Id: Ibacd56459de0b7fc0897bacc7a00f927c4590e91
Diffstat (limited to 'libs/androidfw/AssetManager.cpp')
0 files changed, 0 insertions, 0 deletions