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

Commit f3f20112 authored by Daniel Sandler's avatar Daniel Sandler
Browse files

Fix NPE for devices with hardware navigation.

Bug: 5095974
Change-Id: I4d8c39fbff6feb7b65055938ac0f725faaa6e6a3
parent dfab1817
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1742,8 +1742,10 @@ public class PhoneStatusBar extends StatusBar {
    // The user is not allowed to get stuck without navigation UI. Upon the slightest user
    // interaction we bring the navigation back.
    public void userActivity() {
        if (mNavigationBarView != null) {
            mNavigationBarView.setHidden(false);
        }
    }

    public void toggleRecentApps() {
        int msg = (mRecentsPanel.getVisibility() == View.GONE)