diff options
| author | 2022-07-04 18:36:27 +0000 | |
|---|---|---|
| committer | 2022-08-05 17:39:23 +0000 | |
| commit | c6597405da70c4c57240ed3a54dde6a9e495702c (patch) | |
| tree | 42f7f1f4a8c8ed2ce5dae47bf1473ee3bc40742a /libs/input/PointerController.cpp | |
| parent | 2667ba46023da5967a8eecd310f02168ac6e2982 (diff) | |
Adding Access Control in CrossProfileIntentFilter
Adding field to manage access control on CrossProfileIntentFilter. It
can have 3 values(as of now) (1) ALL, which means any user can
add/modify/remove CrossProfileIntentFilter (2)SYSTEM, which means only
system can add/modify/remove CrossProfileIntentFilter and (3)
SYSTEM_ADD_ONLY,
which means only system can add but no user can modify/remove. The
default would be ALL to ensure there is no impact on OEM/3P
DevicePolicyControllers configuring work profile.The default for clone
profile would be SYSTEM, so that no OEM/3P can add or remove
CrossProfileIntentFilter which may lead to unexpected behaviour for app
cloning.
Bug: 238019465
Test: tested this by flashing the device along with intent redirection
code. Tested adding CrossProfileIntentFilters for owner, work and clone
profile.
Design Document: go/intent-redirection-blue-doc
Change-Id: I3e6c3dcb5d822add9892515a7138def4958cfeb2
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions