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 <npes87184@gmail.com>
  • Loading branch information
npes87184 committed Jun 7, 2020
1 parent 3c1041c commit 2f8e863
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 2f8e863

Please sign in to comment.