Merge "Fix bug #6638582 Password fields appears RTL in Arabic locale , it should be LTR" into jb-mr1.1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
674a131cb6
@@ -8229,9 +8229,8 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
|
||||
|
||||
TextDirectionHeuristic getTextDirectionHeuristic() {
|
||||
if (hasPasswordTransformationMethod()) {
|
||||
// TODO: take care of the content direction to show the password text and dots justified
|
||||
// to the left or to the right
|
||||
return TextDirectionHeuristics.LOCALE;
|
||||
// passwords fields should be LTR
|
||||
return TextDirectionHeuristics.LTR;
|
||||
}
|
||||
|
||||
// Always need to resolve layout direction first
|
||||
|
||||
Reference in New Issue
Block a user