Merge "Preventing concurrentmodification exception when dragging a icon with shortcuts from inside a folder" into ub-launcher3-calgary-polish
This commit is contained in:
commit
27d10940d2
1 file changed
+1
-1
@@ -260,7 +260,7 @@ public class DragController implements DragDriver.EventListener, TouchController
|
||||
dragView.show(mMotionDownX, mMotionDownY);
|
||||
mDistanceSinceScroll = 0;
|
||||
|
||||
for (DragListener listener : mListeners) {
|
||||
for (DragListener listener : new ArrayList<>(mListeners)) {
|
||||
listener.onDragStart(mDragObject, mOptions);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user