summaryrefslogtreecommitdiffstats
path: root/include/hardware/lights.h
diff options
context:
space:
mode:
authorMike Lockwood <lockwood@android.com>2009-11-03 11:39:04 -0500
committerMike Lockwood <lockwood@android.com>2009-11-03 11:39:04 -0500
commitc93ee2545a43bc7abdbcc57533e7e3114972d8ec (patch)
treee8dcad2f47ac870f3ad0bcbae6ff839faee8cd72 /include/hardware/lights.h
parenta2414316075dde4ca5c1393c662f224b36dd3fdc (diff)
downloadhardware_libhardware-c93ee2545a43bc7abdbcc57533e7e3114972d8ec.zip
hardware_libhardware-c93ee2545a43bc7abdbcc57533e7e3114972d8ec.tar.gz
hardware_libhardware-c93ee2545a43bc7abdbcc57533e7e3114972d8ec.tar.bz2
Remove obsolete hardware auto-brightness support.
Change-Id: Iab4bf538268c166a16b4b80f0a2c6361d63c2e2d Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'include/hardware/lights.h')
-rwxr-xr-xinclude/hardware/lights.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/include/hardware/lights.h b/include/hardware/lights.h
index 8c17c94..fd89384 100755
--- a/include/hardware/lights.h
+++ b/include/hardware/lights.h
@@ -66,18 +66,6 @@ __BEGIN_DECLS
#define LIGHT_FLASH_TIMED 1
/**
- * 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
-#define ALS_MODE_AUTOMATIC 1
-
-
-/**
* The parameters that can be set for a given light.
*
* Not all lights must support all parameters. If you
@@ -118,15 +106,6 @@ struct light_device_t {
*/
int (*set_light)(struct light_device_t* dev,
struct light_state_t const* state);
- /**
- * 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);
};