Using UI_HELPER_THREAD for various activity manager interactions

Bug: 170648272
Change-Id: Iec36389be5d747c5dc4d2bb2a8138758d48efa53
This commit is contained in:
Sunny Goyal committed 2020-11-04 22:36:21 +00:00
1 parent b0f897cda8
commit ffa21961bf
9 files changed
+33 -28

No files matched your search

@@ -63,6 +63,7 @@ import com.android.quickstep.RecentsAnimationCallbacks;
import com.android.quickstep.RecentsAnimationDeviceState;
import com.android.quickstep.RotationTouchHelper;
import com.android.quickstep.TaskAnimationManager;
import com.android.quickstep.TaskUtils;
import com.android.quickstep.util.ActiveGestureLog;
import com.android.quickstep.util.CachedEventDispatcher;
import com.android.quickstep.util.MotionPauseDetector;
@@ -362,8 +363,7 @@ public class OtherActivityInputConsumer extends ContextWrapper implements InputC
mInputEventReceiver.setBatchingEnabled(true);
mActivityInterface.closeOverlay();
ActivityManagerWrapper.getInstance().closeSystemWindows(
CLOSE_SYSTEM_WINDOWS_REASON_RECENTS);
TaskUtils.closeSystemWindowsAsync(CLOSE_SYSTEM_WINDOWS_REASON_RECENTS);
// Notify the handler that the gesture has actually started
mInteractionHandler.onGestureStarted(isLikelyToStartNewTask);