seedvault
seedvault copied to clipboard
Skip installing APKs if not allowed by policy
Issue: #78
When APK install is blocked by policy, this should treat it the same as if the APK just wasn't present, and then use the flow we already have for that ("Tap to install"), which is normally used when people turn off "APK Backup"
Downstream tracking issue: https://gitlab.com/CalyxOS/calyxos/-/issues/1519
Still needs testing :)
Rebased, one trivial conflict in tests fixed.
One test failure:
Task :app:connectedDebugAndroidTest Starting 1 tests on test(AVD) - 14
com.stevesoltys.seedvault.e2e.impl.BackupRestoreTest > backup and restore applications[test(AVD) - 14] FAILED android.content.res.Resources$NotFoundException: Resource ID #0x7f060258 type #0x2 is not valid at android.content.res.Resources.getColor(Resources.java:1076) Tests on test(AVD) - 14 failed: There was 1 failure(s).
that test failure happens everywhere, we don't know why.