sdm710-common: usb: Override stock usb hal service definition

* also bind mount to vendor

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
This commit is contained in:
SamarV-121 2020-03-11 13:49:44 +05:30
parent 74b1e7f2ef
commit a685c189e6
2 changed files with 3 additions and 1 deletions

View file

@ -4,6 +4,7 @@ on post-fs
mount none /system/etc/WCNSS_qcom_cfg.ini /vendor/etc/wifi/WCNSS_qcom_cfg.ini bind mount none /system/etc/WCNSS_qcom_cfg.ini /vendor/etc/wifi/WCNSS_qcom_cfg.ini bind
mount none /system/lib64/soundfx/libvolumelistener.so /vendor/lib64/soundfx/libvolumelistener.so bind mount none /system/lib64/soundfx/libvolumelistener.so /vendor/lib64/soundfx/libvolumelistener.so bind
mount none /system/lib/soundfx/libvolumelistener.so /vendor/lib/soundfx/libvolumelistener.so bind mount none /system/lib/soundfx/libvolumelistener.so /vendor/lib/soundfx/libvolumelistener.so bind
mount none /system/bin/hw/android.hardware.usb@1.0-service.basic /vendor/bin/hw/android.hardware.usb@1.0-service bind
on boot on boot
# Touchscreen # Touchscreen

View file

@ -1,4 +1,5 @@
service vendor.usb-hal-1-0 /vendor/bin/hw/android.hardware.usb@1.0-service.basic service vendor.usb-hal-1-0 /vendor/bin/hw/android.hardware.usb@1.0-service
override
class hal class hal
user system user system
group system group system