This CL updates the DO Disclosures page (aka "Enterprise Privacy")

to make items that shows admin granted permissions actionable.
Item click will result in opening the list of apps for a permission.

Test: make RunSettingsRoboTests
Bug: 32692748

Change-Id: I5f2536b116998810857e379f48a26a1c40055590
This commit is contained in:
Denis Kuznetsov
2017-03-10 16:24:15 +01:00
parent 92ae1f2d8e
commit 9392681afa
9 changed files with 65 additions and 17 deletions

View File

@@ -24,7 +24,8 @@ public class AdminGrantedMicrophonePermissionPreferenceController extends
= "enterprise_privacy_number_microphone_access_packages";
public AdminGrantedMicrophonePermissionPreferenceController(Context context) {
super(context, new String[] {Manifest.permission.RECORD_AUDIO});
super(context, new String[] {Manifest.permission.RECORD_AUDIO},
Manifest.permission_group.MICROPHONE);
}
@Override