Skip to content

Commit

Permalink
Try to fix issue where our transport doesn't get registered in emulator
Browse files Browse the repository at this point in the history
  • Loading branch information
grote committed May 31, 2024
1 parent 4fc9923 commit 0e8e3b2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/scripts/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 0e8e3b2

Please sign in to comment.