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

Commit 49b819d9 authored by David van Tonder's avatar David van Tonder Committed by Gerrit Code Review
Browse files

Merge "NavigationBar : Only inflate once" into cm-10.1

parents 0043015c e155cb4d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -485,7 +485,7 @@ public class PhoneStatusBar extends BaseStatusBar {
        try {
            boolean showNav = mWindowManagerService.hasNavigationBar();
            if (DEBUG) Slog.v(TAG, "hasNavigationBar=" + showNav);
            if (showNav && !mRecreating) {
            if (mNavigationBarView == null && showNav && !mRecreating) {
                mNavigationBarView =
                    (NavigationBarView) View.inflate(context, R.layout.navigation_bar, null);