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>
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 @@
* 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 @@
* 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);
};