summaryrefslogtreecommitdiffstats
path: root/test-runner
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2012-09-23 13:22:26 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-09-23 13:22:27 -0700
commit11820f7386ce86fd89e9e6b49d9231dce6e1ed07 (patch)
tree9437ce9ba5b311f4b95c05121a9df6ec7f062379 /test-runner
parentb939e35274334d1f5e71a526efe8d235eb6d7387 (diff)
parent6d51571835737c7502a2e111ee9dc2527ebad984 (diff)
downloadframeworks_base-11820f7386ce86fd89e9e6b49d9231dce6e1ed07.zip
frameworks_base-11820f7386ce86fd89e9e6b49d9231dce6e1ed07.tar.gz
frameworks_base-11820f7386ce86fd89e9e6b49d9231dce6e1ed07.tar.bz2
Merge "Allow acquiring ContentProviders across users." into jb-mr1-dev
Diffstat (limited to 'test-runner')
-rw-r--r--test-runner/src/android/test/mock/MockContext.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/test-runner/src/android/test/mock/MockContext.java b/test-runner/src/android/test/mock/MockContext.java
index 5c9282e..1f815e7 100644
--- a/test-runner/src/android/test/mock/MockContext.java
+++ b/test-runner/src/android/test/mock/MockContext.java
@@ -523,6 +523,13 @@ public class MockContext extends Context {
throw new UnsupportedOperationException();
}
+ /** {@hide} */
+ @Override
+ public Context createPackageContextAsUser(String packageName, int flags, UserHandle user)
+ throws PackageManager.NameNotFoundException {
+ throw new UnsupportedOperationException();
+ }
+
@Override
public Context createConfigurationContext(Configuration overrideConfiguration) {
throw new UnsupportedOperationException();