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

Commit c43506fc authored by Deepanshu Gupta's avatar Deepanshu Gupta Committed by Android Git Automerger
Browse files

am 8c674fda: Fix layout mirroring. [DO NOT MERGE]

* commit '8c674fda':
  Fix layout mirroring. [DO NOT MERGE]
parents 918e62f1 8c674fda
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -131,6 +131,7 @@ class Layout extends RelativeLayout {
        HardwareConfig hwConfig = getParams().getHardwareConfig();
        HardwareConfig hwConfig = getParams().getHardwareConfig();
        Density density = hwConfig.getDensity();
        Density density = hwConfig.getDensity();
        boolean isRtl = Bridge.isLocaleRtl(getParams().getLocale());
        boolean isRtl = Bridge.isLocaleRtl(getParams().getLocale());
        setLayoutDirection(isRtl? LAYOUT_DIRECTION_RTL : LAYOUT_DIRECTION_LTR);


        NavigationBar navBar = null;
        NavigationBar navBar = null;
        if (mBuilder.hasNavBar()) {
        if (mBuilder.hasNavBar()) {