用户已经在房间不展示主播卡片
This commit is contained in:
@@ -315,7 +315,8 @@ public class MainActivity extends BaseMvpActivity<IMainView, MainPresenter>
|
||||
}
|
||||
|
||||
private void checkShowAnchorCardView() {
|
||||
if (touchRunnable != null && !mResumed) return;
|
||||
if (touchRunnable != null || !mResumed || AvRoomDataManager.get().mCurrentRoomInfo != null)
|
||||
return;
|
||||
int anchorCardViewType = DemoCache.readAnchorCardView();
|
||||
if (anchorCardViewType == 2) {
|
||||
if (CurrentTimeUtils.getCurrentTime() - DemoCache.readAnchorCardViewTime() > 15 * 60 * 1000) {
|
||||
|
Reference in New Issue
Block a user