From c361f733a62f419eb7d3b4a41ce9e716faeca22f Mon Sep 17 00:00:00 2001 From: Michael Wright Date: Wed, 26 Jul 2017 21:53:03 +0100 Subject: [PATCH] Fix the autobrightness curve, part deux. New hardware units have a mapping that's actually linear, so we assume that the curve is linear here and have the kernel fix it up for us if it needs to. Bug: 63606090 Test: manual Change-Id: I05c98115b20e0328654ca42ac58244ea81e19940 --- .../base/core/res/res/values/config.xml | 30 +++++++------------ 1 file changed, 11 insertions(+), 19 deletions(-) diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index 66a72c8..a891cfe 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -54,17 +54,17 @@ than the size of the config_autoBrightnessLevels array. This must be overridden in platform specific overlays --> - 43 - 67 - 82 - 101 - 113 - 125 - 140 - 159 - 175 - 207 - 223 + 9 + 30 + 45 + 62 + 78 + 96 + 119 + 146 + 178 + 221 + 255 86 - - 4 - - - 223 - "usbradio:adb:diag,serial_cdev,rmnet_gsi,adb:diag,serial_cdev,rmnet_gsi"