aleksejshilin created this revision. aleksejshilin added a reviewer: Plasma. Restricted Application added a project: Plasma. Restricted Application added a subscriber: plasma-devel.
REVISION SUMMARY An active inhibition with ChangeScreenSettings policy won't allow to restore dimmed screen brightness normally. In this case the user will be left with a barely visible screen, requiring him/her to manually adjust the brightness back to normal. This commit enforces dimmed screen brightness restoration even if ChangeScreenSettings policy is unavailable. REPOSITORY R122 Powerdevil BRANCH fix_restore_brightness REVISION DETAIL https://phabricator.kde.org/D8502 AFFECTED FILES daemon/actions/bundled/dimdisplay.cpp daemon/actions/bundled/dimdisplay.h To: aleksejshilin, #plasma Cc: plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart