Merge "setTransformationMethod should reset mTextDir" into nyc-dev am: df9dee869c
am: 8ae06f6f3a
* commit '8ae06f6f3a4fa787ddab9859bc680e63b38686aa':
setTransformationMethod should reset mTextDir
Change-Id: Ib0c29292f24c049acb3c61baf68ae3df970610c1
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