libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/DisplayDisconnectTransitionHandler.kt
0 → 100644
+78
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
In rare situations, the disconnect transition being animated by DefaultTransitionHandler resulted in crashes, causing CTS tests to fail on actviating the disconnect flag. This CL adds a transition handler that just applies the transactions to avoid them being animated by the default handler. Additionally, this CL tweaks disconnect behavior to remove a desk if it is empty instead of moving it to a desktop-supported display. Bug: 391652399 Test: Manual, atest Flag: com.android.window.flags.enable_display_disconnect_interaction Change-Id: Iaeeaa8cf28e57e6c5a65b8fe6f92abaa8db3427e