1. Remove unused group "wakelock". 2. Correct the right return value on setCurrentUsbFunctions. Bug: 266694076 Test: Boot to home and function work Change-Id: If0925a61e481e4deca560dc8dfc1be80a76c148f
19 lines
998 B
Text
19 lines
998 B
Text
service vendor.usb-gadget-hal /vendor/bin/hw/android.hardware.usb.gadget-service
|
|
class hal
|
|
user system
|
|
group system shell mtp
|
|
|
|
on post-fs
|
|
chown root system /sys/class/typec/port0/power_role
|
|
chown root system /sys/class/typec/port0/data_role
|
|
chown root system /sys/class/typec/port0/port_type
|
|
chown root system /sys/devices/platform/10d60000.hsi2c/i2c-2/i2c-max77759tcpc/contaminant_detection
|
|
chown root system /sys/devices/platform/11210000.usb/dwc3_exynos_otg_b_sess
|
|
chown root system /sys/devices/platform/11210000.usb/dwc3_exynos_otg_id
|
|
chown root system /sys/devices/platform/11210000.usb/usb_data_enabled
|
|
chmod 664 /sys/class/typec/port0/power_role
|
|
chmod 664 /sys/class/typec/port0/data_role
|
|
chmod 664 /sys/class/typec/port0/port_type
|
|
chmod 664 /sys/devices/platform/11210000.usb/dwc3_exynos_otg_b_sess
|
|
chmod 664 /sys/devices/platform/11210000.usb/dwc3_exynos_otg_id
|
|
chmod 664 /sys/devices/platform/11210000.usb/usb_data_enabled
|