mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 01:16:49 +00:00
Refactoring ItemInfo
> Changing dragObject to ItemInfo > Removing dropPos which is always null > Removing requiresDbUpdate which is only used in CellLayout Change-Id: I753ddaae0880c8a9bfee5a1266095ff34610284a
This commit is contained in:
@@ -13,6 +13,7 @@ import com.android.launcher3.AppWidgetResizeFrame;
|
||||
import com.android.launcher3.DragController.DragListener;
|
||||
import com.android.launcher3.DragLayer;
|
||||
import com.android.launcher3.DragSource;
|
||||
import com.android.launcher3.ItemInfo;
|
||||
import com.android.launcher3.Launcher;
|
||||
import com.android.launcher3.LauncherAppWidgetProviderInfo;
|
||||
import com.android.launcher3.compat.AppWidgetManagerCompat;
|
||||
@@ -43,7 +44,7 @@ public class WidgetHostViewLoader implements DragListener {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onDragStart(DragSource source, Object info, int dragAction) { }
|
||||
public void onDragStart(DragSource source, ItemInfo info, int dragAction) { }
|
||||
|
||||
@Override
|
||||
public void onDragEnd() {
|
||||
|
||||
Reference in New Issue
Block a user