Loading core/java/android/text/method/BaseKeyListener.java +1 −1 Original line number Diff line number Diff line Loading @@ -97,7 +97,7 @@ public abstract class BaseKeyListener extends MetaKeyKeyListener // Delete a character. final int start = Selection.getSelectionEnd(content); final int end; if (isForwardDelete || event.isShiftPressed() || isShiftActive) { if (isForwardDelete) { end = TextUtils.getOffsetAfter(content, start); } else { end = TextUtils.getOffsetBefore(content, start); Loading Loading
core/java/android/text/method/BaseKeyListener.java +1 −1 Original line number Diff line number Diff line Loading @@ -97,7 +97,7 @@ public abstract class BaseKeyListener extends MetaKeyKeyListener // Delete a character. final int start = Selection.getSelectionEnd(content); final int end; if (isForwardDelete || event.isShiftPressed() || isShiftActive) { if (isForwardDelete) { end = TextUtils.getOffsetAfter(content, start); } else { end = TextUtils.getOffsetBefore(content, start); Loading