update 屏蔽看视频页面打招呼弹框

This commit is contained in:
zlzw 2024-03-21 15:11:48 +08:00
parent 457e47e885
commit a5acbb0146
2 changed files with 5 additions and 1 deletions

View File

@ -67,6 +67,7 @@ import com.yunbao.main.activity.MainActivity;
import com.yunbao.main.activity.MainHomeCommunityActivity;
import com.yunbao.main.activity.MsgSettActivity;
import com.yunbao.main.activity.PDLiveConversationActivity;
import com.yunbao.video.activity.VideoPlayActivity;
import org.greenrobot.eventbus.EventBus;
@ -126,6 +127,10 @@ public class AppContext extends CommonAppContext {
MessageSayHiNotifyManager.getInstance().stop();
return;
}
if(activity instanceof VideoPlayActivity){
MessageSayHiNotifyManager.getInstance().stop();
return;
}
MessageSayHiNotifyManager.getInstance().reload();
}

View File

@ -76,7 +76,6 @@ public class MessageSayHiNotifyManager {
Log.i(TAG, "onSuccess: 定时器为关,不再轮训");
return;
}
data.setNextTime(RandomUtil.nextInt(30));
hiBean = data;
showDialog(data);
}