调整进游戏房就关掉小窗
This commit is contained in:
parent
2f54fdab12
commit
d8e9cc2189
@ -19,6 +19,7 @@ import com.alibaba.android.arouter.facade.annotation.Route;
|
|||||||
import com.alibaba.fastjson.JSONObject;
|
import com.alibaba.fastjson.JSONObject;
|
||||||
import com.google.gson.Gson;
|
import com.google.gson.Gson;
|
||||||
import com.lxj.xpopup.XPopup;
|
import com.lxj.xpopup.XPopup;
|
||||||
|
import com.lzf.easyfloat.EasyFloat;
|
||||||
import com.yunbao.common.CommonAppConfig;
|
import com.yunbao.common.CommonAppConfig;
|
||||||
import com.yunbao.common.Constants;
|
import com.yunbao.common.Constants;
|
||||||
import com.yunbao.common.R;
|
import com.yunbao.common.R;
|
||||||
@ -56,6 +57,7 @@ import com.yunbao.common.utils.ToastUtil;
|
|||||||
import com.yunbao.common.utils.WordUtil;
|
import com.yunbao.common.utils.WordUtil;
|
||||||
import com.yunbao.common.views.LiveSudGameHistoryPopup;
|
import com.yunbao.common.views.LiveSudGameHistoryPopup;
|
||||||
import com.yunbao.common.views.TopGradual;
|
import com.yunbao.common.views.TopGradual;
|
||||||
|
import com.yunbao.common.views.floatingview.APPEasyFloat;
|
||||||
import com.yunbao.common.views.weight.ViewClicksAntiShake;
|
import com.yunbao.common.views.weight.ViewClicksAntiShake;
|
||||||
import com.yunbao.live.dialog.LiveUserDialogFragment;
|
import com.yunbao.live.dialog.LiveUserDialogFragment;
|
||||||
|
|
||||||
@ -102,6 +104,9 @@ public class SudRyGameActivity extends AbsActivity implements GameRyMicManager.M
|
|||||||
Bus.getOn(this);
|
Bus.getOn(this);
|
||||||
super.main();
|
super.main();
|
||||||
initView();
|
initView();
|
||||||
|
//进游戏房就关掉小窗
|
||||||
|
EasyFloat.dismiss("LiveFloatView", true);
|
||||||
|
APPEasyFloat.getInstance().dismiss(mContext);
|
||||||
initDate();
|
initDate();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -54,6 +54,7 @@ import com.yunbao.common.utils.ToastUtil;
|
|||||||
import com.yunbao.common.utils.WordUtil;
|
import com.yunbao.common.utils.WordUtil;
|
||||||
import com.yunbao.common.views.LiveSudGameHistoryPopup;
|
import com.yunbao.common.views.LiveSudGameHistoryPopup;
|
||||||
import com.yunbao.common.views.TopGradual;
|
import com.yunbao.common.views.TopGradual;
|
||||||
|
import com.yunbao.common.views.floatingview.APPEasyFloat;
|
||||||
import com.yunbao.common.views.weight.ViewClicksAntiShake;
|
import com.yunbao.common.views.weight.ViewClicksAntiShake;
|
||||||
import com.yunbao.live.dialog.LiveUserDialogFragment;
|
import com.yunbao.live.dialog.LiveUserDialogFragment;
|
||||||
|
|
||||||
@ -106,6 +107,9 @@ public class SudSwGameActivity extends AbsActivity implements GameSwMicManager.M
|
|||||||
Bus.getOn(this);
|
Bus.getOn(this);
|
||||||
super.main();
|
super.main();
|
||||||
initView();
|
initView();
|
||||||
|
//进游戏房就关掉小窗
|
||||||
|
EasyFloat.dismiss("LiveFloatView", true);
|
||||||
|
APPEasyFloat.getInstance().dismiss(mContext);
|
||||||
initDate();
|
initDate();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -129,8 +133,6 @@ public class SudSwGameActivity extends AbsActivity implements GameSwMicManager.M
|
|||||||
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
//进游戏房就关掉小窗
|
|
||||||
EasyFloat.dismiss("LiveFloatView", true);
|
|
||||||
|
|
||||||
// 设置禁用麦克风采集
|
// 设置禁用麦克风采集
|
||||||
//RCRTCEngine.getInstance().getDefaultAudioStream().setMicrophoneDisable(disable);
|
//RCRTCEngine.getInstance().getDefaultAudioStream().setMicrophoneDisable(disable);
|
||||||
|
Loading…
Reference in New Issue
Block a user