Skip to content

Commit

Permalink
Show file successfully pushed
Browse files Browse the repository at this point in the history
Signed-off-by: Yu-Chen Lin <[email protected]>
  • Loading branch information
npes87184 committed Jun 13, 2020
1 parent 4b413d6 commit 4280d11
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/src/file_handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

#include "config.h"
#include "command.h"
#include "screen.h"
#include "util/lock.h"
#include "util/log.h"

Expand Down Expand Up @@ -145,6 +146,7 @@ run_file_handler(void *data) {
if (process_check_success(process, "adb push")) {
LOGI("%s successfully pushed to %s", req.file,
file_handler->push_target);
screen_add_text_event("File successfully pushed");
} else {
LOGE("Failed to push %s to %s", req.file,
file_handler->push_target);
Expand Down

0 comments on commit 4280d11

Please sign in to comment.