summaryrefslogtreecommitdiff
path: root/libs/androidfw/AttributeResolution.cpp
diff options
context:
space:
mode:
author Jorge Gil <jorgegil@google.com> 2024-11-08 01:16:47 +0000
committer Jorge Gil <jorgegil@google.com> 2024-11-08 17:13:06 +0000
commite46f6588380d96aac32ac92189cab50253d7a4a3 (patch)
tree36374a07e6dc6ea4d997dbd23415634124f73d2a /libs/androidfw/AttributeResolution.cpp
parent00d837994c2704714a4a8711449bca3aaceb38c8 (diff)
Fix desktop immersive's state clean up
This change fixes two bugs related to state cleanup: 1) clearState() was called by #animateResizeChange when the animation finished even if the animation was not requested by a transition this handler is tracking (e.g. mixed transitions). To fix this, an end callback is sent to #animateResizeChange instead and only the DesktopImmersiveController#startAnimation call path clears the state when the callback is run. 2) Even when animating transitions handled by this handler, it is possible that its changes do not contain the expected immersive task, in which case there's nothing to animate, but the state should still be cleaned up. Flag: com.android.window.flags.enable_fully_immersive_in_desktop Fix: 376913079 Test: atest WMShellUnitTests Change-Id: Ia7519bcb8e565b699d6b1cefd28869dc44da6413
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions