Separate allow lists for profile and full non-system users.
This change does 2 things - > Separate Backup helper allow lists for profile and full non-system users Due to the work supporting the new headless config (aka 'main' user) we are adding new helpers to the multi-user allowlist in SystemBackupAgent. This allowlist was effectively for work profile so these helpers will start running for profile users as well. Since it might not make sense for all helpers to run for profile user, this CL separates the allowlists. > Separate Backup Eligibility allow lists for profile and full non-system users. Due to the work supporting the new headless config (aka 'main' user) we are adding new packages to the multi-user allowlist in BackupEligibilityRules. This allowlist was effectively for work profile so these packages will start getting backed up for profile users as well. Since it does not make sense for all those packages to be backed up for profile user, this CL separates the allowlists. Bug: 265142782 Test: atest SystemBackupAgentTest Manual by running `adb shell bmgr backupnow android` for a system, profile, and full non-system user and verifying only the correct helpers are added via IntelliJ debugger. atest BackupEligibilityRulesTest Change-Id: I6115d8ef56629293eac0885d9db98da2a5f916bb
Loading
Please register or sign in to comment