From: Ernest Borowski Date: Wed, 14 Jul 2021 13:31:09 +0000 (+0000) Subject: Always log update progress inside ua. X-Git-Tag: submit/tizen/20210817.140154 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Ftags%2Fsubmit%2Ftizen%2F20210817.140154;p=platform%2Fcore%2Fsystem%2Ftota-ua.git Always log update progress inside ua. Progress was not reported during headless upgrade. This information is required for os-upgrade automatic tests. Change-Id: Ic2ca02f1d1b92b90329abee516c7d15b6ffd7ca1 Signed-off-by: Ernest Borowski --- diff --git a/src/ua.c b/src/ua.c index bf42608..d1412c9 100755 --- a/src/ua.c +++ b/src/ua.c @@ -174,8 +174,7 @@ void fota_gui_progress(void * pbUserData, unsigned long uPercent) } percent = from + ((to - from) * percent / 100); - if (ua_op_mode == UA_OP_MODE_FG) - fota_gui_update_progress(percent); /* update progress bar and text */ + fota_gui_update_progress(percent); /* update progress bar and text */ LOGL(LOG_FUNCS|LOG_GUI, "-- uPercent=%lu, Print Percent(%d%%)\n", uPercent, percent); }