diff options
author | Dianne Hackborn <hackbod@google.com> | 2010-02-11 15:57:09 -0800 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2010-02-11 20:02:20 -0800 |
commit | 470969346d7958f859d97d1a136b4ecc11e2a464 (patch) | |
tree | c9c1ec33c9b3dd2463ffa4b7704cd87e1a12ca9c /test-runner | |
parent | b509065a586d11e6800373d0a57f5296428f2d89 (diff) | |
download | frameworks_base-470969346d7958f859d97d1a136b4ecc11e2a464.zip frameworks_base-470969346d7958f859d97d1a136b4ecc11e2a464.tar.gz frameworks_base-470969346d7958f859d97d1a136b4ecc11e2a464.tar.bz2 |
Add APIs for mapping between new and current package names.
This will allow Market and others to find out what the "real" name
of a package is, when it is currently running under the old name of
a previously installed version.
Diffstat (limited to 'test-runner')
-rw-r--r-- | test-runner/android/test/mock/MockPackageManager.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test-runner/android/test/mock/MockPackageManager.java b/test-runner/android/test/mock/MockPackageManager.java index c8339ed..2a4b3f7 100644 --- a/test-runner/android/test/mock/MockPackageManager.java +++ b/test-runner/android/test/mock/MockPackageManager.java @@ -59,6 +59,16 @@ public class MockPackageManager extends PackageManager { } @Override + public String[] currentToCanonicalPackageNames(String[] names) { + throw new UnsupportedOperationException(); + } + + @Override + public String[] canonicalToCurrentPackageNames(String[] names) { + throw new UnsupportedOperationException(); + } + + @Override public Intent getLaunchIntentForPackage(String packageName) { throw new UnsupportedOperationException(); } |