summaryrefslogtreecommitdiff
path: root/test-mock
diff options
context:
space:
mode:
authorHai Zhang <zhanghai@google.com>2021-01-12 17:00:23 -0800
committerHai Zhang <zhanghai@google.com>2021-01-22 14:26:55 -0800
commit84705c4ae303b97e9529325439239dc84a7c73c7 (patch)
tree3c4853dc5733110ff4b68de1b7d0f7ed55ad17a8 /test-mock
parentbd47187f7138579aebe98626f91671870e749731 (diff)
Add necessary system APIs for moving role into module.
- Added Context.getUser() to system API, to allow module framework classes to also implement multi-user support in manager classes. - Added PackageManager.getPermissionControllerPackageName() to system API for RoleControllerManager to know which package to bind to. Bug: 158736025 Test: build Change-Id: If69a97573eb1e676145e0accdfa73fef320aabe7
Diffstat (limited to 'test-mock')
-rw-r--r--test-mock/api/test-current.txt1
1 files changed, 0 insertions, 1 deletions
diff --git a/test-mock/api/test-current.txt b/test-mock/api/test-current.txt
index 79d746a57cc5..531dd7c008fe 100644
--- a/test-mock/api/test-current.txt
+++ b/test-mock/api/test-current.txt
@@ -9,7 +9,6 @@ package android.test.mock {
method public int getInstallReason(String, android.os.UserHandle);
method public java.util.List<android.content.pm.ApplicationInfo> getInstalledApplicationsAsUser(int, int);
method public String[] getNamesForUids(int[]);
- method public String getPermissionControllerPackageName();
method @NonNull public String getServicesSystemSharedLibraryPackageName();
method @NonNull public String getSharedSystemSharedLibraryPackageName();
}