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