From 0e8e3b27f72c261cfb9c51edcea3e689439f9cef Mon Sep 17 00:00:00 2001 From: Torsten Grote Date: Fri, 31 May 2024 16:53:26 -0300 Subject: [PATCH] Try to fix issue where our transport doesn't get registered in emulator --- .github/scripts/run_tests.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/scripts/run_tests.sh b/.github/scripts/run_tests.sh index 7b8d189db..83c6e22b8 100755 --- a/.github/scripts/run_tests.sh +++ b/.github/scripts/run_tests.sh @@ -15,9 +15,12 @@ echo "Installing Seedvault permissions..." adb push permissions_com.stevesoltys.seedvault.xml /system/etc/permissions/privapp-permissions-seedvault.xml adb push allowlist_com.stevesoltys.seedvault.xml /system/etc/sysconfig/allowlist-seedvault.xml +# Install again with package manager to increase chances it registers our transport +adb install app/build/outputs/apk/release/app-release.apk + echo "Setting Seedvault transport..." sleep 10 -adb shell bmgr transport com.stevesoltys.seedvault.transport.ConfigurableBackupTransport +adb shell bmgr transport com.stevesoltys.seedvault.transport.ConfigurableBackupTransport | grep "Unknown transport" && exit 1 D2D_BACKUP_TEST=$1