Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6106f320 authored by Ying Wang's avatar Ying Wang Committed by Gerrit Code Review
Browse files

Merge "Do not add 'adb' to persist.sys.usb.config if already there"

parents 1a81a0ef 420e341a
Loading
Loading
Loading
Loading
+6 −5
Original line number Diff line number Diff line
@@ -37,6 +37,7 @@ def mangle_default_prop(prop):
  # (this is for userdebug builds)
  if prop.get("ro.debuggable") == "1":
    val = prop.get("persist.sys.usb.config")
    if "adb" not in val:
      if val == "":
        val = "adb"
      else: