mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 18:58:19 +00:00
Removing view.isInTouchMode() because plaform returns false when
using a mouse on long click. Bug: 38204847 Change-Id: I5b10e8251f4f0a7b148c0404d5939a0fa8325a46
This commit is contained in:
@@ -2098,11 +2098,6 @@ public class Workspace extends PagedView
|
||||
public void startDrag(CellLayout.CellInfo cellInfo, DragOptions options) {
|
||||
View child = cellInfo.cell;
|
||||
|
||||
// Make sure the drag was started by a long press as opposed to a long click.
|
||||
if (!child.isInTouchMode()) {
|
||||
return;
|
||||
}
|
||||
|
||||
mDragInfo = cellInfo;
|
||||
child.setVisibility(INVISIBLE);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user