Fix icon shape refresh for widgets list / legacy shortcut black bg issue
Bug: 118085499 Change-Id: Ifc3c711815567f40f109e95bcb76c01f23b4a3a2
This commit is contained in:
@@ -61,6 +61,7 @@ public class BaseIconFactory implements AutoCloseable {
|
||||
|
||||
mCanvas = new Canvas();
|
||||
mCanvas.setDrawFilter(new PaintFlagsDrawFilter(DITHER_FLAG, FILTER_BITMAP_FLAG));
|
||||
clear();
|
||||
}
|
||||
|
||||
protected void clear() {
|
||||
@@ -113,11 +114,6 @@ public class BaseIconFactory implements AutoCloseable {
|
||||
return createBadgedIconBitmap(icon, user, shrinkNonAdaptiveIcons, false, null);
|
||||
}
|
||||
|
||||
public BitmapInfo createBadgedIconBitmap(Drawable icon, UserHandle user,
|
||||
boolean shrinkNonAdaptiveIcons, boolean isInstantApp) {
|
||||
return createBadgedIconBitmap(icon, user, shrinkNonAdaptiveIcons, isInstantApp, null);
|
||||
}
|
||||
|
||||
public BitmapInfo createBadgedIconBitmap(Drawable icon, UserHandle user,
|
||||
int iconAppTargetSdk) {
|
||||
return createBadgedIconBitmap(icon, user, iconAppTargetSdk, false);
|
||||
|
||||
Reference in New Issue
Block a user