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

Commit 0e9ce34d authored by Winson Chung's avatar Winson Chung
Browse files

DO NOT MERGE Fix null pointer exception when updating rotation tile. (Bug 11111473)

This occurs when switching users on devices that
don't have a rotation lock quick settings tile.

Change-Id: I738ca15ca754be90cec7eaf3a8eda3e38ed96b33
(cherry picked from commit e8f50a14)
parent b38ad76a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -280,7 +280,7 @@ class QuickSettingsModel implements BluetoothStateChangeCallback,
        mUserTracker = new CurrentUserTracker(mContext) {
            public void onUserSwitched(int newUserId) {
                mBrightnessObserver.startObserving();
                onRotationLockChanged();
                refreshRotationLockTile();
                onBrightnessLevelChanged();
                onNextAlarmChanged();
                onBugreportChanged();