summaryrefslogtreecommitdiffstats
path: root/packages/SettingsProvider/res
diff options
context:
space:
mode:
authorDan Murphy <D.Murphy@motorola.com>2009-08-27 14:59:03 -0500
committerMike Lockwood <lockwood@android.com>2009-09-15 02:29:15 -0400
commit951764b97010dfa073126f52b43ea1bdf1b35998 (patch)
treea4385faacb89cb30250d2a8ce0da611d1eefddc2 /packages/SettingsProvider/res
parent151921a62485f2141ad1316076c196ef00e1b421 (diff)
downloadframeworks_base-951764b97010dfa073126f52b43ea1bdf1b35998.zip
frameworks_base-951764b97010dfa073126f52b43ea1bdf1b35998.tar.gz
frameworks_base-951764b97010dfa073126f52b43ea1bdf1b35998.tar.bz2
Add automatic lighting control framework
Add changes to have the ability to turn on and off the automatic light sensing for the device. This is fully configurable and is by default not present. Vendors should override the ALS setting to enable the automatic lighting controls. These changes will add a check box to the Brightness settings menu to give control to the user to allow the device's display lighting to be controlled via the slide bar or the auto lighting system. If the user selects auto then the slide bar will become invisible. Manual mode will present the slide bar to the user. Change-Id: I146a6d75b99b08c9b839218ce6b85adf21f9fd73 Signed-off-by: Dan Murphy <D.Murphy@motorola.com> Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'packages/SettingsProvider/res')
-rw-r--r--packages/SettingsProvider/res/values/defaults.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/SettingsProvider/res/values/defaults.xml b/packages/SettingsProvider/res/values/defaults.xml
index 6b20445..d5f1c61 100644
--- a/packages/SettingsProvider/res/values/defaults.xml
+++ b/packages/SettingsProvider/res/values/defaults.xml
@@ -27,6 +27,7 @@
<bool name="def_accelerometer_rotation">true</bool>
<!-- Default screen brightness, from 0 to 255. 102 is 40%. -->
<integer name="def_screen_brightness">102</integer>
+ <bool name="def_screen_brightness_automatic_mode">false</bool>
<fraction name="def_window_animation_scale">100%</fraction>
<fraction name="def_window_transition_scale">0%</fraction>