diff options
| author | 2025-03-19 12:15:32 -0700 | |
|---|---|---|
| committer | 2025-03-19 12:15:32 -0700 | |
| commit | 149f620ffdf28aead6a159c68d8ea3567876aedb (patch) | |
| tree | d0ef2e7002b115494f5a809343466601628f04b4 /api/api_test.go | |
| parent | 0709b098951b60cfe1235b87be8eb60ba1f226fd (diff) | |
[AAPM] Clean up Multi User scenarios
1. Store AAPM state as system user rather than main user. This is to
account for main user behavior potentially changing in the future.
2. Ensure only admin users can change Advanced Protection State
Bug: 398825840
Test: atest AdvancedProtectionManagerTest AdvancedProtectionServiceTest
Test: manually testing on device
Test: adb shell cmd advanced_protection set-protection-enabled true
Test: on main and secondary users
Flag: android.security.aapm_api
Change-Id: If806626f19954433265520ee8552f6206707587f
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions