Clean up Split Decor on aborted resizing transition
The Split resizing transition could be aborted, for example, when a foldable device is locked while transitioning between folded and unfolded states. This change cleans up the Split Decor in onTransitionConsumed when the transition is aborted to ensure it's released correctly, preventing leaks. This fix addresses a bug where the Split Decor would not be cleaned up properly, resulting in a persistent veil overlay. Bug: 438464320 Flag: EXEMPT bug fix Test: 1. Unfold a foldable device and pin the taskbar. 2. Split two apps at a 10:90 ratio. 3. Fold the device. 4. Unfold the device and verify that the veil overlay has disappeared. 5. Repeat this process multiple times to ensure the issue is consistently resolved. Change-Id: I041f8baa9d9036e64cccde08147b6aec793883df
Loading
Please register or sign in to comment