summaryrefslogtreecommitdiffstats
path: root/test-runner
diff options
context:
space:
mode:
authorSteve Kondik <shade@chemlab.org>2013-06-24 13:09:36 -0700
committerSteve Kondik <shade@chemlab.org>2013-06-24 13:09:36 -0700
commitcdd37b577638d7c938f8f8d345a8709fb3de1f26 (patch)
treefd837482b766dd76f2c15067014b95071962aa51 /test-runner
parent2b3058440166e06211d5f4f907a9ca686c745afb (diff)
downloadframeworks_base-cdd37b577638d7c938f8f8d345a8709fb3de1f26.zip
frameworks_base-cdd37b577638d7c938f8f8d345a8709fb3de1f26.tar.gz
frameworks_base-cdd37b577638d7c938f8f8d345a8709fb3de1f26.tar.bz2
Add missing @hide annotations for Privacy Guard
Change-Id: I6072ed2d3ac05382f9cabbada0c42cea6cbe2422
Diffstat (limited to 'test-runner')
-rw-r--r--test-runner/src/android/test/mock/MockContext.java1
-rw-r--r--test-runner/src/android/test/mock/MockPackageManager.java2
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();