seedvault icon indicating copy to clipboard operation
seedvault copied to clipboard

Skip installing APKs if not allowed by policy

Open chirayudesai opened this issue 2 years ago • 1 comments

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"

chirayudesai avatar Jan 12 '23 20:01 chirayudesai

Downstream tracking issue: https://gitlab.com/CalyxOS/calyxos/-/issues/1519

t-m-w avatar Mar 01 '23 20:03 t-m-w

Still needs testing :)

chirayudesai avatar Apr 16 '24 13:04 chirayudesai

Rebased, one trivial conflict in tests fixed.

chirayudesai avatar May 14 '24 15:05 chirayudesai

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).

chirayudesai avatar May 14 '24 15:05 chirayudesai

that test failure happens everywhere, we don't know why.

grote avatar May 14 '24 16:05 grote