mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
Tagging where ItemInfos are created for debug purposes
Change-Id: Iad3ed8ef4f81f4990c027ab46fd25b03b089babb
This commit is contained in:
@@ -28,6 +28,10 @@ class PendingAddItemInfo extends ItemInfo {
|
||||
* The component that will be created.
|
||||
*/
|
||||
ComponentName componentName;
|
||||
|
||||
public PendingAddItemInfo(String whereCreated) {
|
||||
super(whereCreated);
|
||||
}
|
||||
}
|
||||
|
||||
class PendingAddWidgetInfo extends PendingAddItemInfo {
|
||||
@@ -39,7 +43,9 @@ class PendingAddWidgetInfo extends PendingAddItemInfo {
|
||||
String mimeType;
|
||||
Parcelable configurationData;
|
||||
|
||||
public PendingAddWidgetInfo(AppWidgetProviderInfo i, String dataMimeType, Parcelable data) {
|
||||
public PendingAddWidgetInfo(
|
||||
AppWidgetProviderInfo i, String dataMimeType, Parcelable data, String whereCreated) {
|
||||
super(whereCreated);
|
||||
itemType = LauncherSettings.Favorites.ITEM_TYPE_APPWIDGET;
|
||||
componentName = i.provider;
|
||||
minWidth = i.minWidth;
|
||||
|
||||
Reference in New Issue
Block a user