summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Jorge Gil <jorgegil@google.com> 2024-01-27 03:38:46 +0000
committer Jorge Gil <jorgegil@google.com> 2024-01-29 17:53:47 +0000
commite1dc10583bcf701a583485c0bd596b1d0d8f88e0 (patch)
treed25f95abe4d9da4fc4ae5dec106071e609795e84 /libs/androidfw/FileStream.cpp
parent6561d91ebd2376fbd822d75f939c7f7d203bbec0 (diff)
Cancel veil animations on dispose
The veil animations may be ongoing when a window decoration is destroyed and thus its veil surface is released, which leads to an NPE since the surface has been removed and made null by the time the animator tries to update it. This change cancels any animations before the surface is released to prevent the crash. Bug: 322570124 Test: drag a freeform task to split-left, open another app to split-right, drag the left task from the handle into the split-left visual indicator, verify no crash. Change-Id: Ibce242104aa6fa46b57ed3b1fe36128ae34c97bf
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions