msm8976-common: Go back passthrough sensors implementation

* Apparently hwbinder causes issues with adaptive
  brightness. Going back to passthrough seems to fix
  this issue.

Change-Id: I47d60d2d7fb52b5001df8a0d385acddebaa0ec84
This commit is contained in:
LuK1337 2018-04-10 01:08:06 +02:00
parent 64262acc1d
commit b15744fd7b
4 changed files with 7 additions and 8 deletions

View File

@ -176,7 +176,7 @@
</hal>
<hal format="hidl">
<name>android.hardware.sensors</name>
<transport>hwbinder</transport>
<transport arch="32+64">passthrough</transport>
<version>1.0</version>
<interface>
<name>ISensors</name>

View File

@ -269,8 +269,7 @@ PRODUCT_COPY_FILES += \
# Sensors
PRODUCT_PACKAGES += \
android.hardware.sensors@1.0-impl \
android.hardware.sensors@1.0-service
android.hardware.sensors@1.0-impl
# TimeKeep
PRODUCT_PACKAGES += \

View File

@ -1,5 +0,0 @@
allow hal_sensors_default sensors_data_file:file rw_file_perms;
allow hal_sensors_default iio_device:chr_file r_file_perms;
allow hal_sensors_default efs_file:dir search;
r_dir_file(hal_sensors_default, app_efs_file)

View File

@ -1,3 +1,8 @@
allow system_server qti_debugfs:file r_file_perms;
allow system_server sensors_data_file:file rw_file_perms;
allow system_server iio_device:chr_file r_file_perms;
allow system_server sysfs_mdnie:file rw_file_perms;
r_dir_file(system_server, app_efs_file)