diff options
author | TeYuan Wang <kamewang@google.com> | 2023-12-04 17:15:59 +0000 |
---|---|---|
committer | Kame(TeYuan) Wang <kamewang@google.com> | 2023-12-08 17:48:21 +0000 |
commit | 16e8f5ffde6cbb59a12810c31dd7a5b7af70b98c (patch) | |
tree | 807fca30288c377109c24f7b1f1dda5608e0fe39 | |
parent | 9ced8f50cd4ea79e5ef126af4e88a5f2f1dc547e (diff) | |
download | pixel-16e8f5ffde6cbb59a12810c31dd7a5b7af70b98c.tar.gz |
thermal: apply V2 thermal aidl
Bug: 312540064
Test: make android.hardware.thermal-service.pixel
Test: add AMBIENT type sensor in thermal config and verify it by dumpsys thermalservice
Change-Id: I86f326eb6b96f5669996310fac3265100fb23d4f
-rw-r--r-- | thermal/Android.bp | 4 | ||||
-rw-r--r-- | thermal/android.hardware.thermal-service.pixel.xml | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/thermal/Android.bp b/thermal/Android.bp index a7ad5d87..afd3c811 100644 --- a/thermal/Android.bp +++ b/thermal/Android.bp @@ -34,7 +34,7 @@ cc_binary { "libbinder_ndk", "android.frameworks.stats-V2-ndk", "android.hardware.power-V1-ndk", - "android.hardware.thermal-V1-ndk", + "android.hardware.thermal-V2-ndk", "pixel-power-ext-V1-ndk", "pixelatoms-cpp", ], @@ -92,7 +92,7 @@ cc_test { "libbinder_ndk", "android.frameworks.stats-V2-ndk", "android.hardware.power-V1-ndk", - "android.hardware.thermal-V1-ndk", + "android.hardware.thermal-V2-ndk", "pixel-power-ext-V1-ndk", "pixelatoms-cpp", ], diff --git a/thermal/android.hardware.thermal-service.pixel.xml b/thermal/android.hardware.thermal-service.pixel.xml index bdee7446..08dc68ca 100644 --- a/thermal/android.hardware.thermal-service.pixel.xml +++ b/thermal/android.hardware.thermal-service.pixel.xml @@ -1,7 +1,7 @@ <manifest version="1.0" type="device"> <hal format="aidl"> <name>android.hardware.thermal</name> - <version>1</version> + <version>2</version> <fqname>IThermal/default</fqname> </hal> </manifest> |