Updating widget preview generation to not embed any badge.
Instead drawing badge in the view directly. This will allow us to reuse the same preview when we do not want to draw badges. This also simplified badging of shortcut config activities. Change-Id: I9c07c33bf9c2b8ef81a00026b1d42587868c906f
This commit is contained in:
@@ -71,9 +71,6 @@ public abstract class AppWidgetManagerCompat {
|
||||
public abstract void startConfigActivity(AppWidgetProviderInfo info, int widgetId,
|
||||
Activity activity, AppWidgetHost host, int requestCode);
|
||||
|
||||
public abstract Bitmap getBadgeBitmap(LauncherAppWidgetProviderInfo info, Bitmap bitmap,
|
||||
int imageWidth, int imageHeight);
|
||||
|
||||
public abstract LauncherAppWidgetProviderInfo findProvider(
|
||||
ComponentName provider, UserHandle user);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user