summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorchaviw <chaviw@google.com>2018-11-13 18:06:56 -0800
committerchaviw <chaviw@google.com>2018-11-14 10:29:13 -0800
commit78a3d46970818a5a42d1437b447d2708b32775c8 (patch)
treeaefce8ce13fcb93cf8385e3055bf4e0584d252c0 /tools/aapt2/java/JavaClassGenerator.cpp
parentd60f2b049c0464561e9959129798de64a7193a0f (diff)
Destroy dim layer in transaction.
Currently the destroy is done outside a transaction, causing the layer to get destroyed while the animation is still holding a reference to it. Instead, call destroy in the transaction to ensure the destroy executes with the other transaction requests that occur at the end of the animation. Specifically, the reparent was occurring after the destroy completed, causing the surface to get reparented and remain around forever. Change-Id: I72c2a6f2a67673fdc2047d78b02a299f64fc44a0 Fixes: 117401895 Test: Repro steps from bug Test: DimmerTests
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions