summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authoryuemingw <yuemingw@google.com>2018-10-26 18:52:37 +0100
committerYueming Wang <yuemingw@google.com>2018-11-14 19:19:52 +0000
commitfa4381dd0fb7c52879541e4b41bf882406c56907 (patch)
tree3528bc682e3c193eeb71f4926ff100fadc7f99d9 /tools/aapt2/java/JavaClassGenerator.cpp
parent28e1628e82e7da977874675c1f05d6792128f2f4 (diff)
Add extra permissions to CalendarProvider.
Per requirement of cross profile calendar feature, CalendarProvider will need MANAGE_USER to get work profile user, and INTERACT_WITH_USER to access its work profile equivalent. Personal CalendarProvider needs to get the corp user ID, so it needs to call userManager.getUsers() which requires {@link android.Manifest.permission#MANAGE_USERS} permission. We'll maintain a whitelist of packages set by DPC that are granted access to cross profile Uris in CalendarProvider, so random personal apps won't be able to access those Uris. Bug: 118456304 Test: manual Change-Id: I59e4a7f39f9abc69f0dcc7ff03d822b8d44b4dbc
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions