diff options
| author | 2019-12-06 16:33:48 +0000 | |
|---|---|---|
| committer | 2020-01-09 12:04:04 +0000 | |
| commit | 67ac7c676034df28397be43c658a4ad6e4b0396b (patch) | |
| tree | 0150152d28ad2d8d2603152125a685a3df8ece14 /cmds/bootanimation/BootAnimation.cpp | |
| parent | 2ddb0eb5c20e205a1d9e0e6caab45d49633f327b (diff) | |
Give INTERACT_ACROSS_PROFILES parity with _USERS for bindServiceAsUser API
INTERACT_ACROSS_PROFILES should work as a replacement for INTERACT_ACROSS_USERS so we don't have to give privileged system components a permission that is more powerful than is necessary.
Javadoc and annotations of the bindServiceAsUser API will be modified in a subsequent CL.
Unlike INTERACT_ACROSS_USERS, calling an API for a user in a different profile group will throw a SecurityException.
BUG: 140807471
BUG: 136249261
Test: atest ContextCrossProfileHostTest
Test: tested locally that granting the permission allows access to
bindServiceAsUser
Change-Id: I2878067bb2369d26a9ac5504ddd8c0e753f67898
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions