summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Albert Wang <albertccwang@google.com> 2021-12-08 14:39:41 +0800
committer Albert Wang <albertccwang@google.com> 2022-01-27 00:52:01 +0000
commit6b7769358f9f2a165ea6933d90746b8b95061c10 (patch)
treea639c9fa6423be58a6259407224fae18afe6c358
parentee5ceff61e4a7fdcbfdb1c9739b31e8d5a07155c (diff)
Revert "Turn off adb on user builds."
This reverts commit 8ad4bb16a0d8b8ff9b4d17e860db336111bef34d. Bug: 184103246 Test: forrest test build Change-Id: I9111ae2d6150dfed86c785e6db205c64e4c8d5e0
-rwxr-xr-xtools/post_process_props.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/tools/post_process_props.py b/tools/post_process_props.py
index efbf614fd5..38d17a81db 100755
--- a/tools/post_process_props.py
+++ b/tools/post_process_props.py
@@ -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.