Merge "Fix NPE in FlingToDeleteHelper" into sc-dev
This commit is contained in:
commit
fe67c6be0b
1 file changed
+3
@@ -65,6 +65,9 @@ public class FlingToDeleteHelper {
|
||||
}
|
||||
|
||||
public Runnable getFlingAnimation(DropTarget.DragObject dragObject, DragOptions options) {
|
||||
if (options == null) {
|
||||
return null;
|
||||
}
|
||||
PointF vel = isFlingingToDelete();
|
||||
options.isFlingToDelete = vel != null;
|
||||
if (!options.isFlingToDelete) {
|
||||
|
||||
Reference in new issue
Block a user