diff options
| author | Michael Bestas <mkbestas@lineageos.org> | 2018-01-23 21:13:37 +0200 |
|---|---|---|
| committer | Michael Bestas <mkbestas@lineageos.org> | 2018-01-23 21:13:37 +0200 |
| commit | b639062b4e265f289c4774652863c907f816ff46 (patch) | |
| tree | 24506e129b3d55cf751332153cdfadc83588cd81 | |
| parent | 8170e8752df3396b6007701d2fe9e5d3e48da8a3 (diff) | |
| download | android_hardware_lineage_lineagehw-b639062b4e265f289c4774652863c907f816ff46.tar.gz android_hardware_lineage_lineagehw-b639062b4e265f289c4774652863c907f816ff46.tar.bz2 android_hardware_lineage_lineagehw-b639062b4e265f289c4774652863c907f816ff46.zip | |
lineagehw: Remove thermal monitor featurestaging/lineage-15.1
Change-Id: Ic4d5e16b9cca6e1486b562eac67bcac968de17de
| -rw-r--r-- | src/org/lineageos/hardware/ThermalMonitor.java | 46 | ||||
| -rw-r--r-- | src/org/lineageos/hardware/ThermalUpdateCallback.java | 29 |
2 files changed, 0 insertions, 75 deletions
diff --git a/src/org/lineageos/hardware/ThermalMonitor.java b/src/org/lineageos/hardware/ThermalMonitor.java deleted file mode 100644 index 6325562..0000000 --- a/src/org/lineageos/hardware/ThermalMonitor.java +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (C) 2015 The CyanogenMod Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.lineageos.hardware; - -import android.content.Context; - -public class ThermalMonitor { - /** - * Initialize monitor - */ - public static void initialize(ThermalUpdateCallback callback) { - } - - /** - * Whether device supports it - * - * @return boolean Supported devices must return always true - */ - public static boolean isSupported() { - return false; - } - - /** - * This method return the current activation state - * - * @return boolean Must be false when feature is not supported or - * disabled. - */ - public static boolean isEnabled() { - return false; - } -} diff --git a/src/org/lineageos/hardware/ThermalUpdateCallback.java b/src/org/lineageos/hardware/ThermalUpdateCallback.java deleted file mode 100644 index 9996e2b..0000000 --- a/src/org/lineageos/hardware/ThermalUpdateCallback.java +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (C) 2015 The CyanogenMod Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.lineageos.hardware; - -/** - * Interface for ThermalMonitor implementations to update the global - * state and broadcast any changes to receivers. - */ -public interface ThermalUpdateCallback { - /** - * Update the current thermal state. - * Takes care of broadcasting changes to receivers - */ - void setThermalState(int state); -} |
