summaryrefslogtreecommitdiffstats
path: root/include/hardware/lights.h
diff options
context:
space:
mode:
authorMike Lockwood <lockwood@android.com>2009-10-25 11:55:00 -0400
committerMike Lockwood <lockwood@android.com>2009-10-25 11:55:00 -0400
commit4016d6bc35b36277574e0cfb8dc47c8559fec079 (patch)
treeccfefef1b107aa3a7db2adf341a58d8f13fcc474 /include/hardware/lights.h
parent2b811adcbc821573de53a15f3d4e85a3d5a4ef9b (diff)
downloadhardware_libhardware-4016d6bc35b36277574e0cfb8dc47c8559fec079.zip
hardware_libhardware-4016d6bc35b36277574e0cfb8dc47c8559fec079.tar.gz
hardware_libhardware-4016d6bc35b36277574e0cfb8dc47c8559fec079.tar.bz2
Add comment warning to not use hardware based autobrightness support.
This is deprecated and will be removed in the next release. Change-Id: I5a5e93b99ae722dfcd0e9cf6415c8af6a71e6eab Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'include/hardware/lights.h')
-rwxr-xr-xinclude/hardware/lights.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/hardware/lights.h b/include/hardware/lights.h
index a660b2d..8c17c94 100755
--- a/include/hardware/lights.h
+++ b/include/hardware/lights.h
@@ -69,6 +69,8 @@ __BEGIN_DECLS
* Use these definitions for the Ambient Light sensing modes. Manual will
* force the display brightness based on the slider bar. Automatic mode will
* force the system to control the lighting regions.
+ * WARNING - DO NOT USE THIS FEATURE
+ * Hardware auto brightness support is deprecated and will be removed in the next release.
*/
#define ALS_MODE_MANUAL 0
@@ -120,6 +122,9 @@ struct light_device_t {
* Set the global ambient light sensing value.
*
* Returns: 0 on succes, error code on failure.
+ *
+ * WARNING - DO NOT USE THIS FEATURE
+ * Hardware auto brightness support is deprecated and will be removed in the next release.
*/
int (*set_als_mode)(int mode);
};