summaryrefslogtreecommitdiffstats
path: root/tests/permission
diff options
context:
space:
mode:
authorSvet Ganov <svetoslavganov@google.com>2015-04-28 12:03:28 -0700
committerSvetoslav <svetoslavganov@google.com>2015-04-28 16:31:58 -0700
commitfa5ecdc4ac6d7a8db2bb9e4a6a60a3189025df30 (patch)
treeab6c59fa33dd8871ee7580e83dd405f2bf9d4347 /tests/permission
parent50ea942255e139d3ace81cdd3f90be75625edd69 (diff)
downloadframeworks_base-fa5ecdc4ac6d7a8db2bb9e4a6a60a3189025df30.zip
frameworks_base-fa5ecdc4ac6d7a8db2bb9e4a6a60a3189025df30.tar.gz
frameworks_base-fa5ecdc4ac6d7a8db2bb9e4a6a60a3189025df30.tar.bz2
Respect the record audio app op - framework
Change-Id: I5696d2ef22738ccffaf8bd7a0ee68cbc3dea3bf1
Diffstat (limited to 'tests/permission')
-rw-r--r--tests/permission/src/com/android/framework/permission/tests/ServiceManagerPermissionTests.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/permission/src/com/android/framework/permission/tests/ServiceManagerPermissionTests.java b/tests/permission/src/com/android/framework/permission/tests/ServiceManagerPermissionTests.java
index 322b853..30d204f 100644
--- a/tests/permission/src/com/android/framework/permission/tests/ServiceManagerPermissionTests.java
+++ b/tests/permission/src/com/android/framework/permission/tests/ServiceManagerPermissionTests.java
@@ -52,6 +52,11 @@ public class ServiceManagerPermissionTests extends TestCase {
public boolean checkPermission(java.lang.String permission, int pid, int uid) {
return true;
}
+
+ @Override
+ public String[] getPackagesForUid(int uid) {
+ return new String[0];
+ }
};
ServiceManagerNative.asInterface(BinderInternal.getContextObject())
.setPermissionController(pc);