Merge "Disable drag and drop on Folder when its animating." into ub-launcher3-master
This commit is contained in:
committed by
Android (Google) Code Review
commit
9cbe86deee
@@ -1085,6 +1085,9 @@ public class Folder extends AbstractFloatingView implements DragSource, View.OnC
|
||||
}
|
||||
|
||||
public boolean isDropEnabled() {
|
||||
if (FeatureFlags.LAUNCHER3_NEW_FOLDER_ANIMATION) {
|
||||
return mState != STATE_ANIMATING;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user