Skip to content

Commit 674a131

Browse files
Fabrice Di MeglioAndroid (Google) Code Review
authored andcommitted
Merge "Fix bug #6638582 Password fields appears RTL in Arabic locale , it should be LTR" into jb-mr1.1-dev
2 parents f5377a7 + 8701bb9 commit 674a131

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

core/java/android/widget/TextView.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8229,9 +8229,8 @@ boolean isInBatchEditMode() {
82298229

82308230
TextDirectionHeuristic getTextDirectionHeuristic() {
82318231
if (hasPasswordTransformationMethod()) {
8232-
// TODO: take care of the content direction to show the password text and dots justified
8233-
// to the left or to the right
8234-
return TextDirectionHeuristics.LOCALE;
8232+
// passwords fields should be LTR
8233+
return TextDirectionHeuristics.LTR;
82358234
}
82368235

82378236
// Always need to resolve layout direction first

0 commit comments

Comments
 (0)