Skip to content

Commit

Permalink
Log adb executable path
Browse files Browse the repository at this point in the history
Log the ADB executable path (at the DEBUG level) if it is not the
default one.

PR Genymobile#5560 <Genymobile#5560>
  • Loading branch information
rom1v committed Dec 2, 2024
1 parent 6d0ac36 commit dc6c279
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/src/adb/adb.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ bool
sc_adb_init(void) {
adb_executable = sc_get_env("ADB");
if (adb_executable) {
LOGD("Using adb: %s", adb_executable);
return true;
}

Expand All @@ -49,6 +50,8 @@ sc_adb_init(void) {
// Error already logged
return false;
}

LOGD("Using adb (portable): %s", adb_executable);
#endif

return true;
Expand Down

0 comments on commit dc6c279

Please sign in to comment.