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

Commit faf9d201 authored by Kenny Guy's avatar Kenny Guy
Browse files

Reload brightness setting on user switch.

Bug: 73147707
Test: manual, switch user set max brightness, switch back brightness unchanged.
Change-Id: I09f350eb175e37ff4bf951afc67bc53d171739b1
parent d591904d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -500,6 +500,7 @@ final class DisplayPowerController implements AutomaticBrightnessController.Call
    }

    public void onSwitchUser(@UserIdInt int newUserId) {
        handleSettingsChange();
        mBrightnessTracker.onSwitchUser(newUserId);
    }