Loading core/java/android/widget/TextView.java +3 −3 Original line number Diff line number Diff line Loading @@ -6440,6 +6440,9 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener outAttrs.imeOptions |= EditorInfo.IME_FLAG_NO_ENTER_ACTION; } outAttrs.hintText = mHint; // LocaleList is designed to be immutable. This is theoretically equivalent to copy // the snapshot of the current text locales. outAttrs.locales = getTextLocales(); if (mText instanceof Editable) { InputConnection ic = new EditableInputConnection(this); outAttrs.initialSelStart = getSelectionStart(); Loading @@ -6447,9 +6450,6 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener outAttrs.initialCapsMode = ic.getCursorCapsMode(getInputType()); return ic; } // LocaleList is designed to be immutable. This is theoretically equivalent to copy // the snapshot of the current text locales. outAttrs.locales = getTextLocales(); } return null; } Loading Loading
core/java/android/widget/TextView.java +3 −3 Original line number Diff line number Diff line Loading @@ -6440,6 +6440,9 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener outAttrs.imeOptions |= EditorInfo.IME_FLAG_NO_ENTER_ACTION; } outAttrs.hintText = mHint; // LocaleList is designed to be immutable. This is theoretically equivalent to copy // the snapshot of the current text locales. outAttrs.locales = getTextLocales(); if (mText instanceof Editable) { InputConnection ic = new EditableInputConnection(this); outAttrs.initialSelStart = getSelectionStart(); Loading @@ -6447,9 +6450,6 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener outAttrs.initialCapsMode = ic.getCursorCapsMode(getInputType()); return ic; } // LocaleList is designed to be immutable. This is theoretically equivalent to copy // the snapshot of the current text locales. outAttrs.locales = getTextLocales(); } return null; } Loading