Prevent start usbd twice during booting

During init process, UsbGadget would setprop to
vendor.usb.config while it is null and
persist.vendor.usb.usbradio.config has value.
This action would cause starting usbd twice actually,
one from persist.vendor.usb.usbradio.config and another
from vendor.usb.config. Remove the persist prop action
to prevent this issue.

Bug: 146810930
Test: it only starts usbd once
Change-Id: I18a767fa21cd0fde09a49276f6bd01b257e4aa9e
Signed-off-by: Puma Hsu <pumahsu@google.com>
1 file changed
tree: e3aa9d9166cc8bdd286c5bba6af24c1d646d3d44
  1. audio/
  2. dumpstate/
  3. gpt-utils/
  4. health/
  5. hidl/
  6. json-c/
  7. keymaster/
  8. nfc/
  9. overlay/
  10. pixelstats/
  11. power/
  12. powerstats/
  13. recovery/
  14. seccomp_policy/
  15. self-extractors/
  16. sunfish/
  17. thermal-engine/
  18. usb/
  19. vibrator/
  20. voice_processing/
  21. .clang-format
  22. Android.bp
  23. Android.mk
  24. AndroidProducts.mk
  25. aosp_sunfish.mk
  26. audio_policy_configuration.xml
  27. audio_policy_configuration_a2dp_offload_disabled.xml
  28. audio_policy_configuration_bluetooth_legacy_hal.xml
  29. audio_policy_volumes.xml
  30. bluetooth_hearing_aid_audio_policy_configuration.xml
  31. board-info.txt
  32. BoardConfig-common.mk
  33. CleanSpec.mk
  34. compatibility_matrix.xml
  35. config.fs
  36. default-permissions.xml
  37. device-common.mk
  38. device-sunfish.mk
  39. device.mk
  40. device_framework_matrix.xml
  41. fingerprint.mk
  42. framework_manifest.xml
  43. fstab.hardware
  44. fstab.persist
  45. fstab.postinstall
  46. gps.conf
  47. init.fingerprint.sh
  48. init.hardware.chamber.rc.userdebug
  49. init.hardware.diag.rc.user
  50. init.hardware.diag.rc.userdebug
  51. init.hardware.ipa.rc.userdebug
  52. init.hardware.mpssrfs.rc.user
  53. init.hardware.mpssrfs.rc.userdebug
  54. init.hardware.power_debug.rc.userdebug
  55. init.hardware.rc
  56. init.hardware.usb.rc
  57. init.hardware.userdebug.rc.userdebug
  58. init.insmod.sh
  59. init.insmod.sunfish.cfg
  60. init.logging.rc
  61. init.mdm.sh
  62. init.msm.usb.configfs.rc
  63. init.power.rc
  64. init.qcom.modem_links.sh
  65. init.qcom.usb.rc
  66. init.qcom.usb.sh
  67. init.qti.getbootdevice.sh
  68. init.qti.qseecomd.sh
  69. init.radio.sh
  70. init.recovery.device.rc
  71. init.sensors.sh
  72. manifest.xml
  73. media_codecs.xml
  74. media_codecs_omx.xml
  75. media_profiles.xml
  76. media_profiles_V1_0.xml
  77. p2p_supplicant_overlay.conf
  78. powerhint.json
  79. product.prop
  80. recovery.wipe
  81. sec_config
  82. sensors.hals.conf
  83. thermal-engine-sunfish.conf
  84. thermal_info_config_sunfish.json
  85. ueventd.rc
  86. uinput-fpc.idc
  87. uinput-fpc.kl
  88. utils.mk
  89. WCNSS_qcom_cfg.ini
  90. wifi_concurrency_cfg.txt
  91. wpa_supplicant_overlay.conf
  92. wpa_supplicant_wcn.conf