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

Commit c826a693 authored by Leon Scroggins's avatar Leon Scroggins
Browse files

Merge commit '55381217' into manualmerge

Conflicts:
	core/java/android/webkit/WebView.java

Change-Id: I1e93881a55c1d81c1142db03498c68196649b69c
parents 487d9586 55381217
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -370,6 +370,7 @@ import java.util.ArrayList;
            int candEnd = EditableInputConnection.getComposingSpanEnd(sp);
            imm.updateSelection(this, selStart, selEnd, candStart, candEnd);
        }
        updateCursorControllerPositions();
    }

    @Override
+3 −1
Original line number Diff line number Diff line
@@ -3477,7 +3477,9 @@ public class WebView extends AbsoluteLayout
        if (AUTO_REDRAW_HACK && mAutoRedraw) {
            invalidate();
        }
        if (inEditingMode()) mWebTextView.onDrawSubstitute();
        if (inEditingMode()) {
            mWebTextView.onDrawSubstitute();
        }
        mWebViewCore.signalRepaintDone();

        // paint the highlight in the end
+9 −0
Original line number Diff line number Diff line
@@ -4277,6 +4277,15 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener

        canvas.restore();

        updateCursorControllerPositions();
    }

    /**
     * Update the positions of the CursorControllers.  Needed by WebTextView,
     * which does not draw.
     * @hide
     */
    protected void updateCursorControllerPositions() {
        if (mInsertionPointCursorController != null &&
                mInsertionPointCursorController.isShowing()) {
            mInsertionPointCursorController.updatePosition();