summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTodd Poynor <toddpoynor@google.com>2011-12-09 12:26:22 -0800
committerTodd Poynor <toddpoynor@google.com>2011-12-09 12:26:22 -0800
commitb82a5d2b91f1a412901472d14f3ce26c2305cf9a (patch)
tree4b00a27ea390b5e95a0400dc676d9747654e2a1f
parentcbce3c8a5bef6eadcff66de245f435a7beff5e85 (diff)
downloaddevice_samsung_tuna-b82a5d2b91f1a412901472d14f3ce26c2305cf9a.zip
device_samsung_tuna-b82a5d2b91f1a412901472d14f3ce26c2305cf9a.tar.gz
device_samsung_tuna-b82a5d2b91f1a412901472d14f3ce26c2305cf9a.tar.bz2
tuna: Fix ArrayIndexOutOfBoundsException on autobrightness updates
Expand "keyboard backlight" and "button backlight" tables to match size of new table of ALS values. Change-Id: I491ddf1fddf59c368e23f612f57783a654342c51 Signed-off-by: Todd Poynor <toddpoynor@google.com>
-rw-r--r--overlay/frameworks/base/core/res/res/values/config.xml28
1 files changed, 28 insertions, 0 deletions
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index e6cfdae..1af8aad 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -124,6 +124,20 @@
<item>0</item>
<item>0</item>
<item>0</item>
+ <item>0</item>
+ <item>0</item>
+ <item>0</item>
+ <item>0</item>
+ <item>0</item>
+ <item>0</item>
+ <item>0</item>
+ <item>0</item>
+ <item>0</item>
+ <item>0</item>
+ <item>0</item>
+ <item>0</item>
+ <item>0</item>
+ <item>0</item>
</integer-array>
<!-- Array of output values for keyboard backlight corresponding to the LUX values
@@ -138,6 +152,20 @@
<item>0</item>
<item>0</item>
<item>0</item>
+ <item>0</item>
+ <item>0</item>
+ <item>0</item>
+ <item>0</item>
+ <item>0</item>
+ <item>0</item>
+ <item>0</item>
+ <item>0</item>
+ <item>0</item>
+ <item>0</item>
+ <item>0</item>
+ <item>0</item>
+ <item>0</item>
+ <item>0</item>
</integer-array>
<!-- Minimum screen brightness allowed by the power manager. -->