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

Commit bc074017 authored by Satoshi Niwa's avatar Satoshi Niwa
Browse files

Refine backup eligibility for non-main HSUM users

This change restricts TelephonyProvider backup eligibility to only
the main user in an HSUM environment.
BackupEligibilityRules now uses a new helper method to dynamically
select the correct system package allowlist. This differentiates
between the HSUM main user, profile users, and other non-system users,
ensuring TelephonyProvider is excluded for non-main HSUM users.

Added unit tests to confirm behavior for HSUM main/non-main users.

Flag: android.multiuser.backup_activated_for_all_users
Bug: 417649298
Bug: 406114361
Test: atest BackupEligibilityRulesTest
Change-Id: Idb1d83ef677b8422a02b38d291fb7fa7e56ffe0c
parent 160e1c04
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment