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

Commit 13eeaa6f authored by Yorke Lee's avatar Yorke Lee Committed by Android (Google) Code Review
Browse files

Merge "Fix wrong contact being hidden from favorites" into klp-dev

parents 598e9a68 0719f0c7
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -90,7 +90,9 @@ public class PhoneFavoriteDragAndDropListeners {
                    Math.abs(x2 - x1) > mFlingHorizontalThreshold &&
                    Math.abs(velocityX) > FLING_VELOCITY_MINIMUM) {
                // If fling is triggered successfully, end the scroll and setup removal dialogue.
                final int removeIndex = mView.getParentRow().getItemIndex(x1, y1);

                final int removeIndex = mView.getParentRow().getItemIndex(mView.getLeft() + x1,
                        mView.getTop() + y1);
                mView.setScrollEnd(false);
                mView.setupRemoveDialogue();
                mView.getParentRow().getTileAdapter().setPotentialRemoveEntryIndex(removeIndex);