diff options
Diffstat (limited to 'test-runner')
-rw-r--r-- | test-runner/src/android/test/mock/MockContext.java | 1 | ||||
-rw-r--r-- | test-runner/src/android/test/mock/MockPackageManager.java | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/test-runner/src/android/test/mock/MockContext.java b/test-runner/src/android/test/mock/MockContext.java index 1f54e46..98e6053 100644 --- a/test-runner/src/android/test/mock/MockContext.java +++ b/test-runner/src/android/test/mock/MockContext.java @@ -431,6 +431,7 @@ public class MockContext extends Context { throw new UnsupportedOperationException(); } + /** @hide */ @Override public boolean isPrivacyGuardEnabled() { throw new UnsupportedOperationException(); diff --git a/test-runner/src/android/test/mock/MockPackageManager.java b/test-runner/src/android/test/mock/MockPackageManager.java index 3d5c3e2..26efc87 100644 --- a/test-runner/src/android/test/mock/MockPackageManager.java +++ b/test-runner/src/android/test/mock/MockPackageManager.java @@ -492,11 +492,13 @@ public class MockPackageManager extends PackageManager { throw new UnsupportedOperationException(); } + /** @hide */ @Override public void setPrivacyGuardSetting(String packageName, boolean enabled) { throw new UnsupportedOperationException(); } + /** @hide */ @Override public boolean getPrivacyGuardSetting(String packageName) { throw new UnsupportedOperationException(); |