summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorSvet Ganov <svetoslavganov@google.com>2015-04-30 10:38:13 -0700
committerSvetoslav <svetoslavganov@google.com>2015-05-01 13:56:04 -0700
commitb9d71a6f89b1183f6389b1774652445a420c6cbf (patch)
treeb6f17102b2f86b40630e4a7cd681721797a8f324 /tests
parent9fc943d1a69f2ab0f6d8285b09aef7e344a1fd1a (diff)
downloadframeworks_base-b9d71a6f89b1183f6389b1774652445a420c6cbf.zip
frameworks_base-b9d71a6f89b1183f6389b1774652445a420c6cbf.tar.gz
frameworks_base-b9d71a6f89b1183f6389b1774652445a420c6cbf.tar.bz2
Add body sensors app op - framework base
Change-Id: Idd5cd573fab3405e5b2a6e51d2d9d115650826e9
Diffstat (limited to 'tests')
-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 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);