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

Commit 41eb7e35 authored by Albert Wang's avatar Albert Wang Committed by Automerger Merge Worker
Browse files

Merge "Revert "Turn off adb on user builds."" am: 7be6751e

Original change: https://android-review.googlesource.com/c/platform/build/+/1913436

Change-Id: Ice7ef8d7512613dc5937e6fece5873ea9f8cd463
parents ed3eeff6 7be6751e
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -38,11 +38,6 @@ def mangle_build_prop(prop_list):
      else:
        val = val + ",adb"
      prop_list.put("persist.sys.usb.config", val)
  # UsbDeviceManager expects a value here.  If it doesn't get it, it will
  # default to "adb". That might not the right policy there, but it's better
  # to be explicit.
  if not prop_list.get_value("persist.sys.usb.config"):
    prop_list.put("persist.sys.usb.config", "none")

def validate_grf_props(prop_list, sdk_version):
  """Validate GRF properties if exist.