diff options
author | Dianne Hackborn <hackbod@google.com> | 2010-08-30 17:42:07 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2010-08-31 18:59:04 -0700 |
commit | 361199b5e742c6635d4d7a03de6cf37b31cf442c (patch) | |
tree | 170d0ba61242ba04a3491a98f894f3a2e416bbe7 /test-runner | |
parent | 22cd420bfa431b4ad55e699afadf109dcc54f201 (diff) | |
download | frameworks_base-361199b5e742c6635d4d7a03de6cf37b31cf442c.zip frameworks_base-361199b5e742c6635d4d7a03de6cf37b31cf442c.tar.gz frameworks_base-361199b5e742c6635d4d7a03de6cf37b31cf442c.tar.bz2 |
Add PackageManager API to get information about a provider component.
Kind-of useful when all you have is a ComponentName.
Change-Id: I9a99f12daabb29e97e882e09c43ca0df70c00651
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 e96173b..f0cbaa0 100644 --- a/test-runner/src/android/test/mock/MockPackageManager.java +++ b/test-runner/src/android/test/mock/MockPackageManager.java @@ -127,6 +127,12 @@ public class MockPackageManager extends PackageManager { } @Override + public ProviderInfo getProviderInfo(ComponentName className, int flags) + throws NameNotFoundException { + throw new UnsupportedOperationException(); + } + + @Override public List<PackageInfo> getInstalledPackages(int flags) { throw new UnsupportedOperationException(); } |