mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-27 23:36:47 +00:00
Waiting for Normal state when closing Overview by touching outside of first task
Bug: 313926097 Flag: N/A Test: presubmit Change-Id: I99f54beaf94cb138eb7643e5652b88e846e81f3f
This commit is contained in:
@@ -173,9 +173,12 @@ public class BaseOverview extends LauncherInstrumentation.VisibleContainer {
|
||||
|
||||
OverviewTask currentTask = flingToFirstTask();
|
||||
|
||||
mLauncher.touchOutsideContainer(currentTask.getUiObject(),
|
||||
/* tapRight= */ true,
|
||||
/* halfwayToEdge= */ false);
|
||||
mLauncher.runToState(
|
||||
() -> mLauncher.touchOutsideContainer(currentTask.getUiObject(),
|
||||
/* tapRight= */ true,
|
||||
/* halfwayToEdge= */ false),
|
||||
NORMAL_STATE_ORDINAL,
|
||||
"touching outside of first task");
|
||||
|
||||
return new Workspace(mLauncher);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user