Skip to content

Commit c9774d9

Browse files
ted-xiecopybara-github
authored andcommitted
Merge #398 by ted-xie: Don't provide a default adb path
The default path prevents the $PATH search logic in the broker library from functioning. This should obviate #350, as long as users have `adb` somewhere in $PATH. Closes #398 COPYBARA_INTEGRATE_REVIEW=#398 from ted-xie:no_default_adb aef38a6 PiperOrigin-RevId: 791322866 Change-Id: I3f1c75fa8027a4a59d85670b62cb08f92ae1736a
1 parent 56359d3 commit c9774d9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/tools/mi/deployment/deploy_binary.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import (
3333

3434
var (
3535
adbArgs = flags.NewStringList("adb_arg", "Options for the adb binary.")
36-
adbPath = flag.String("adb", "/usr/bin/adb", "Path to the adb binary to use with mobile-install.")
36+
adbPath = flag.String("adb", "", "Path to the adb binary to use with mobile-install.")
3737
device = flag.String("device", "", "The adb device serial number.")
3838
javaHome = flag.String("java_home", "", "Path to JDK.")
3939
launchActivity = flag.String("launch_activity", "", "Activity to launch via am start -n package/.activity_to_launch.")

0 commit comments

Comments
 (0)