Fix Square Recent button unresponsiveness
This CL adds a fix to prevent OverviewCommandHelper adding and running a new command when a previous command is already running. In some cases OverviewCommandHelper queue gets cleared, ignoring if a command is still running. This behavior allows a new command to be added in the queue and executed right away, even that an old command is still waiting for callback. This results in the queue to be stuck due to an invalid state. To prevent this, we implement the following changes: - Prevent calling onTaskLaunchedInLiveTileMode from RecentsView when recents animation controller is null. - Fix clearPendingCommands to clear only the pending commands from the queue, and not the running command. Fix: 352046797 Flag: EXEMPT bugfix. Test: Manual. Change-Id: Ia6afc86424d298353a7ad6755e9a98275330d4ce
Loading
Please register or sign in to comment