删除sd卡文件,插拔sd卡回放切回emmc
This commit is contained in:
parent
7b6e5ea17f
commit
6be1c711d5
|
@ -368,8 +368,9 @@ static ER xUIPlay_FList_FDB_DelFile(UINT32 cmdID)
|
||||||
static ER xUIPlay_FList_DCF_DelFile(UINT32 cmdID)
|
static ER xUIPlay_FList_DCF_DelFile(UINT32 cmdID)
|
||||||
{
|
{
|
||||||
DBG_IND("cmdID=%d\r\n", cmdID);
|
DBG_IND("cmdID=%d\r\n", cmdID);
|
||||||
|
extern DCF_HANDLE ChangeHandle;
|
||||||
DCF_HANDLE dcf_handle = System_Get_DCF_Handle();
|
//DCF_HANDLE dcf_handle = System_Get_DCF_Handle();
|
||||||
|
DCF_HANDLE dcf_handle = ChangeHandle;
|
||||||
|
|
||||||
if (cmdID == PB_DELETE_ONE) {
|
if (cmdID == PB_DELETE_ONE) {
|
||||||
//#NT#2016/05/24#Ben Wang -begin
|
//#NT#2016/05/24#Ben Wang -begin
|
||||||
|
|
|
@ -2508,6 +2508,19 @@ static void UIFlowPlay_NVTMSG(lv_obj_t* obj, const LV_USER_EVENT_NVTMSG_DATA* ms
|
||||||
PBView_DrawNoFile();
|
PBView_DrawNoFile();
|
||||||
g_bUIFlowWndPlayNoImgWndOpened = TRUE;
|
g_bUIFlowWndPlayNoImgWndOpened = TRUE;
|
||||||
}
|
}
|
||||||
|
if (NULL != no_file_msgbox)
|
||||||
|
{
|
||||||
|
lv_obj_del(no_file_msgbox);
|
||||||
|
no_file_msgbox = NULL;
|
||||||
|
}
|
||||||
|
if(NULL != label_msgbox)
|
||||||
|
{
|
||||||
|
lv_obj_del(label_msgbox);
|
||||||
|
label_msgbox = NULL;
|
||||||
|
}
|
||||||
|
printf("[UIFlowPlay_NVTMSG]exit play handle change: %d. \n", FirstHandle);
|
||||||
|
ChangeHandle = FirstHandle;
|
||||||
|
FirstHandle = -1;
|
||||||
UIFlowPlay_Exit(obj);
|
UIFlowPlay_Exit(obj);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user