Remove unnecessary waitForIdle calls
They were added back in times when the code was very different, and we don't need them now. Change-Id: Ie96b081a4f2319c7b58d22ffc410f74e9ab56d94
This commit is contained in:
parent
122d2d9dbb
commit
357e5499a2
|
@ -668,8 +668,6 @@ public final class LauncherInstrumentation {
|
|||
dumpViewHierarchy();
|
||||
log(action = "clicking home button from " + getVisibleStateMessage());
|
||||
try (LauncherInstrumentation.Closable c = addContextLayer(action)) {
|
||||
mDevice.waitForIdle();
|
||||
|
||||
if (!isLauncher3() && getNavigationModel() == NavigationModel.TWO_BUTTON) {
|
||||
expectEvent(TestProtocol.SEQUENCE_TIS, EVENT_TOUCH_DOWN_TIS);
|
||||
expectEvent(TestProtocol.SEQUENCE_TIS, EVENT_TOUCH_UP_TIS);
|
||||
|
@ -681,7 +679,6 @@ public final class LauncherInstrumentation {
|
|||
!hasLauncherObject(WORKSPACE_RES_ID)
|
||||
&& (hasLauncherObject(APPS_RES_ID)
|
||||
|| hasLauncherObject(OVERVIEW_RES_ID)));
|
||||
mDevice.waitForIdle();
|
||||
}
|
||||
}
|
||||
try (LauncherInstrumentation.Closable c = addContextLayer(
|
||||
|
|
Loading…
Reference in New Issue