mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 08:16:49 +00:00
Previously, whenever a user returned to the same rotation that they had started quickswitch in, we were sending sysui the reset flag(-1) indicating that quickstep was complete instead of sending the rotation of the device the user was in. This was intentional and it worked, however we now always send the active rotation while the user is in a quickswitch session because sysui needs to show the fake home handle for immersive apps, which can occur in any rotation. This state is distinct from not being in quickswitch at all, in which no fake handles are shown. Fixes: 158677967 Change-Id: I910324abf781b4b30fe981139712bcb5b653c318