Restoring 10-sec wait for model initialization
Will see if ag/9573576 fixed long model loading Bug: 136278866 Bug: 142514365 Change-Id: If0dc61faff00683cf3248c127a64ff5b065f9ae4
This commit is contained in:
parent
8625d0d8e7
commit
3a13366e00
|
@ -497,9 +497,7 @@ public final class LauncherInstrumentation {
|
|||
}
|
||||
|
||||
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)) {
|
||||
|
|
Loading…
Reference in New Issue