diff options
| author | 2023-10-26 10:52:06 +0000 | |
|---|---|---|
| committer | 2023-12-07 15:59:38 +0000 | |
| commit | c30ecdc7437d83abb0e0bf7990e20d7eba15425a (patch) | |
| tree | 2f8ac303a95653d92762949d7c3999cfb3a0702c /api/api.go | |
| parent | 874cb8e5053e50c7551ed37c04c2a179dfaddf95 (diff) | |
Update Special App Access Compose Components for ECM
This is the first in a series of changes to wire up all app settings to
be ECM restrictable. We introduce a new method in
RestrictedLockUtilsInternal which determines whether or not a setting is
restricted based on a passed in key. It currently duplicates the current
implementation, but will eventually be replaced by a call to permissions
mainline.
The settings under SpaPrivileged are then updated to have a new
BlockedByEcm which is decided by the RestrictedLockUtilsInternal call.
Enable ECM restrictions for Usage Access and Device Admin
Bug: 297372999
Test: Manually tested on device. Automated Tests at end of chain
Change-Id: I4da9cb3309723682101b7c40af4e66683e5917e7
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions