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