summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authoryuemingw <yuemingw@google.com>2019-01-30 17:08:12 +0000
committerYueming Wang <yuemingw@google.com>2019-01-31 02:17:10 +0000
commitdded98f7c4fe51bf97439f186e6921c682c7a305 (patch)
treebea2759452fae5b87d06c278104903f092ab4be3 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parent2348248e8011f89b53ddc08feec70f8b034a4b06 (diff)
Enforce cross profile calendar policies in one place.
Instead of checking dpm policy in primary user and settings value in managed profile user, we'd better check them all in primary user. Calendar provider will need INTERACT_ACROSS_USER_FULL to access settings provider and this permission is not granted to any app in privapp-permissions-platform.xml. So I think it's safer to change isPackageAllowedToAccessCalendar to check both admin policy & settings value. Bug: 123629973 Test: atest CalendarProvider2Test Change-Id: I01bff1317916bac6de72a71a029a2f99dc8e9a0b
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions