From 6bad22afb5285d0e7e159a55aa1ace1667b6f898 Mon Sep 17 00:00:00 2001 From: Simon1511 Date: Sun, 11 Sep 2022 20:21:54 +0200 Subject: [PATCH] sm7125-common: Switch to AIDL sensors HAL Change-Id: I599cb41df8a39da6bbc5e97ea74709fc6face44e --- common.mk | 2 +- sepolicy/vendor/file_contexts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common.mk b/common.mk index d07070d..84a9d58 100644 --- a/common.mk +++ b/common.mk @@ -376,7 +376,7 @@ PRODUCT_PACKAGES += \ # Sensors PRODUCT_PACKAGES += \ - android.hardware.sensors@2.1-service.samsung-multihal \ + android.hardware.sensors-service.samsung-multihal \ android.hardware.sensors@2.0-ScopedWakelock.vendor \ sensors.samsung diff --git a/sepolicy/vendor/file_contexts b/sepolicy/vendor/file_contexts index 97cf7a5..39f377f 100644 --- a/sepolicy/vendor/file_contexts +++ b/sepolicy/vendor/file_contexts @@ -62,6 +62,6 @@ /(vendor|system/vendor)/bin/hw/vendor\.lineage\.livedisplay@2\.0-service.samsung-qcom\.sm7125 u:object_r:hal_lineage_livedisplay_sysfs_exec:s0 /(vendor|system/vendor)/bin/hw/android.hardware.biometrics.fingerprint@2.3-service-samsung.sm7125 u:object_r:hal_fingerprint_default_exec:s0 /(vendor|system/vendor)/bin/hw/vendor.samsung.hardware.thermal@1.0-service u:object_r:hal_thermal_default_exec:s0 -/(vendor|system/vendor)/bin/hw/android.hardware.sensors@[0-9].[0-9]-service.samsung-multihal u:object_r:hal_sensors_default_exec:s0 +/(vendor|system/vendor)/bin/hw/android.hardware.sensors-service.samsung-multihal u:object_r:hal_sensors_default_exec:s0 /(vendor|system/vendor)/bin/hw/android.hardware.vibrator-service.sm7125 u:object_r:hal_vibrator_default_exec:s0 /(vendor|system/vendor)/bin/hw/android\.hardware\.health@2\.1-service-samsung u:object_r:hal_health_default_exec:s0