Merge "[Catalyst] Rollback the Adaptive brightness key" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
07eca37281
@@ -128,7 +128,11 @@ class AutoBrightnessScreenTest {
|
||||
}
|
||||
|
||||
private fun setScreenBrightnessMode(value: Int) =
|
||||
Settings.System.putInt(context.contentResolver, AutoBrightnessScreen.KEY, value)
|
||||
Settings.System.putInt(
|
||||
context.contentResolver,
|
||||
Settings.System.SCREEN_BRIGHTNESS_MODE,
|
||||
value,
|
||||
)
|
||||
|
||||
private fun getResId() =
|
||||
when {
|
||||
|
||||
Reference in New Issue
Block a user