From 60dd9ddce9e75a4ef4c404b2178cc68c5df7f572 Mon Sep 17 00:00:00 2001 From: Zhuoyao Zhang Date: Fri, 19 Apr 2024 00:07:59 +0000 Subject: [PATCH] Support tool event logging for ADB invocations Note that tool logging is still disabled by default. This change validates that the ADB shell function does not break any user flows when integrated with the logging facility. Test: adb devices -l Bug: 331638854 Change-Id: Ic27fd44c9385ca48df79f2d7570c037b6fe18232 --- envsetup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/envsetup.sh b/envsetup.sh index ca75132e11..ab43ada1f6 100644 --- a/envsetup.sh +++ b/envsetup.sh @@ -1100,7 +1100,7 @@ function adb() { echo "Command adb not found; try lunch (and building) first?" return 1 fi - $ADB "${@}" + run_tool_with_logging "ADB" $ADB "${@}" } function run_tool_with_logging() {