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

Commit 1e833b31 authored by Daniel Sandler's avatar Daniel Sandler Committed by Android (Google) Code Review
Browse files

Merge "Fix NPE for devices with hardware navigation."

parents 5ff1c159 f3f20112
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)