thermal-hal: AIDL migration
Changes to migrate from HDIL to AIDL
Signed-off-by: Bavyasritha Alahari <alahari@quicinc.com>
Change-Id: If865913acc1183562a67f508777ac545b0aaad99
diff --git a/thermalConfig.h b/thermalConfig.h
index 07f3375..ae74111 100644
--- a/thermalConfig.h
+++ b/thermalConfig.h
@@ -28,19 +28,23 @@
* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+ /* Changes from Qualcomm Innovation Center are provided under the following license:
+
+Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
+SPDX-License-Identifier: BSD-3-Clause-Clear */
+
#ifndef THERMAL_THERMAL_CONFIG_H__
#define THERMAL_THERMAL_CONFIG_H__
-#include <android/hardware/thermal/2.0/IThermal.h>
+#include <aidl/android/hardware/thermal/BnThermal.h>
#include "thermalData.h"
#include "thermalCommon.h"
+namespace aidl {
namespace android {
namespace hardware {
namespace thermal {
-namespace V2_0 {
-namespace implementation {
class ThermalConfig {
public:
@@ -58,10 +62,9 @@
ThermalCommon cmnInst;
};
-} // namespace implementation
-} // namespace V2_0
} // namespace thermal
} // namespace hardware
} // namespace android
+} // namespace aidl
#endif // THERMAL_THERMAL_CONFIG_H__