mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 10:48:19 +00:00
Refactors ButtonDropTarget to add extension data
Also fixes a bug where DeleteDropTarget was logging Remove instead of Cancel. Bug: 78793340 Test: Enable verbose logging and manual test Change-Id: I0f0cfff070eab003ebb745292630bc6ce3243f4d
This commit is contained in:
@@ -45,6 +45,7 @@ import com.android.launcher3.dragndrop.DragController;
|
||||
import com.android.launcher3.dragndrop.DragLayer;
|
||||
import com.android.launcher3.dragndrop.DragOptions;
|
||||
import com.android.launcher3.dragndrop.DragView;
|
||||
import com.android.launcher3.userevent.nano.LauncherLogProto.Target;
|
||||
import com.android.launcher3.util.Themes;
|
||||
import com.android.launcher3.util.Thunk;
|
||||
|
||||
@@ -375,5 +376,5 @@ public abstract class ButtonDropTarget extends TextView
|
||||
return !mText.equals(displayedText);
|
||||
}
|
||||
|
||||
public abstract int getControlTypeForLogging();
|
||||
public abstract Target getDropTargetForLogging();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user