Merge cherrypicks of ['googleplex-android-review.googlesource.com/20729301'] into tm-qpr2-release.

Change-Id: I57684821f09bb3d5f85a140cc222b13271f7f625
This commit is contained in:
Android Build Coastguard Worker 2023-02-14 18:20:15 +00:00
commit 32c0521342

View file

@ -19,3 +19,7 @@ allow hal_usb_gadget_impl proc_irq:file w_file_perms;
# allow gadget hal to search hsi2c dir and write to usb_limit_accessory_enable/current # allow gadget hal to search hsi2c dir and write to usb_limit_accessory_enable/current
allow hal_usb_gadget_impl sysfs_batteryinfo:dir r_dir_perms; allow hal_usb_gadget_impl sysfs_batteryinfo:dir r_dir_perms;
allow hal_usb_gadget_impl sysfs_batteryinfo:file rw_file_perms; allow hal_usb_gadget_impl sysfs_batteryinfo:file rw_file_perms;
# allow gadget hal to access extcon node
allow hal_usb_gadget_impl sysfs_extcon:dir search;
allow hal_usb_gadget_impl sysfs_extcon:file r_file_perms;