Add contactsbackup permissions to test emulator

This commit is contained in:
Steve Soltys 2024-09-25 21:38:50 +00:00 committed by Torsten Grote
parent 315e0736f5
commit 8234cd8196
No known key found for this signature in database
GPG key ID: 3E5F77D92CF891FF

View file

@ -44,6 +44,7 @@ instrumentation_tests_task:
adb push app/build/outputs/apk/release/app-release.apk /system/priv-app/Seedvault/Seedvault.apk;
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;
adb push contactsbackup/default-permissions_org.calyxos.backup.contacts.xml /system/etc/default-permissions/default-permissions_org.calyxos.backup.contacts.xml;
adb shell bmgr enable true;
adb reboot;
adb wait-for-device shell 'while [[ -z $(getprop sys.boot_completed) ]]; do sleep 1; done;';