Merge "Revert "Editor: do not blink when invisible to user""
This commit is contained in:
@@ -2584,8 +2584,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;
|
||||
|
||||
Reference in New Issue
Block a user