diff options
| author | 2012-11-16 10:38:08 -0800 | |
|---|---|---|
| committer | 2012-11-16 10:38:08 -0800 | |
| commit | cf0a5865f43747828c2372dea009aad0d4c4f4c1 (patch) | |
| tree | b9163592478c551c2a4acb8062146f5d47428c2f | |
| parent | 8e2ffc76a9363bd7a7d61c8ba432ab537eab7467 (diff) | |
| parent | e054ab85388d71c8b1d46fa4e67018ff2aaa97ae (diff) | |
am e054ab85: 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 'e054ab85388d71c8b1d46fa4e67018ff2aaa97ae':
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 93c476f16157..67cf55df7df5 100644 --- a/core/java/android/widget/TextView.java +++ b/core/java/android/widget/TextView.java @@ -8226,9 +8226,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 |