From fa5ecdc4ac6d7a8db2bb9e4a6a60a3189025df30 Mon Sep 17 00:00:00 2001 From: Svet Ganov Date: Tue, 28 Apr 2015 12:03:28 -0700 Subject: Respect the record audio app op - framework Change-Id: I5696d2ef22738ccffaf8bd7a0ee68cbc3dea3bf1 --- .../framework/permission/tests/ServiceManagerPermissionTests.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests') 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); -- cgit v1.1