summaryrefslogtreecommitdiff
path: root/test-mock
diff options
context:
space:
mode:
authorPhilip P. Moltmann <moltmann@google.com>2018-08-31 09:30:18 -0700
committerPhilip P. Moltmann <moltmann@google.com>2018-09-10 16:46:30 -0700
commita4b3022c51dd25bc169dcedeaa9e562cea740bf8 (patch)
tree76984550c6d61c6da13082f4aea1566608d34c74 /test-mock
parentdfa94e444c7e1b1afeb499670c1603b4915bc109 (diff)
Make PackageManager#arePermissionsIndividuallyControlled system-api
The PermissonController is going to become a mainline module, hence it has to compile against @SystemApi. PackageManager#arePermissionsIndividuallyControlled controls how certain permissions are presented in the UI, hence Permission controller needs to read it. The value of this API comes from a config option. Bug: 110953302 Test: Built Change-Id: If78b1bb594af0c85e92abf70ae8315e7ba3f31fa
Diffstat (limited to 'test-mock')
-rw-r--r--test-mock/api/system-current.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/test-mock/api/system-current.txt b/test-mock/api/system-current.txt
index 20401a50b6a2..3bd3d68ba6cf 100644
--- a/test-mock/api/system-current.txt
+++ b/test-mock/api/system-current.txt
@@ -11,6 +11,7 @@ package android.test.mock {
public deprecated class MockPackageManager extends android.content.pm.PackageManager {
method public void addOnPermissionsChangeListener(android.content.pm.PackageManager.OnPermissionsChangedListener);
+ method public boolean arePermissionsIndividuallyControlled();
method public java.util.List<android.content.IntentFilter> getAllIntentFilters(java.lang.String);
method public java.lang.String getDefaultBrowserPackageNameAsUser(int);
method public java.util.List<android.content.pm.PackageInfo> getInstalledPackagesAsUser(int, int);