mirror of
https://github.com/HQarroum/docker-android.git
synced 2026-07-30 03:12:18 +00:00
Updated the message associated with the Android logs
This commit is contained in:
@@ -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"
|
||||
}
|
||||
@@ -38,4 +38,4 @@ emulator \
|
||||
-no-window \
|
||||
-no-snapshot-save \
|
||||
-qemu \
|
||||
-enable-kvm || update_state "stopped"
|
||||
-enable-kvm || update_state "ANDROID_STOPPED"
|
||||
|
||||
Reference in New Issue
Block a user