Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 702ce6c2 authored by [CSarp Misoglu's avatar [CSarp Misoglu Committed by Piyush Mehrotra
Browse files

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
parent b0199cdb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment