mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-02 17:06:49 +00:00
Ensuring that we don't start dragging while another drag is in progress.
Change-Id: If3c5a059407efc3ee9a0c9b1b3b7fb942d3a7664
This commit is contained in:
@@ -50,8 +50,9 @@ public abstract class PagedViewWithDraggableItems extends PagedView
|
||||
}
|
||||
|
||||
protected boolean beginDragging(View v) {
|
||||
boolean wasDragging = mIsDragging;
|
||||
mIsDragging = true;
|
||||
return false;
|
||||
return !wasDragging;
|
||||
}
|
||||
|
||||
protected void cancelDragging() {
|
||||
|
||||
Reference in New Issue
Block a user