Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d9f49d36 authored by Winson's avatar Winson Committed by android-build-merger
Browse files

Fixing issue with double tap sometimes launching the same task.

am: 5b4e0d2b

* commit '5b4e0d2b':
  Fixing issue with double tap sometimes launching the same task.
parents 83c8d89d 5b4e0d2b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -406,9 +406,9 @@ public class RecentsImpl implements ActivityOptions.OnAnimationFinishedListener
        SystemServicesProxy ssp = Recents.getSystemServices();
        ActivityManager.RunningTaskInfo topTask = ssp.getTopMostTask();
        MutableBoolean topTaskHome = new MutableBoolean(true);
        if (topTask != null && !ssp.isRecentsTopMost(topTask, topTaskHome)) {
            RecentsTaskLoader loader = Recents.getTaskLoader();
            sInstanceLoadPlan = loader.createLoadPlan(mContext);
        if (topTask != null && !ssp.isRecentsTopMost(topTask, topTaskHome)) {
            sInstanceLoadPlan.preloadRawTasks(topTaskHome.value);
            loader.preloadTasks(sInstanceLoadPlan, topTask.id, topTaskHome.value);
            TaskStack stack = sInstanceLoadPlan.getTaskStack();