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.
  • Loading branch information
rom1v committed Dec 1, 2024
1 parent b6a18e4 commit b219765
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 b219765

Please sign in to comment.