From 0b021e3b48a236210d82763cebf779cac4259629 Mon Sep 17 00:00:00 2001 From: Torsten Grote Date: Wed, 6 Mar 2024 16:15:01 -0300 Subject: [PATCH] Try to close system dialogs of emulator --- app/development/scripts/provision_emulator.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/development/scripts/provision_emulator.sh b/app/development/scripts/provision_emulator.sh index 284e7082..030eff7a 100755 --- a/app/development/scripts/provision_emulator.sh +++ b/app/development/scripts/provision_emulator.sh @@ -97,4 +97,7 @@ $ADB shell mkdir -p /sdcard/seedvault_baseline $ADB shell tar xzf /sdcard/backup.tar.gz --directory=/sdcard/seedvault_baseline $ADB shell rm /sdcard/backup.tar.gz +# sometimes a system dialog (e.g. launcher stopped) is showing and taking focus +$ADB shell am broadcast -a android.intent.action.CLOSE_SYSTEM_DIALOGS + echo "Emulator '$EMULATOR_NAME' has been provisioned with Seedvault!"