if (status == SCREEN_STATUS_OFF)
{
g_video->PausePlay();
- printf("暂停视频\n");
+ // printf("暂停视频\n");
}
else if (status == SCREEN_STATUS_ON)
{
if (g_video->IsPaused())
{
g_video->ResumePlay();
- printf("恢复视频\n");
+ // printf("恢复视频\n");
}
else if (!g_video->IsPlayed())
{
g_video->StartPlay();
- printf("开始播放\n");
+ // printf("开始播放\n");
}
}
}
// #include "msg_center_customerC.h"
void show_notify_messgae() {
- printf("show_notify_messgae\n");
+ // printf("show_notify_messgae\n");
OHOS::NotificationManager::GetInstance()->SetNotifyPriority(PRIORITY_THREE);
OHOS::NotificationManager::GetInstance()->ShowNotify(
OHOS::CreateMessageView, TOPIC_EVENT_MESSAGENOTE, true);
/*显示消息提醒*/
static OHOS::UIViewGroup *showMessageNotify(void) {
OHOS::UIViewGroup *view = OHOS::CreateMessageView();
- printf("showMessageNotify %p",view);
+ // printf("showMessageNotify %p",view);
return view;
}
/*显示睡眠提醒*/
{
SleepViewEventListener::GetInstance().PopInterPlayMusic();
countsleep++;
- printf("countsleep: %d\n", countsleep);
+ // printf("countsleep: %d\n", countsleep);
}
}