fix 修复一些反馈的问题
This commit is contained in:
parent
f3195bbcf8
commit
00db8a00c7
@ -52,6 +52,9 @@ public class OpenAdManager {
|
||||
if (list != null && list.isEmpty()) {
|
||||
return;
|
||||
}
|
||||
if(CommonAppContext.getTopActivity()==null){
|
||||
return;
|
||||
}
|
||||
LiveNetManager.get(CommonAppContext.getTopActivity())
|
||||
.activityPopup(new HttpCallback<List<OpenAdModel>>() {
|
||||
@Override
|
||||
|
@ -143,6 +143,7 @@ public class PluginManager {
|
||||
private void loadSo(File dir, String file) {
|
||||
file += ".so";
|
||||
if (new File(dir.getAbsolutePath() + File.separator + file).exists()) {
|
||||
Log.d(TAG, "加载 " + dir.getAbsolutePath() + File.separator + file);
|
||||
System.load(dir + File.separator + file);
|
||||
Log.d(TAG, "加载成功 " + dir + File.separator + file);
|
||||
} else {
|
||||
|
@ -26,5 +26,6 @@ ext {
|
||||
//是否上报异常日志
|
||||
isUploadLog : true,
|
||||
//是否打包成插件包模式
|
||||
isPluginModel : true, ]
|
||||
isPluginModel : false,
|
||||
]
|
||||
}
|
||||
|
@ -474,6 +474,10 @@ public class LiveExoPlayerManager {
|
||||
if (getNextPlayer() != null && getNextPlayer().isPlaying()) {
|
||||
getNextPlayer().stop();
|
||||
}
|
||||
if (task != null) {
|
||||
task.cancel();
|
||||
task = null;
|
||||
}
|
||||
clearUrl();
|
||||
}
|
||||
|
||||
|
@ -157,7 +157,7 @@ public class LiveLinkMicPkViewHolder extends AbsViewHolder {
|
||||
@Override
|
||||
public void onTextChanged(CharSequence s, int start, int before, int count) {
|
||||
Log.i("女神说", "倒计时状态:" + s);
|
||||
if (mTime.getVisibility() == View.VISIBLE) {
|
||||
if (mTime.getVisibility() == View.VISIBLE && !s.toString().contains(mContext.getString(R.string.live_pk_time_2))) {
|
||||
EventBus.getDefault().post(new LiveAudienceEvent()
|
||||
.setType(LiveAudienceEvent.LiveAudienceType.LIVE_PK_ING));
|
||||
}
|
||||
|
@ -498,6 +498,7 @@ public class LivePushRyViewHolder extends AbsRyLivePushViewHolder implements ITX
|
||||
DialogUitl.showSimpleDialog(mContext,WordUtil.isNewZh()? "是否要斷開連麥?":"Do you want to disconnect Link?", new DialogUitl.SimpleCallback() {
|
||||
@Override
|
||||
public void onConfirmClick(Dialog dialog, String content) {
|
||||
Log.i("PK----->", "updateSub: "+isPk+"|");
|
||||
aheadOfScheduleEndPK(mPkUid, CommonAppConfig.getInstance().getUserBean().getUserNiceName(), (String) tv_avatarOther_name.getTag());
|
||||
//断开连麦
|
||||
LiveRyAnchorActivity.isDRPK = 0;
|
||||
@ -1056,5 +1057,6 @@ public class LivePushRyViewHolder extends AbsRyLivePushViewHolder implements ITX
|
||||
} else if (event.getType() == LIVE_PK_ING) {
|
||||
isPk = true;
|
||||
}
|
||||
Log.i("PK----->", "updateSub: "+isPk+"|"+event.getType());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user