Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fe67c6be authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix NPE in FlingToDeleteHelper" into sc-dev

parents a9bb9394 2839c20c
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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) {