File tree Expand file tree Collapse file tree
.github/workflows/scripts/android Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -98,14 +98,13 @@ nohup emulator -no-metrics -partition-size 1024 -memory 4096 -wipe-data -no-wind
9898# wait briefly before starting to poll the emulator
9999sleep 10
100100
101- log " Waiting for Android emulator startup"
102101EMULATOR_CHECK_SECONDS_ELAPSED=0
103102EMULATOR_CHECK_INTERVAL=5 # Seconds between status checks
104103while true ; do
104+ log " Waiting for Android emulator startup ($EMULATOR_CHECK_SECONDS_ELAPSED )"
105105 # Check if the boot is completed
106106 # 'adb shell getprop sys.boot_completed' returns 1 when done
107107 # Ignore failure status since it will fail with "adb: device offline"
108- adb shell getprop sys.boot_completed || true
109108 BOOT_STATUS=$( adb shell getprop sys.boot_completed || true 2> /dev/null | tr -d ' \r' )
110109
111110 if [ " $BOOT_STATUS " == " 1" ]; then
You can’t perform that action at this time.
0 commit comments