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

Commit 1f785d4f authored by Jason Monk's avatar Jason Monk
Browse files

Fix RTL for Nav icons

Test: manual
Change-Id: I972641fc8d122ce9f6d4204398559b11a36a4a40
Fixes: 63644656
parent 55bc522d
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -316,7 +316,8 @@ public class NavigationBarView extends FrameLayout implements PluginListener<Nav
            mDockedIcon = getDrawable(ctx,
                    R.drawable.ic_sysbar_docked, R.drawable.ic_sysbar_docked_dark);
        }
        if (oldConfig.densityDpi != newConfig.densityDpi) {
        if (oldConfig.densityDpi != newConfig.densityDpi
                || oldConfig.getLayoutDirection() != newConfig.getLayoutDirection()) {
            mBackIcon = getDrawable(ctx, R.drawable.ic_sysbar_back, R.drawable.ic_sysbar_back_dark);
            mBackLandIcon = mBackIcon;
            mBackAltIcon = getDrawable(ctx,
@@ -672,7 +673,8 @@ public class NavigationBarView extends FrameLayout implements PluginListener<Nav
        updateTaskSwitchHelper();
        updateIcons(getContext(), mConfiguration, newConfig);
        updateRecentsIcon();
        if (uiCarModeChanged || mConfiguration.densityDpi != newConfig.densityDpi) {
        if (uiCarModeChanged || mConfiguration.densityDpi != newConfig.densityDpi
                || mConfiguration.getLayoutDirection() != newConfig.getLayoutDirection()) {
            // If car mode or density changes, we need to reset the icons.
            setNavigationIconHints(mNavigationIconHints, true);
        }