From ae4fc8f4d4877c31d8d1925184427390d539c637 Mon Sep 17 00:00:00 2001 From: Bryce Lee Date: Wed, 27 Apr 2016 07:28:05 -0700 Subject: [PATCH] DO NOT MERGE ANYWHERE Add new foreground load power hint. This power hint allows the underlying hardware to be aware when an intensive foreground activity is active, allowing for resources to be adjusted accordingly. Bug: 26987295 Change-Id: I834d2227c7f86e9426d0fab20910d565125bd184 --- include/hardware/power.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/hardware/power.h b/include/hardware/power.h index 10612f38..26254824 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_FOREGROUND_LOAD = 0x00000006 } power_hint_t; typedef enum {