Adding support in IconProvider for loading different icons for UI and model use
Bug: 62900800 Change-Id: I86e2d77efc7e5fc85b59cf18e634546d098d138f
This commit is contained in:
1 parent
b9465eec45
commit
1da138903b
3 files changed
+11
-4
No files matched your search
@@ -170,7 +170,11 @@ public class IconCache {
|
||||
}
|
||||
|
||||
public Drawable getFullResIcon(LauncherActivityInfo info) {
|
||||
return mIconProvider.getIcon(info, mIconDpi);
|
||||
return getFullResIcon(info, true);
|
||||
}
|
||||
|
||||
public Drawable getFullResIcon(LauncherActivityInfo info, boolean flattenDrawable) {
|
||||
return mIconProvider.getIcon(info, mIconDpi, flattenDrawable);
|
||||
}
|
||||
|
||||
protected Bitmap makeDefaultIcon(UserHandle user) {
|
||||
|
||||
Reference in new issue
Block a user