dre: Implement ALS capture as AIDL service

Change-Id: I5d7522d2c8783e487ee9fdb7c90424ec2b5c8cab
This commit is contained in:
Georg Veichtlbauer 2024-02-19 08:26:45 +01:00 committed by Nick Reuter
parent 6f2744ce10
commit 57bdc981e2
2 changed files with 5 additions and 1 deletions

View file

@ -271,7 +271,8 @@ PRODUCT_PACKAGES += \
# Sensors
PRODUCT_PACKAGES += \
android.hardware.sensors-service.oplus-multihal
android.hardware.sensors-service.oplus-multihal \
vendor.lineage.oplus_als.service
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \

View file

@ -1,3 +1,6 @@
# ALS
vendor.sensors.als_correction.grabrect=996 1746 1124 1874
# Audio
aaudio.hw_burst_min_usec=2000
aaudio.mmap_exclusive_policy=2