commit | 5fc7cd8fe3a6239e0a58669c8ba9b1131fbd969d | [log] [tgz] |
---|---|---|
author | Fiona Campbell <flc@google.com> | Thu Sep 05 10:23:03 2024 +0000 |
committer | Fiona Campbell <flc@google.com> | Thu Sep 05 16:11:39 2024 +0000 |
tree | 20cb76c788c88c7d8f70bf61454ad8bbe0c00229 | |
parent | 61dfb4a024feb86ea3bc5c4c3d9f67f963c8a22c [diff] |
Clamp brightness before setting it - Screen brightness requests of "0" (int) = OFF, this is clamped to PowerManager.BRIGHTNESS_MIN and PowerManager.BRIGHTNESS_MAX Test: manual, atest DisplayServiceTests Flag: EXEMPT trivial bug fix Bug: 364835795 Change-Id: Ic21ea10108122925a85adf7cac1afc85c68334e0