Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dba27530 authored by Rohit Yengisetty's avatar Rohit Yengisetty
Browse files

Renaming Thermal constants

[SAMBAR-266]

Change-Id: Ie2b016980cf07353fc6d145d25346a4c092adb61
parent 75ffc4ab
Loading
Loading
Loading
Loading
+9 −9
Original line number Diff line number Diff line
@@ -21,19 +21,19 @@ public abstract class ThermalListenerCallback extends IThermalListenerCallback.S
    public static final class State {
        public static final int STATE_UNKNOWN = -1;
        public static final int STATE_COOL = 0;
        public static final int STATE_NORMAL = 1;
        public static final int STATE_HIGH = 2;
        public static final int STATE_EXTREME = 3;
        public static final int STATE_WARM_FALLING = 1;
        public static final int STATE_WARM_RISING = 2;
        public static final int STATE_CRITICAL = 3;
        public static final String toString(int state) {
            switch (state) {
                case STATE_COOL:
                    return "STATE_COOL";
                case STATE_NORMAL:
                    return "STATE_NORMAL";
                case STATE_HIGH:
                    return "STATE_HIGH";
                case STATE_EXTREME:
                    return "STATE_EXTREME";
                case STATE_WARM_FALLING:
                    return "STATE_WARM_FALLING";
                case STATE_WARM_RISING:
                    return "STATE_WARM_RISING";
                case STATE_CRITICAL:
                    return "STATE_CRITICAL";
                default:
                    return "STATE_UNKNOWN";
            }