Make the brightness int scale match the slider
The brightness scale 0-255 will now match the slider, i.e. setting brighthess to 0.23 * 255 will set it to 23% on the slider. This will work regardless of the brightness limits (e.g. HBM) - if HBM is on, 255 will still be the max value on the slider, so the max value allowed in HBM mode. This only affects the int scale of the brightness setting. The brightness int values in config files will remain unchanged. Bug: 183655602 Test: atest com.android.server.display Test: atest android.display.cts Change-Id: I8e8ede6fa4ee945899e33a2ba45a290bf704d166
Loading
Please register or sign in to comment