summaryrefslogtreecommitdiff
path: root/api/api_test.go
diff options
context:
space:
mode:
author Piotr Wilczyński <wilczynskip@google.com> 2024-07-18 09:23:03 +0000
committer Piotr Wilczyński <wilczynskip@google.com> 2024-07-29 15:11:49 +0000
commit4f22332a72feade18b7149d59f3094c916f2a156 (patch)
tree58374e082edba41a84bd2fc18125b5d14e519d67 /api/api_test.go
parent937b6dc7af0ff7e9da1ddd88806413423e12d206 (diff)
Doze brightness float
Use the float doze brightness if the flag is enabled and the config is provided by Display Manager. Pass the computed float brightness down to Power Manager. Use config_screenBrightnessDimFloat. Additionally, correct the docs with the int brightness range 1-255. 0 is BRIGHTNESS_OFF, currently, the framework doesn't allow turning the screen off by setting that brightness. Bug: 326981871 Bug: 343796384 Test: DreamServiceTest, AlwaysOnDisplayPolicyTest, DozeScreenBrightnessTest, NotificationShadeWindowControllerImplTest, DozeServiceHostTest, DreamManagerServiceTests, PowerManagerServiceTest Flag: com.android.server.display.feature.flags.doze_brightness_float Change-Id: Iefa68b36dc325434e1d7fcfd5c4d8d6b92dab99b
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions