diff options
author | Adam Powell <adamp@google.com> | 2010-04-21 16:35:18 -0700 |
---|---|---|
committer | Adam Powell <adamp@google.com> | 2010-04-23 15:49:07 -0700 |
commit | 81cd2e90ccdda498234384c8207afe2213714e60 (patch) | |
tree | b521124675b8e4de73b45b24e3ecb9543ff946ea /test-runner | |
parent | 1bdbb07237de7854797ac1574088eef4623eddbb (diff) | |
download | frameworks_base-81cd2e90ccdda498234384c8207afe2213714e60.zip frameworks_base-81cd2e90ccdda498234384c8207afe2213714e60.tar.gz frameworks_base-81cd2e90ccdda498234384c8207afe2213714e60.tar.bz2 |
Logo attribute for manifest and PackageManager methods to fetch it
Change-Id: I2c5ac44a4e2af982a616b2012901d7395013b19f
Diffstat (limited to 'test-runner')
-rw-r--r-- | test-runner/src/android/test/mock/MockPackageManager.java | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/test-runner/src/android/test/mock/MockPackageManager.java b/test-runner/src/android/test/mock/MockPackageManager.java index 4964f03..3e77b9b 100644 --- a/test-runner/src/android/test/mock/MockPackageManager.java +++ b/test-runner/src/android/test/mock/MockPackageManager.java @@ -267,6 +267,26 @@ public class MockPackageManager extends PackageManager { public Drawable getApplicationIcon(String packageName) throws NameNotFoundException { throw new UnsupportedOperationException(); } + + @Override + public Drawable getActivityLogo(ComponentName activityName) throws NameNotFoundException { + throw new UnsupportedOperationException(); + } + + @Override + public Drawable getActivityLogo(Intent intent) throws NameNotFoundException { + throw new UnsupportedOperationException(); + } + + @Override + public Drawable getApplicationLogo(ApplicationInfo info) { + throw new UnsupportedOperationException(); + } + + @Override + public Drawable getApplicationLogo(String packageName) throws NameNotFoundException { + throw new UnsupportedOperationException(); + } @Override public CharSequence getText(String packageName, int resid, ApplicationInfo appInfo) { |