sm8450-common: Add hals.conf to load sensors.xiaomi to odm and move notifier to subdir

Change-Id: I9e16531e60fa6a0122330ee352cddd0840feb39c
This commit is contained in:
Arian 2024-08-24 15:44:29 +02:00
parent e1dff23693
commit a8d56acc6f
19 changed files with 4 additions and 0 deletions

View file

@ -441,6 +441,9 @@ PRODUCT_PACKAGES += \
PRODUCT_PACKAGES += \
sensor-notifier
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/sensors/hals.conf:$(TARGET_COPY_OUT_ODM)/etc/sensors/hals.conf
$(foreach sku, taro diwali cape ukee, \
$(eval PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/sku_$(sku)/android.hardware.sensor.accelerometer.xml \

1
sensors/hals.conf Normal file
View file

@ -0,0 +1 @@
sensors.xiaomi.so