mirror of
https://github.com/team-infusion-developers/android_device_samsung_msm8976-common.git
synced 2024-11-07 06:19:20 +00:00
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:
parent
64262acc1d
commit
b15744fd7b
4 changed files with 7 additions and 8 deletions
|
@ -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>
|
||||
|
|
|
@ -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 += \
|
||||
|
|
|
@ -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)
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue