summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Winson Chung <winsonc@google.com> 2024-02-29 05:39:37 +0000
committer Winson Chung <winsonc@google.com> 2024-03-01 03:26:03 +0000
commit615e4aaa7743b1fae64729bc4ddfee62499b3940 (patch)
treeb5f09261398c76b242bce7cc03c6d02b498c6f16 /libs/androidfw/StringPool.cpp
parenta9a83eed92731255899741e5b8dd011704cc479c (diff)
Cancel running split decor animations before finishing the current resize transition
- One possible flow for this: 1) play a pending split resize animation with a transition that includes a snapshot -> this creates a SplitDecorManager animation which directly animates the snapshot leash 2) have another resize which triggers setup of a new pending resize animation -> this cancels the current animation which cleans up/ releases the existing transition's surfaces, but nothing notifies SplitDecorManager, so that animation continues to play 3) Next frame comes in, SplitDecorManager's animation tries to update the surface that has already been released -> crash - This change just cancels any existing animations (which will remove the decor) before creating a new pending resize animation and finishing the previous transition Fixes: 325306101 Test: Presubmit (not reproducible) Change-Id: Id77f02871bfd684e8dd814b3a38a94e06049e210
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions