OSDN Git Service

Allow system to retrieve permission grant state
authorBartosz Fabianowski <bartfab@google.com>
Mon, 16 Jan 2017 10:47:28 +0000 (11:47 +0100)
committerBartosz Fabianowski <bartfab@google.com>
Wed, 18 Jan 2017 17:22:50 +0000 (18:22 +0100)
commit4b0624fee452138951de919bbe74003258e9bc19
tree78fca8647891101dee35208585641870dce6f617
parentb3a20ee45a23cfc65fb09f4a4841270fa885518c
Allow system to retrieve permission grant state

To inform the user which apps were granted permissions by the admin,
the Settings app needs to access this information without being a DO/PO.

Bug: 32692748
Test: FrameworksServicesTests unit test

Change-Id: I3770ec6343b85be9c6f7655675ed6db5cb50612c
core/java/android/app/admin/DevicePolicyManager.java
services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java
services/tests/servicestests/src/com/android/server/devicepolicy/DevicePolicyManagerTest.java