DO NOT MERGE ANYWHERE power: Adds POWER_HINT_DISABLE_TOUCH
am: 2df182d7b1 -s ours
Change-Id: I2e8f3feb242c8abf1410c49cc218becd4caf2e6a
diff --git a/include/hardware/power.h b/include/hardware/power.h
index 8da1f98..10612f3 100644
--- a/include/hardware/power.h
+++ b/include/hardware/power.h
@@ -46,11 +46,7 @@
*/
POWER_HINT_VIDEO_ENCODE = 0x00000003,
POWER_HINT_VIDEO_DECODE = 0x00000004,
- POWER_HINT_LOW_POWER = 0x00000005,
- POWER_HINT_FOREGROUND_LOAD = 0x00000006,
- POWER_HINT_VR_MODE = 0x00000007,
- POWER_HINT_LAUNCH = 0x00000008,
- POWER_HINT_DISABLE_TOUCH = 0x00000009
+ POWER_HINT_LOW_POWER = 0x00000005
} power_hint_t;
typedef enum {
@@ -130,14 +126,6 @@
* parameter is non-zero when low power mode is activated, and zero
* when deactivated.
*
- * POWER_HINT_DISABLE_TOUCH
- *
- * When device enters some special modes, e.g. theater mode in Android
- * Wear, there is no touch interaction expected between device and user.
- * Touch controller could be disabled in those modes to save power.
- * The data parameter is non-zero when touch could be disabled, and zero
- * when touch needs to be re-enabled.
- *
* A particular platform may choose to ignore any hint.
*
* availability: version 0.2