summaryrefslogtreecommitdiff
authoryidong.zhang <yidong.zhang@amlogic.com>2020-10-29 09:16:55 (GMT)
committer Yidong Zhang <yidong.zhang@amlogic.com>2020-11-05 06:24:17 (GMT)
commit66056a85f091756396e8bf5d95e568b2214aa72f (patch)
tree61c91bc03060874f6a24e365ac45f58c0752eeef
parentb4f7e6b6001889b75c3c1f21cabe354c3fab9944 (diff)
downloadcommon-66056a85f091756396e8bf5d95e568b2214aa72f.zip
common-66056a85f091756396e8bf5d95e568b2214aa72f.tar.gz
common-66056a85f091756396e8bf5d95e568b2214aa72f.tar.bz2
health: add health hidl 2.1 service [2/2]
PD#SWPL-35839 Porblem: health hidl 2.1 does not supported Solution: add health hidl 2.1 service Verify: ohm Change-Id: I8292e6d45d81be7a27b93e51f8b02ab1eadf38ec
Diffstat
-rw-r--r--core_amlogic.mk4
-rw-r--r--sepolicy/file_contexts2
2 files changed, 3 insertions, 3 deletions
diff --git a/core_amlogic.mk b/core_amlogic.mk
index 70224d3..0184aa4 100644
--- a/core_amlogic.mk
+++ b/core_amlogic.mk
@@ -347,8 +347,8 @@ PRODUCT_PACKAGES += \
android.hardware.wifi@1.0-service.droidlogic \
android.hardware.usb@1.0-service
-# healthd hal 2.0
-PRODUCT_PACKAGES += android.hardware.health@2.0-service.droidlogic
+# healthd hal 2.1
+PRODUCT_PACKAGES += android.hardware.health@2.1-service.droidlogic
#Audio HAL
PRODUCT_PACKAGES += \
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index e22961c..fa8f00b 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -335,7 +335,7 @@
/(vendor|system/vendor)/usr/keylayout(/.*)? u:object_r:vendor_configs_file:s0
/(vendor|system/vendor)/usr/idc(/.*)? u:object_r:vendor_configs_file:s0
-/vendor/bin/hw/android\.hardware\.health@2\.0-service.droidlogic u:object_r:hal_health_default_exec:s0
+/vendor/bin/hw/android\.hardware\.health@2\.1-service.droidlogic u:object_r:hal_health_default_exec:s0
/vendor/bin/hw/android\.hardware\.dumpstate@1\.1-service.droidlogic u:object_r:hal_dumpstate_default_exec:s0
/vendor/bin/hw/android\.hardware\.drm@1\.3-service\.widevine u:object_r:hal_drm_default_exec:s0
/vendor/bin/hw/android\.hardware\.drm@1\.3-service\.clearkey u:object_r:hal_drm_clearkey_exec:s0