We can verify via selinux policy that no capabilies are allowed,
so there's no reason to grant them in DAC. Currently this is
resulting in an selinux denial.
avc: denied { dac_override } for comm="usb@1.1-service" capability=1
scontext=u:r:hal_usb_impl:s0 tcontext=u:r:hal_usb_impl:s0
tclass=capability permissive=0
Test: build
Change-Id: Iddea654be7c8f374a2c5f3c4fbebf066deca1796
This CL rebases wahoo HAL based on the kernel change to update
sysfs interface.
https://partner-android-review.googlesource.com/#/c/836088/
Bug: 62272992
Test: Verify USB dialog on wahoo
Change-Id: I8bc8f494176c7648abeb9783fbd18dc837793bda
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