diff options
author | Benjamin Franz <bfranz@google.com> | 2014-10-01 15:38:43 +0100 |
---|---|---|
committer | Benjamin Franz <bfranz@google.com> | 2014-10-03 09:41:08 +0100 |
commit | ec2d48b96d1f95fb266914df294a27c210f8c3f5 (patch) | |
tree | c0f88914e37dfb9a2c0577370bd7b92c63127fea /test-runner | |
parent | 3e9bf6c69330d3e9b0f3d9424814b307532a64e9 (diff) | |
download | frameworks_base-ec2d48b96d1f95fb266914df294a27c210f8c3f5.zip frameworks_base-ec2d48b96d1f95fb266914df294a27c210f8c3f5.tar.gz frameworks_base-ec2d48b96d1f95fb266914df294a27c210f8c3f5.tar.bz2 |
Introduce new API to get an unbadged icon and unbadge permissions.
Bug: 17125560
Change-Id: I61b884186c96cc54dcaf1d3c7ee8f47610fd1d21
Diffstat (limited to 'test-runner')
-rw-r--r-- | test-runner/src/android/test/mock/MockPackageManager.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test-runner/src/android/test/mock/MockPackageManager.java b/test-runner/src/android/test/mock/MockPackageManager.java index afe1d5d..7f1dc71 100644 --- a/test-runner/src/android/test/mock/MockPackageManager.java +++ b/test-runner/src/android/test/mock/MockPackageManager.java @@ -793,4 +793,11 @@ public class MockPackageManager extends PackageManager { public Drawable loadItemIcon(PackageItemInfo itemInfo, ApplicationInfo appInfo) { throw new UnsupportedOperationException(); } + + /** + * @hide + */ + public Drawable loadUnbadgedItemIcon(PackageItemInfo itemInfo, ApplicationInfo appInfo) { + throw new UnsupportedOperationException(); + } } |