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

Commit 3dcfaac7 authored by Piotr Wilczyński's avatar Piotr Wilczyński
Browse files

Set brightness percentage

New API that can take different brightness value representations. One of them is percentage which matches what the brightness slider shows.

Shell command to get brightness percentage for CTS test.

Flush the background looper in DisplayManagerServiceTest to fix the presubmit failure where BrightnessTracker keeps running in the background.

Bug: 319865623
Test: atest DisplayManagerServiceTest, adb shell cmd display get-brightness 0 percentage
Flag: com.android.server.display.feature.flags.set_brightness_by_unit
Change-Id: Icff0870328da4060868f86f77a18bfca1a9f47f2
parent 4268b167
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