summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Liran Binyamin <liranb@google.com> 2024-11-14 16:32:02 -0500
committer Liran Binyamin <liranb@google.com> 2024-11-15 15:10:16 -0500
commitdfaaa276d65d87adb3c16c3392ec5051cc174f1a (patch)
tree58ad3d2f7804e591628050f81e6aead68fbefcc8 /libs/androidfw/ResourceTimer.cpp
parentdd5840f5ecf99e91eaf723d64be3a13b101394f0 (diff)
Fix bubble bar expanded view flicker on unfold
Track the task view visibility state in the expanded view and wait for it to be visible with a surface created or recreated before starting the expansion animation. Previously we removed the task view from its previous parent and immediately added it to the new expanded view and made it visible. This caused the task view to flicker and the expanded view background to be visible while the surface was destroyed and recreated. Flag: com.android.wm.shell.enable_bubble_bar Fixes: 374640759 Test: manual - have a floating bubble - expand it and unfold - observe expanded view animates correctly (with a delay) - add a new bubble to the bubble bar - expand it and observe animation - switch bubbles and observe anination - fold and add a bubble without expanding it - unfold, expand and observe animation Change-Id: I128eddd5df9ef3b722dc449e214f0961e6ac96cb
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions