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

Commit 0c27fbbe authored by Long Ling's avatar Long Ling
Browse files

Revert "Editor: do not blink when invisible to user"

This reverts commit 6fef46e4.

Reason for revert: regression issue b/144403447

Bug: 144403447
Change-Id: Ie5917bb39c77fc08bb1d40ce78e68b37bf591d85
parent 6fef46e4
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -2561,8 +2561,7 @@ public class Editor {
     * @return True when the TextView isFocused and has a valid zero-length selection (cursor).
     */
    private boolean shouldBlink() {
        if (!isCursorVisible() || !mTextView.isFocused() ||
                !mTextView.isVisibleToUser()) return false;
        if (!isCursorVisible() || !mTextView.isFocused()) return false;

        final int start = mTextView.getSelectionStart();
        if (start < 0) return false;