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

Commit f9e8d7d0 authored by Yorke Lee's avatar Yorke Lee Committed by Android Git Automerger
Browse files

am 13eeaa6f: Merge "Fix wrong contact being hidden from favorites" into klp-dev

* commit '13eeaa6f':
  Fix wrong contact being hidden from favorites
parents 8bab83c8 13eeaa6f
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);