diff options
author | Mike Lockwood <lockwood@android.com> | 2009-10-25 11:55:00 -0400 |
---|---|---|
committer | Mike Lockwood <lockwood@android.com> | 2009-10-25 11:55:00 -0400 |
commit | 4016d6bc35b36277574e0cfb8dc47c8559fec079 (patch) | |
tree | ccfefef1b107aa3a7db2adf341a58d8f13fcc474 | |
parent | 2b811adcbc821573de53a15f3d4e85a3d5a4ef9b (diff) | |
download | libhardware-4016d6bc35b36277574e0cfb8dc47c8559fec079.tar.gz |
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>
-rwxr-xr-x | include/hardware/lights.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/hardware/lights.h b/include/hardware/lights.h index a660b2d3..8c17c945 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); }; |