summaryrefslogtreecommitdiffstats
path: root/test-runner/android/test/mock/MockContext.java
diff options
context:
space:
mode:
Diffstat (limited to 'test-runner/android/test/mock/MockContext.java')
-rw-r--r--test-runner/android/test/mock/MockContext.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/test-runner/android/test/mock/MockContext.java b/test-runner/android/test/mock/MockContext.java
index efc4880..b83a44d 100644
--- a/test-runner/android/test/mock/MockContext.java
+++ b/test-runner/android/test/mock/MockContext.java
@@ -397,4 +397,9 @@ public class MockContext extends Context {
throws PackageManager.NameNotFoundException {
throw new UnsupportedOperationException();
}
+
+ @Override
+ public boolean isRestricted() {
+ throw new UnsupportedOperationException();
+ }
}