update 屏蔽看视频页面打招呼弹框
This commit is contained in:
parent
457e47e885
commit
a5acbb0146
@ -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();
|
||||
}
|
||||
|
||||
|
@ -76,7 +76,6 @@ public class MessageSayHiNotifyManager {
|
||||
Log.i(TAG, "onSuccess: 定时器为关,不再轮训");
|
||||
return;
|
||||
}
|
||||
data.setNextTime(RandomUtil.nextInt(30));
|
||||
hiBean = data;
|
||||
showDialog(data);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user