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

Commit c99f05e1 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix broken statusbar disable flags" into nyc-dev

parents 25c66ac8 2a629106
Loading
Loading
Loading
Loading
+3 −2
Original line number Original line Diff line number Diff line
@@ -7465,9 +7465,10 @@ public class PhoneWindowManager implements WindowManagerPolicy {
        if (mKeyguardDelegate != null) {
        if (mKeyguardDelegate != null) {
            mKeyguardDelegate.setCurrentUser(newUserId);
            mKeyguardDelegate.setCurrentUser(newUserId);
        }
        }
        if (mStatusBarService != null) {
        IStatusBarService statusBar = getStatusBarService();
        if (statusBar != null) {
            try {
            try {
                mStatusBarService.setCurrentUser(newUserId);
                statusBar.setCurrentUser(newUserId);
            } catch (RemoteException e) {
            } catch (RemoteException e) {
                // oh well
                // oh well
            }
            }
+2 −1
Original line number Original line Diff line number Diff line
@@ -68,7 +68,7 @@ public class StatusBarManagerService extends IStatusBarService.Stub {
    private int mDisabled1 = 0;
    private int mDisabled1 = 0;
    private int mDisabled2 = 0;
    private int mDisabled2 = 0;


    private Object mLock = new Object();
    private final Object mLock = new Object();
    // encompasses lights-out mode and other flags defined on View
    // encompasses lights-out mode and other flags defined on View
    private int mSystemUiVisibility = 0;
    private int mSystemUiVisibility = 0;
    private int mFullscreenStackSysUiVisibility;
    private int mFullscreenStackSysUiVisibility;
@@ -926,6 +926,7 @@ public class StatusBarManagerService extends IStatusBarService.Stub {
                                + " pkg=" + tok.pkg
                                + " pkg=" + tok.pkg
                                + " token=" + tok.token);
                                + " token=" + tok.token);
            }
            }
            pw.println("  mCurrentUserId=" + mCurrentUserId);
        }
        }
    }
    }
}
}