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

Commit 69c5fce7 authored by Ricardo Cerqueira's avatar Ricardo Cerqueira
Browse files

SystemUI: Don't try to update the navbar if it doesn't exist

Fix crashes on theme change on devices with buttons

Change-Id: I117c0ae605f7caca7e0f0425b80645a985644630
parent 496764ca
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2777,6 +2777,7 @@ public class PhoneStatusBar extends BaseStatusBar {

        makeStatusBarView();
        repositionNavigationBar();
        if (mNavigationBarView != null)
            mNavigationBarView.updateResources();

        // recreate StatusBarIconViews.