diff options
author | Danesh M <daneshm90@gmail.com> | 2015-09-24 13:38:38 -0700 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2015-09-24 18:18:56 -0700 |
commit | b4ef25ab1902d948f8342d1eb354c47fbf84ebf3 (patch) | |
tree | 475489988c1e846ce8a1ed6bb69a4e63c1ac75b8 /cm/lib/main | |
parent | ce92e371d038054dbfdaf4ca08bad03ef893c440 (diff) | |
download | vendor_cmsdk-b4ef25ab1902d948f8342d1eb354c47fbf84ebf3.zip vendor_cmsdk-b4ef25ab1902d948f8342d1eb354c47fbf84ebf3.tar.gz vendor_cmsdk-b4ef25ab1902d948f8342d1eb354c47fbf84ebf3.tar.bz2 |
CMSdk : Initial thermal state to STATE_UNKNOWN
Change-Id: I37c7fe7441d7f0f09d1b96be001f046417ffff12
Diffstat (limited to 'cm/lib/main')
-rw-r--r-- | cm/lib/main/java/org/cyanogenmod/platform/internal/CMHardwareService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cm/lib/main/java/org/cyanogenmod/platform/internal/CMHardwareService.java b/cm/lib/main/java/org/cyanogenmod/platform/internal/CMHardwareService.java index 738784b..8f3cccc 100644 --- a/cm/lib/main/java/org/cyanogenmod/platform/internal/CMHardwareService.java +++ b/cm/lib/main/java/org/cyanogenmod/platform/internal/CMHardwareService.java @@ -58,7 +58,7 @@ public class CMHardwareService extends SystemService implements ThermalUpdateCal private final Context mContext; private final CMHardwareInterface mCmHwImpl; - private int mCurrentThermalState; + private int mCurrentThermalState = ThermalListenerCallback.State.STATE_UNKNOWN; private RemoteCallbackList<IThermalListenerCallback> mRemoteCallbackList; private interface CMHardwareInterface { |