aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhao Wei Liew <zhaoweiliew@gmail.com>2017-02-02 11:28:25 +0800
committerZhao Wei Liew <zhaoweiliew@gmail.com>2017-02-19 10:02:18 +0800
commit62edb35560cb44f45e547eeb3269fa129a6bef32 (patch)
tree69fb56d9fea796321910e5428a3033e779682581
parentb1be9e045727a16b1f95d7c3c14d5ca896825c50 (diff)
downloadvendor_cmsdk-62edb35560cb44f45e547eeb3269fa129a6bef32.zip
vendor_cmsdk-62edb35560cb44f45e547eeb3269fa129a6bef32.tar.gz
vendor_cmsdk-62edb35560cb44f45e547eeb3269fa129a6bef32.tar.bz2
cmsdk: PerformanceManager: Update POWER_HINT_SET_PROFILE value
We removed POWER_HINT_AUDIO recently, thus moving the value of POWER_HINT_SET_PROFILE up. Change-Id: Ib1c4e1b2569064023a7951631ac1de120fcf47ef
-rw-r--r--cm/lib/main/java/org/cyanogenmod/platform/internal/PerformanceManagerService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/cm/lib/main/java/org/cyanogenmod/platform/internal/PerformanceManagerService.java b/cm/lib/main/java/org/cyanogenmod/platform/internal/PerformanceManagerService.java
index 57b0141..6c90c41 100644
--- a/cm/lib/main/java/org/cyanogenmod/platform/internal/PerformanceManagerService.java
+++ b/cm/lib/main/java/org/cyanogenmod/platform/internal/PerformanceManagerService.java
@@ -60,7 +60,7 @@ public class PerformanceManagerService extends CMSystemService {
// keep in sync with hardware/libhardware/include/hardware/power.h
private final int POWER_HINT_CPU_BOOST = 0x00000010;
private final int POWER_HINT_LAUNCH_BOOST = 0x00000011;
- private final int POWER_HINT_SET_PROFILE = 0x00000030;
+ private final int POWER_HINT_SET_PROFILE = 0x00000012;
private final int POWER_FEATURE_SUPPORTED_PROFILES = 0x00001000;