summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Robin Lee <rgl@google.com> 2023-06-12 20:06:48 +0200
committer Robin Lee <rgl@google.com> 2023-06-12 20:11:12 +0200
commit0f533e914b40b2d8e5a956fe9622230c5ef8702c (patch)
tree02715ebc093743fd73c63ef305e35a82f2d2dd2d /libs/androidfw/FileStream.cpp
parent522646d7ee00ece981d7bd4425c146f7b2a5c7db (diff)
Fix re-entrant issue in Keyguard / Mixed handler
We need to: - Increment mInFlightSubAnimations optimistically before startAnimation because it might immediately call back before even returning true, which is allowed. If it doesn't do this and returns false instead, no problem; we'll just decrement it again. - Post finish callback from Keyguard's "Remote" Transitions (which are just remote for API compatibility and execute synchronously in the same process) so that housekeeping from startAnimation can be guaranteed to finish before the onFinish callback comes back around Bug: 286242775 Bug: 286507622 # to be confirmed Test: atest WMShellUnitTests:ShellTransitionTests Test: atest KeyguardTests Change-Id: Ida3035f1a99992a1309033ffdd7498298e44e81f
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions