mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-02 00:36:49 +00:00
Increase wait times in TAPL
This helps to avoid misleading errors when the system has performance problems. Test: presubmit Bug: 179392551 Change-Id: I4de3c543f32f41af64bd6107885df82b03973d35
This commit is contained in:
@@ -18,7 +18,6 @@ package com.android.launcher3.ui;
|
||||
import static com.android.launcher3.LauncherState.ALL_APPS;
|
||||
import static com.android.launcher3.LauncherState.NORMAL;
|
||||
import static com.android.launcher3.allapps.AllAppsStore.DEFER_UPDATES_TEST;
|
||||
import static com.android.launcher3.tapl.LauncherInstrumentation.LONG_WAIT_TIME_MS;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.Assert.assertTrue;
|
||||
@@ -37,6 +36,7 @@ import com.android.launcher3.allapps.AllAppsContainerView;
|
||||
import com.android.launcher3.allapps.AllAppsPagedView;
|
||||
import com.android.launcher3.allapps.WorkModeSwitch;
|
||||
import com.android.launcher3.dragndrop.DragLayer;
|
||||
import com.android.launcher3.tapl.LauncherInstrumentation;
|
||||
import com.android.launcher3.testing.TestProtocol;
|
||||
import com.android.launcher3.views.WorkEduView;
|
||||
|
||||
@@ -147,7 +147,7 @@ public class WorkTabTest extends AbstractLauncherUiTest {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}, LONG_WAIT_TIME_MS);
|
||||
}, LauncherInstrumentation.WAIT_TIME_MS);
|
||||
|
||||
executeOnLauncher(launcher -> launcher.getStateManager().goToState(ALL_APPS));
|
||||
WorkEduView workEduView = getEduView();
|
||||
|
||||
Reference in New Issue
Block a user