Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cf0a5865 authored by Fabrice Di Meglio's avatar Fabrice Di Meglio Committed by Android Git Automerger
Browse files

am e054ab85: am 348cf60d: am 674a131c: Merge "Fix bug #6638582 Password fields...

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 'e054ab85':
  Fix bug #6638582 Password fields appears RTL in Arabic locale , it should be LTR
parents 8e2ffc76 e054ab85
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -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