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

Skip to content
Commit 5fc7cd8f authored by Fiona Campbell's avatar Fiona Campbell
Browse files

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
parent 61dfb4a0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment