Ensuring that we don't start dragging while another drag is in progress.
Change-Id: If3c5a059407efc3ee9a0c9b1b3b7fb942d3a7664
This commit is contained in:
@@ -234,10 +234,8 @@ public class AllAppsPagedView extends PagedViewWithDraggableItems implements All
|
||||
|
||||
@Override
|
||||
protected boolean beginDragging(View v) {
|
||||
if (!v.isInTouchMode()) {
|
||||
return false;
|
||||
}
|
||||
super.beginDragging(v);
|
||||
if (!v.isInTouchMode()) return false;
|
||||
if (!super.beginDragging(v)) return false;
|
||||
|
||||
// Start drag mode after the item is selected
|
||||
setupDragMode();
|
||||
|
||||
Reference in New Issue
Block a user