dre: Implement ALS capture as AIDL service
Change-Id: I5d7522d2c8783e487ee9fdb7c90424ec2b5c8cab
This commit is contained in:
parent
6f2744ce10
commit
57bdc981e2
2 changed files with 5 additions and 1 deletions
|
@ -271,7 +271,8 @@ PRODUCT_PACKAGES += \
|
||||||
|
|
||||||
# Sensors
|
# Sensors
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
android.hardware.sensors-service.oplus-multihal
|
android.hardware.sensors-service.oplus-multihal \
|
||||||
|
vendor.lineage.oplus_als.service
|
||||||
|
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \
|
frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
# ALS
|
||||||
|
vendor.sensors.als_correction.grabrect=996 1746 1124 1874
|
||||||
|
|
||||||
# Audio
|
# Audio
|
||||||
aaudio.hw_burst_min_usec=2000
|
aaudio.hw_burst_min_usec=2000
|
||||||
aaudio.mmap_exclusive_policy=2
|
aaudio.mmap_exclusive_policy=2
|
||||||
|
|
Loading…
Reference in a new issue