Support sending vendor command to GL852G via libusbhost am: 1f54dc7256 am: 4b7fa3fe06

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/22129755

Change-Id: I96e444f1592fdd6dc6c52505dda1db15dc7e8ade
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Roy Luo 2023-04-06 02:51:26 +00:00 committed by Automerger Merge Worker
commit e48dafb3f0

View file

@ -24,3 +24,8 @@ hal_client_domain(hal_usb_impl, hal_thermal);
# For reading the usb-c throttling stats
allow hal_usb_impl sysfs_usbc_throttling_stats:file r_file_perms;
# For issuing vendor commands to USB hub via libusbhost
allow hal_usb_impl device:dir r_dir_perms;
allow hal_usb_impl usb_device:chr_file rw_file_perms;
allow hal_usb_impl usb_device:dir r_dir_perms;