Skip to content
Commit a1b0ff80 authored by Wang Han's avatar Wang Han Committed by Kader Bava
Browse files

RMX1921: Clear persist.vendor.usb.config on boot

 * QCOM init scripts set every possible debug option if USB modes
   are not set on boot. This is expensive and causes USB debugging
   to be enabled on boot every time. OEMs often fix this by
   themselves, so do us.

 * Note, once this prop is set, the issue can never be easily fixed
   as it is a persist prop. As we want to satisfy users without
   wiping data or playing with command line, just do
   "setprop persist.vendor.usb.config """ unconditionally.

  https://gitlab.com/LineageOS/issues/android/issues/308
  https://gitlab.com/LineageOS/issues/android/-/issues/4033
  https://gitlab.com/LineageOS/issues/android/-/issues/4204



Change-Id: I9c7175c085de6c0eb278ce8631b518d27e011065
Signed-off-by: default avatarJoey Huab <joey@evolution-x.org>
Signed-off-by: default avatarkaderbava <ksbava7325@gmail.com>
parent 6af9e964
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment