mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-01-31 07:34:34 +00:00
This CL adds support to notify frameworks when an audio or debug accessory is attached. Bug: 36604276 Test: Manually test inserting an Audio accessory. Change-Id: I9ec0f88ed85ed593b31132ba58bfedb51a435cd8
11 lines
368 B
Plaintext
11 lines
368 B
Plaintext
service usb-hal-1-1 /vendor/bin/hw/android.hardware.usb@1.1-service.wahoo
|
|
class hal
|
|
user system
|
|
group system
|
|
|
|
on boot
|
|
chown root system /sys/class/typec/usbc0/current_power_role
|
|
chown root system /sys/class/typec/usbc0/current_data_role
|
|
chmod 664 /sys/class/typec/usbc0/current_power_role
|
|
chmod 664 /sys/class/typec/usbc0/current_data_role
|