summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDilip Gudlur <dgudlur@codeaurora.org>2015-08-14 19:30:13 -0700
committerDilip Gudlur <dgudlur@codeaurora.org>2015-11-03 11:33:44 -0800
commit91f1149c908e3b8f72393f8075cce2c937e7643f (patch)
tree87d46555125da48e994efc3ef74b493fc0d5a451
parentcd4e4051c2710882616009ebc779b1ae0cec697b (diff)
downloadhardware_libhardware-91f1149c908e3b8f72393f8075cce2c937e7643f.zip
hardware_libhardware-91f1149c908e3b8f72393f8075cce2c937e7643f.tar.gz
hardware_libhardware-91f1149c908e3b8f72393f8075cce2c937e7643f.tar.bz2
power: Add support for camera preview in powerHAL
Change adds support for camera preview hint detection in powerHAL. Change-Id: I0fff8c99f05d69db15e512c0adc84d612e343d2f
-rw-r--r--include/hardware/power.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/hardware/power.h b/include/hardware/power.h
index af7799e..084cba8 100644
--- a/include/hardware/power.h
+++ b/include/hardware/power.h
@@ -46,7 +46,8 @@ typedef enum {
*/
POWER_HINT_VIDEO_ENCODE = 0x00000003,
POWER_HINT_VIDEO_DECODE = 0x00000004,
- POWER_HINT_LOW_POWER = 0x00000005
+ POWER_HINT_LOW_POWER = 0x00000005,
+ POWER_HINT_CAM_PREVIEW = 0x00000006
} power_hint_t;
typedef enum {