diff options
| author | 2012-11-15 12:27:03 -0800 | |
|---|---|---|
| committer | 2012-11-15 12:27:03 -0800 | |
| commit | e054ab85388d71c8b1d46fa4e67018ff2aaa97ae (patch) | |
| tree | 64af255314f32c67d47686ecfb0c28c9169f8d25 | |
| parent | 9634e970679c687572e2da84250adc8baf91a8c3 (diff) | |
| parent | 348cf60dbb1de980aa97e551817765e7b3fa0221 (diff) | |
am 348cf60d: am 674a131c: Merge "Fix bug #6638582 Password fields appears RTL in Arabic locale , it should be LTR" into jb-mr1.1-dev
* commit '348cf60dbb1de980aa97e551817765e7b3fa0221':
Fix bug #6638582 Password fields appears RTL in Arabic locale , it should be LTR
| -rw-r--r-- | core/java/android/widget/TextView.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/core/java/android/widget/TextView.java b/core/java/android/widget/TextView.java index 5d904004cf02..267b22aa34fe 100644 --- a/core/java/android/widget/TextView.java +++ b/core/java/android/widget/TextView.java @@ -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 |