Allow vendor_init to set properties for recovery/fastbootd USB IDs

Bug: 211547922
Test: SELinuxUncheckedDenialBootTest
Test: Enter recovery/fastbootd mode
      $ lsusb -d 18d1:
Change-Id: Ibee1210c1a70a3165e70f9b3b57e11949e412c97
This commit is contained in:
Alex Hong 2023-01-13 22:28:23 +08:00
parent 11eb002e83
commit 1abf80e5c1
3 changed files with 6 additions and 0 deletions

View file

@ -36,6 +36,7 @@
ntfs
permissive_mte_prop
prng_seeder
recovery_usb_config_prop
remote_provisioning_service
rkpdapp
servicemanager_prop

View file

@ -702,6 +702,10 @@ ro.oem_unlock_supported u:object_r:oem_unlock_prop:s0 exact int
ro.rebootescrow.device u:object_r:rebootescrow_hal_prop:s0 exact string
ro.recovery.usb.vid u:object_r:recovery_usb_config_prop:s0 exact string
ro.recovery.usb.adb.pid u:object_r:recovery_usb_config_prop:s0 exact string
ro.recovery.usb.fastboot.pid u:object_r:recovery_usb_config_prop:s0 exact string
ro.storage_manager.enabled u:object_r:storagemanager_config_prop:s0 exact bool
ro.storage_manager.show_opt_in u:object_r:storagemanager_config_prop:s0 exact bool

View file

@ -164,6 +164,7 @@ system_vendor_config_prop(mm_events_config_prop)
system_vendor_config_prop(oem_unlock_prop)
system_vendor_config_prop(packagemanager_config_prop)
system_vendor_config_prop(recovery_config_prop)
system_vendor_config_prop(recovery_usb_config_prop)
system_vendor_config_prop(sendbug_config_prop)
system_vendor_config_prop(soc_prop)
system_vendor_config_prop(storage_config_prop)