diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/permission/src/com/android/framework/permission/tests/ServiceManagerPermissionTests.java | 5 |
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 30d204f..4098b98 100644 --- a/tests/permission/src/com/android/framework/permission/tests/ServiceManagerPermissionTests.java +++ b/tests/permission/src/com/android/framework/permission/tests/ServiceManagerPermissionTests.java @@ -57,6 +57,11 @@ public class ServiceManagerPermissionTests extends TestCase { public String[] getPackagesForUid(int uid) { return new String[0]; } + + @Override + public boolean isRuntimePermission(String permission) { + return false; + } }; ServiceManagerNative.asInterface(BinderInternal.getContextObject()) .setPermissionController(pc); |