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

Commit 213b30ef authored by Chris Tate's avatar Chris Tate
Browse files

Fix drags from the shirt pocket

startDrag() may only be called by/on a view that is in the window that
is currently being touched.

Change-Id: I5de158578dd3f75b5069e5af4f0726576adac4d4
parent 9d210672
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -169,7 +169,7 @@ public class ShirtPocket extends FrameLayout {
                        thumb = new DragThumbnailBuilder(mWindow.findViewById(R.id.preview));
                    }

                    ShirtPocket.this.startDrag(clip, thumb, false);
                    v.startDrag(clip, thumb, false);

                    // TODO: only discard the clipping if it was accepted
                    stash(null);