From 4280d1123a32d88071287635ca42a0c11ee2c8ce Mon Sep 17 00:00:00 2001 From: Yu-Chen Lin Date: Sun, 7 Jun 2020 21:07:03 +0800 Subject: [PATCH] Show file successfully pushed Signed-off-by: Yu-Chen Lin --- app/src/file_handler.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/file_handler.c b/app/src/file_handler.c index ba689404f7..54fbab1958 100644 --- a/app/src/file_handler.c +++ b/app/src/file_handler.c @@ -5,6 +5,7 @@ #include "config.h" #include "command.h" +#include "screen.h" #include "util/lock.h" #include "util/log.h" @@ -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);