Merge "setTransformationMethod should reset mTextDir" into nyc-dev am: df9dee869c
am: 214ebfb532
* commit '214ebfb5323d0339b34343b04323e26e650e521a':
setTransformationMethod should reset mTextDir
Change-Id: Ia717c63a312a0cd5729fd1038c7f53313b9b848d
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