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

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

Merge "Properly generate systemUiVisibilityChanged callbacks." into ics-factoryrom

parents cc22b992 d5c16c6c
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -2031,8 +2031,13 @@ 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);
        if (0 != (mSystemUiVisibility & View.SYSTEM_UI_FLAG_HIDE_NAVIGATION)) {
            try {
                mBarService.setSystemUiVisibility(
                    mSystemUiVisibility & ~View.SYSTEM_UI_FLAG_HIDE_NAVIGATION);
            } catch (RemoteException ex) {
                // weep softly
            }
        }
    }