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

Commit 8701bb90 authored by Fabrice Di Meglio's avatar Fabrice Di Meglio
Browse files

Fix bug #6638582 Password fields appears RTL in Arabic locale , it should be LTR

- change heuristic to LTR.

Change-Id: I3c5f413e48ceddbd931d713eb8c168431fcd09a2
parent 18f95189
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -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