commit | 3a13366e00567e82aff9ada146e4d79bfccc4240 | [log] [tgz] |
---|---|---|
author | vadimt <vadimt@google.com> | Fri Oct 18 12:43:10 2019 -0700 |
committer | vadimt <vadimt@google.com> | Fri Oct 18 12:43:10 2019 -0700 |
tree | a34f1cc8513cddb132fafbf60dec0d643b82bd53 | |
parent | 8625d0d8e78876747fb59c2930ee95ee58c9bd75 [diff] |
Restoring 10-sec wait for model initialization Will see if ag/9573576 fixed long model loading Bug: 136278866 Bug: 142514365 Change-Id: If0dc61faff00683cf3248c127a64ff5b065f9ae4
diff --git a/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java b/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java index 41a4bdb..484cbb6 100644 --- a/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java +++ b/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java
@@ -497,9 +497,7 @@ } public void waitForLauncherInitialized() { - // b/136278866 - final int attempts = android.os.Build.MODEL.contains("Cuttlefish") ? 600 : 100; - for (int i = 0; i < attempts; ++i) { + for (int i = 0; i < 100; ++i) { if (getTestInfo( TestProtocol.REQUEST_IS_LAUNCHER_INITIALIZED). getBoolean(TestProtocol.TEST_INFO_RESPONSE_FIELD)) {