You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if [ "$boot_completed"="1" ] && [ "$dev_boot_completed"="1" ];then
374
408
break
375
409
fi
376
-
sleep 2
410
+
411
+
if [ $((SECONDS - last_log))-ge$status_log_interval ];then
412
+
ba_log "Waiting for emulator $serial to boot (sys.boot_completed=${boot_completed:-<unset>} dev.bootcomplete=${dev_boot_completed:-<unset>} bootanim=${bootanim:-<unset>})"
413
+
last_log=$SECONDS
414
+
fi
415
+
sleep "$poll_interval"
377
416
done
378
-
if [ "$booted"!="1" ];then
379
-
ba_log "Emulator $serial failed to boot within expected time">&2
417
+
418
+
if [ "$boot_completed"!="1" ] || [ "$dev_boot_completed"!="1" ];then
419
+
ba_log "Emulator $serial failed to boot within ${boot_timeout}s (sys.boot_completed=${boot_completed:-<unset>} dev.bootcomplete=${dev_boot_completed:-<unset>} bootanim=${bootanim:-<unset>} state=${device_state:-<unset>})">&2
380
420
return 1
381
421
fi
422
+
382
423
"$ADB_BIN" -s "$serial" shell settings put global window_animation_scale 0 >/dev/null 2>&1||true
383
424
"$ADB_BIN" -s "$serial" shell settings put global transition_animation_scale 0 >/dev/null 2>&1||true
384
425
"$ADB_BIN" -s "$serial" shell settings put global animator_duration_scale 0 >/dev/null 2>&1||true
0 commit comments