summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author wilsonshih <wilsonshih@google.com> 2023-06-21 10:29:29 +0800
committer wilsonshih <wilsonshih@google.com> 2023-06-21 10:29:29 +0800
commit1761ec1b50ec69bd4d3beab62220c49f120de1b1 (patch)
treea0d96a2a4aaecff51d6d4e69fde006792a8181e3 /libs/hwui/FrameInfoVisualizer.cpp
parent149fed16dff45bc173b8bf21d7554655bb1004c1 (diff)
Fix no AVD transfer to client when using setOnExitAnimationListener
The reparent transaction of transfer AVD icon to client won't happen when calling VRI#applyTransactionOnDraw during draw section, because that transaction will be deferred into next draw call, and if no extra invalid happen in the view tree, there won't draw another frame. To fix that, call the applyTransactionOnDraw during onPreDraw section, so the transaction can be handled when VRI enter draw section. Bug: 287729934 Test: launch test app which use SplashScreen#setOnExitAnimationListener with a AVD style icon, verify the SurfaceView of AVD can reparent to client's surface hierarchy. Change-Id: I149386543b3449f7e9b98e2f362936a4d2cdd17e
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions