diff options
| author | 2024-09-05 10:23:03 +0000 | |
|---|---|---|
| committer | 2024-09-05 16:11:39 +0000 | |
| commit | 5fc7cd8fe3a6239e0a58669c8ba9b1131fbd969d (patch) | |
| tree | 20cb76c788c88c7d8f70bf61454ad8bbe0c00229 /libs/androidfw/misc.cpp | |
| 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
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions