diff options
author | Amith Yamasani <yamasani@google.com> | 2012-08-29 18:41:53 -0700 |
---|---|---|
committer | Amith Yamasani <yamasani@google.com> | 2012-08-30 16:08:23 -0700 |
commit | f203aeef993b0f4ce65c9630d06bbd50a504e89f (patch) | |
tree | f1624ae664c7f882e9f320dadbab4eea52b6a4ad /test-runner | |
parent | b2dd4e87ae8ac6a0402b7a0ed37201f27bcb1b9c (diff) | |
download | frameworks_base-f203aeef993b0f4ce65c9630d06bbd50a504e89f.zip frameworks_base-f203aeef993b0f4ce65c9630d06bbd50a504e89f.tar.gz frameworks_base-f203aeef993b0f4ce65c9630d06bbd50a504e89f.tar.bz2 |
Enforce permissions for calls with specified userId
Fix a couple of places where incorrect userIds were being passed in.
Change-Id: I398c676e0488ff7e584be96e96c8b32652134238
Diffstat (limited to 'test-runner')
-rw-r--r-- | test-runner/src/android/test/mock/MockPackageManager.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test-runner/src/android/test/mock/MockPackageManager.java b/test-runner/src/android/test/mock/MockPackageManager.java index 562f286..19eb8d2 100644 --- a/test-runner/src/android/test/mock/MockPackageManager.java +++ b/test-runner/src/android/test/mock/MockPackageManager.java @@ -226,6 +226,12 @@ public class MockPackageManager extends PackageManager { throw new UnsupportedOperationException(); } + /** @hide */ + @Override + public List<ResolveInfo> queryBroadcastReceivers(Intent intent, int flags, int userId) { + throw new UnsupportedOperationException(); + } + @Override public ResolveInfo resolveService(Intent intent, int flags) { throw new UnsupportedOperationException(); |