From: dyamy-lee Date: Fri, 6 Nov 2020 03:58:48 +0000 (+0900) Subject: fota_gui - common, wearable : when it get 100 percent, it goes directly. X-Git-Tag: submit/tizen/20201106.052508~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F10%2F247010%2F1;p=profile%2Fcommon%2Fapps%2Fnative%2Ffirmware-update-system-ui.git fota_gui - common, wearable : when it get 100 percent, it goes directly. Change-Id: I03220262d87b559b59b8c8a57c8036845b360891 --- diff --git a/fota_gui_common/fota_gr_direct_ro_common.c b/fota_gui_common/fota_gr_direct_ro_common.c index a685fa4..53d7d0d 100644 --- a/fota_gui_common/fota_gr_direct_ro_common.c +++ b/fota_gui_common/fota_gr_direct_ro_common.c @@ -384,9 +384,12 @@ static void _gr_direct_progress_bar(FbInfo *fbi, int progress) s_saved_percent = prog_pre; - count++; - if (count > 3) - break; + if(progress != 100) + { + count++; + if (count > 3) + break; + } } } diff --git a/fota_gui_wearable/fota_gr_direct_ro_wearable.c b/fota_gui_wearable/fota_gr_direct_ro_wearable.c index 3f79bc7..6342edc 100644 --- a/fota_gui_wearable/fota_gr_direct_ro_wearable.c +++ b/fota_gui_wearable/fota_gr_direct_ro_wearable.c @@ -386,10 +386,12 @@ static void _gr_direct_circle_progress_bar(FbInfo *fbi, int progress) release_png_res(); s_saved_percent = prog_pre; - count++; - - if (count > 3) - break; + if(progress != 100) + { + count++; + if (count > 3) + break; + } } }