Merge "setTransformationMethod should reset mTextDir" into nyc-dev am: df9dee869c am: 8ae06f6f3a
am: 68d3077e9a
* commit '68d3077e9a11c96d118834563fa283b3ead4f1a7':
setTransformationMethod should reset mTextDir
Change-Id: I46a1f5e356992bd08ba440fce0e15b952541d547
This commit is contained in:
@@ -1939,6 +1939,10 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
|
||||
notifyViewAccessibilityStateChangedIfNeeded(
|
||||
AccessibilityEvent.CONTENT_CHANGE_TYPE_UNDEFINED);
|
||||
}
|
||||
|
||||
// PasswordTransformationMethod always have LTR text direction heuristics returned by
|
||||
// getTextDirectionHeuristic, needs reset
|
||||
mTextDir = getTextDirectionHeuristic();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user