Fixed bug number 10204.
This commit is contained in:
parent
3f8febd903
commit
a3015a5e1a
|
@ -1149,11 +1149,11 @@ static void UIFlowPhoto_OnExeZoomInStop(lv_obj_t* obj)
|
||||||
|
|
||||||
static void UIFlowPhoto_OnExeOpenPlayScreen(lv_obj_t* obj)
|
static void UIFlowPhoto_OnExeOpenPlayScreen(lv_obj_t* obj)
|
||||||
{
|
{
|
||||||
if (UIStorageCheck(STORAGE_CHECK_ERROR, NULL) == TRUE) {
|
// if (UIStorageCheck(STORAGE_CHECK_ERROR, NULL) == TRUE) {
|
||||||
gPhotoData.State = PHOTO_ST_WARNING_MENU;
|
// gPhotoData.State = PHOTO_ST_WARNING_MENU;
|
||||||
UIFlowWrnMsgAPI_Open_StringID(LV_PLUGIN_STRING_ID_STRID_PLEASE_INSERT_SD, 1000);
|
// UIFlowWrnMsgAPI_Open_StringID(LV_PLUGIN_STRING_ID_STRID_PLEASE_INSERT_SD, 1000);
|
||||||
return;
|
// return;
|
||||||
}
|
// }
|
||||||
Ux_SendEvent(&CustomPhotoObjCtrl, NVTEVT_FORCETO_PLAYBACK_MODE, 0);
|
Ux_SendEvent(&CustomPhotoObjCtrl, NVTEVT_FORCETO_PLAYBACK_MODE, 0);
|
||||||
}
|
}
|
||||||
// static void UIFlowPhoto_OnExeZoomOutStart(lv_obj_t* obj)
|
// static void UIFlowPhoto_OnExeZoomOutStart(lv_obj_t* obj)
|
||||||
|
|
|
@ -926,7 +926,7 @@ static void UIFlowPlay_OpenFile(lv_obj_t* obj)
|
||||||
g_PlbData.State = PLB_ST_IDLE;
|
g_PlbData.State = PLB_ST_IDLE;
|
||||||
update_playicons(g_PlbData.State);
|
update_playicons(g_PlbData.State);
|
||||||
PBView_DrawNoFile();
|
PBView_DrawNoFile();
|
||||||
UIFlowWrnMsgAPI_Open_StringID(LV_PLUGIN_STRING_ID_STRID_NO_IMAGE, warn_msgbox_auto_close_ms);
|
UIFlowWrnMsgAPI_Open_StringID(LV_PLUGIN_STRING_ID_STRING_NO_FILE, warn_msgbox_auto_close_ms);
|
||||||
g_bUIFlowWndPlayNoImgWndOpened = TRUE;
|
g_bUIFlowWndPlayNoImgWndOpened = TRUE;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -977,11 +977,13 @@ static void UIFlowPlay_ScrOpen(lv_obj_t* obj)
|
||||||
set_indev_keypad_group(obj);
|
set_indev_keypad_group(obj);
|
||||||
if (UIStorageCheck(STORAGE_CHECK_ERROR, NULL) == TRUE) {
|
if (UIStorageCheck(STORAGE_CHECK_ERROR, NULL) == TRUE) {
|
||||||
|
|
||||||
|
PBView_DrawNoFile();
|
||||||
|
g_bUIFlowWndPlayNoImgWndOpened = TRUE;
|
||||||
/* never closed */
|
/* never closed */
|
||||||
g_PlbData.State = PLB_ST_IDLE;
|
g_PlbData.State = PLB_ST_IDLE;
|
||||||
update_playicons(g_PlbData.State);
|
update_playicons(g_PlbData.State);
|
||||||
Ux_SendEvent(0, NVTEVT_SYSTEM_MODE, 1, PRIMARY_MODE_PHOTO);
|
// Ux_SendEvent(0, NVTEVT_SYSTEM_MODE, 1, PRIMARY_MODE_PHOTO);
|
||||||
UIFlowWrnMsgAPI_Open_StringID(LV_PLUGIN_STRING_ID_STRID_PLEASE_INSERT_SD, 0);
|
UIFlowWrnMsgAPI_Open_StringID(LV_PLUGIN_STRING_ID_STRING_NO_FILE, 3000);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1038,7 +1040,7 @@ static void UIFlowPlay_ChildScrClose(lv_obj_t* obj, const void * data)
|
||||||
//#NT#Support IVOT_N12144_CO-148_A
|
//#NT#Support IVOT_N12144_CO-148_A
|
||||||
PBView_DrawNoFile();
|
PBView_DrawNoFile();
|
||||||
//#NT#2023/11/14#Eric - end
|
//#NT#2023/11/14#Eric - end
|
||||||
UIFlowWrnMsgAPI_Open_StringID(LV_PLUGIN_STRING_ID_STRID_NO_IMAGE, warn_msgbox_auto_close_ms);
|
UIFlowWrnMsgAPI_Open_StringID(LV_PLUGIN_STRING_ID_STRING_NO_FILE, warn_msgbox_auto_close_ms);
|
||||||
g_bUIFlowWndPlayNoImgWndOpened = TRUE;
|
g_bUIFlowWndPlayNoImgWndOpened = TRUE;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
@ -1061,7 +1063,7 @@ static void UIFlowPlay_ChildScrClose(lv_obj_t* obj, const void * data)
|
||||||
//#NT#Support IVOT_N12144_CO-148_A
|
//#NT#Support IVOT_N12144_CO-148_A
|
||||||
PBView_DrawNoFile();
|
PBView_DrawNoFile();
|
||||||
//#NT#2023/11/14#Eric - end
|
//#NT#2023/11/14#Eric - end
|
||||||
UIFlowWrnMsgAPI_Open_StringID(LV_PLUGIN_STRING_ID_STRID_NO_IMAGE, warn_msgbox_auto_close_ms);
|
UIFlowWrnMsgAPI_Open_StringID(LV_PLUGIN_STRING_ID_STRING_NO_FILE, warn_msgbox_auto_close_ms);
|
||||||
g_bUIFlowWndPlayNoImgWndOpened = TRUE;
|
g_bUIFlowWndPlayNoImgWndOpened = TRUE;
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user