Keep track of multiple TasksIDs and Targets in GestureState
* Quickswitching between fullscreen and split tasks breaks split, need that to be fixed to further test these code changes Bug: 236226779 Change-Id: I332ad6e2d98760ec1d691dae76e8e3ab8b839c75
This commit is contained in:
@@ -115,8 +115,8 @@ public class RecentsAnimationController {
|
||||
* {@link RecentsAnimationCallbacks#onTasksAppeared}}.
|
||||
*/
|
||||
@UiThread
|
||||
public void removeTaskTarget(@NonNull RemoteAnimationTarget target) {
|
||||
UI_HELPER_EXECUTOR.execute(() -> mController.removeTask(target.taskId));
|
||||
public void removeTaskTarget(int targetTaskId) {
|
||||
UI_HELPER_EXECUTOR.execute(() -> mController.removeTask(targetTaskId));
|
||||
}
|
||||
|
||||
@UiThread
|
||||
@@ -167,7 +167,6 @@ public class RecentsAnimationController {
|
||||
/* event= */ "finishRecentsAnimation",
|
||||
/* extras= */ toRecents,
|
||||
/* gestureEvent= */ FINISH_RECENTS_ANIMATION);
|
||||
|
||||
// Finish not yet requested
|
||||
mFinishRequested = true;
|
||||
mFinishTargetIsLauncher = toRecents;
|
||||
|
||||
Reference in New Issue
Block a user