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

Commit d4155ae6 authored by Gilles Debunne's avatar Gilles Debunne Committed by Android Git Automerger
Browse files

am 0ad4f096: Merge "Patches for the Paste window behavior." into honeycomb

* commit '0ad4f096':
  Patches for the Paste window behavior.
parents 36dad9b8 0ad4f096
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -7364,7 +7364,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener

                    stopSelectionActionMode();
                    boolean selectAllGotFocus = mSelectAllOnFocus && mTouchFocusSelected;
                    if (hasInsertionController() && !selectAllGotFocus) {
                    if (hasInsertionController() && !selectAllGotFocus && mText.length() > 0) {
                        getInsertionController().show();
                    }
                }
@@ -8887,6 +8887,9 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
                    mLastParentX = coords[0];
                    mLastParentY = coords[1];
                    mIsDragging = true;
                    if (mIsInsertionHandle) {
                        mTouchTimer = SystemClock.uptimeMillis();
                    }
                    break;
                }

@@ -9035,6 +9038,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener

            if (offset != previousOffset) {
                updateOffset(handle, offset);
                removePastePopupCallback();
            }
            hideDelayed();
        }