Commit b6b563f7 greatly simplified the DimDisplay
action byproviding a dimming ratio property in ScreenBrightnessController
.This allowed us to get rid of manual brightness setters here.
What the commit was missing is to take out the condition forprofileSettings.useProfileSpecificDisplayBrightness()
entirely.There is no more clash with the ScreenBrightnessControl
action,so we don't need to limit out setter calls.
Instead, always resetting the dimming ratio to 1.0 is the correctthing to do when switching to a profile without dimming.