OSDN Git Service

apps/settings: Add auto/manual brightness control to Brightness settings
authorDan Murphy <D.Murphy@motorola.com>
Thu, 27 Aug 2009 20:05:23 +0000 (15:05 -0500)
committerMike Lockwood <lockwood@android.com>
Tue, 15 Sep 2009 01:42:56 +0000 (21:42 -0400)
commita096888f3c7e14723168c323f0ffdb2473adf5d3
treef45604c84dd84f3774d2211f35c595c1570ec028
parenta3aaf19e09806f7e56c59621fc6c17e4429b2e6d
apps/settings: Add auto/manual brightness control to Brightness settings

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: I512c9d5dd72ddd831b33eb8fcd4680e2fc7f786e
Signed-off-by: Dan Murphy <D.Murphy@motorola.com>
Signed-off-by: Mike Lockwood <lockwood@android.com>
res/layout/preference_dialog_brightness.xml [new file with mode: 0644]
res/values/strings.xml
src/com/android/settings/BrightnessPreference.java