Fixed bug number 10238.

This commit is contained in:
xiaojiazhu 2023-12-12 17:05:49 +08:00
parent 615962355e
commit d5282fedc0
2 changed files with 16 additions and 9 deletions

View File

@ -71,6 +71,7 @@ static BOOL g_PhotoBgInitFileSys = FALSE;
static BOOL g_SysStrg_Chg = FALSE;
//#NT#2023/11/21#Eric - end
static void sf_show_send_text(lv_obj_t* obj, const unsigned short status);
static lv_obj_t *g_preview_info_msgbox = NULL;
static lv_obj_t *g_preview_info_label = NULL;
static int g_preview_info_ishidden = true;
@ -600,14 +601,6 @@ static void update_4g_module_icon(void)
// Nothing changed.
// printf(" nothing changed.\n");
}
if (SENDING_NOT_SHOW < SendMsgShow)
{
SendMsgShow--;
if (SENDING_NOT_SHOW == SendMsgShow)
{
lv_obj_set_hidden(label_sim_scr_uiflowphoto, true);
}
}
// if(sf_cardv_4G_status_get() == SF_4G_SENDING)
// {
@ -635,6 +628,20 @@ const int EMPTY_IMAGE = 0;
}
static void update_gps_status(void)
{
if (SENDING_NOT_SHOW < SendMsgShow)
{
SendMsgShow--;
if (SENDING_NOT_SHOW == SendMsgShow)
{
lv_obj_set_hidden(label_sim_scr_uiflowphoto, true);
}
return;
}
if (TRUE == sf_get_send_statu())
{
sf_show_send_text(UIFlowPhoto, FILE_SENDING_GUI_START_SENDING);
return;
}
SF_GPS_STATUS_E status = sf_cardv_get_gps_status();
switch (status)
{

View File

@ -2097,7 +2097,7 @@ void sf_ui_sending_show(unsigned short status)
BOOL sf_get_send_statu(void)
{
printf("[%s]:%d IsSend:%d\n", __FUNCTION__, __LINE__,IsSend);
// printf("[%s]:%d IsSend:%d\n", __FUNCTION__, __LINE__,IsSend);
return IsSend;
}