Updated the message associated with the Android logs

This commit is contained in:
Halim Qarroum
2023-02-25 15:50:36 +00:00
parent 8f99859045
commit 4417e1ed7e
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -16,7 +16,7 @@ function update_state() {
# Waits for the emulator to boot and writes
# state updates on the standard output.
function wait_for_boot() {
update_state "booting"
update_state "ANDROID_BOOTING"
# Waiting for the ADB server to start.
while [ -n "$(adb wait-for-device > /dev/null)" ]; do
@@ -30,5 +30,5 @@ function wait_for_boot() {
COMPLETED=$(adb shell getprop sys.boot_completed | tr -d '\r')
sleep 5
done
update_state "booted"
update_state "ANDROID_READY"
}
+1 -1
View File
@@ -38,4 +38,4 @@ emulator \
-no-window \
-no-snapshot-save \
-qemu \
-enable-kvm || update_state "stopped"
-enable-kvm || update_state "ANDROID_STOPPED"