sanders: build a 32bit version of sensorservice

system_server is currently responable of starting SensorService and
since it is a 64bit instance, system looks for 64bit sensorhal.
Disable this mechanism and manually start SensorService with a 32bit
copy of sensorservice to force the system using the 32bit HAL

This is based on vache's work on potter
This commit is contained in:
Alberto97
2018-01-04 16:10:01 +01:00
committed by therootlord
parent 89a3c53b3a
commit 94115d2162
3 changed files with 28 additions and 1 deletions

View File

@@ -346,7 +346,8 @@ PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/sensors/sensor_def_qcomdev.conf:system/etc/sensors/sensor_def_qcomdev.conf
PRODUCT_PACKAGES += \
android.hardware.sensors@1.0-impl
android.hardware.sensors@1.0-impl \
sensorservice_32
# Thermal
PRODUCT_COPY_FILES += \