测试更改

This commit is contained in:
18401019693 2022-11-18 13:42:02 +08:00
parent 6654fe0434
commit c08cf6ea57
2 changed files with 41 additions and 42 deletions

View File

@ -79,7 +79,6 @@ import com.yunbao.live.socket.SocketMessageListener;
import com.yunbao.live.socket.SocketRyChatUtil;
import com.yunbao.live.socket.SocketRyClient;
import com.yunbao.live.utils.LoadDian9TuUtil;
import com.yunbao.live.utils.UnzipFromAssets;
import com.yunbao.live.views.AbsLiveViewHolder;
import com.yunbao.live.views.LiveAddImpressViewHolder;
import com.yunbao.live.views.LiveAdminListViewHolder;
@ -93,12 +92,10 @@ import org.greenrobot.eventbus.EventBus;
import org.greenrobot.eventbus.Subscribe;
import org.greenrobot.eventbus.ThreadMode;
import java.io.File;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashSet;
import java.util.List;
import java.util.Objects;
/**
* Created by cxf on 2018/10/7.
@ -942,6 +939,7 @@ public abstract class LiveActivity extends AbsActivity implements SocketMessageL
* 聊天 消息
*/
public void sendChatMessage(String content, String atUserID, String atUserName) {
if (TextUtils.isEmpty(content)) return;
if (!mIsAnchor) {
UserBean u = CommonAppConfig.getInstance().getUserBean();
if (u != null && u.getLevel() < mChatLevel) {

View File

@ -546,9 +546,9 @@ public class MyWebViewActivity extends AbsActivity {
if (!TextUtils.isEmpty(event.getMethod())) {
if (TextUtils.equals(event.getMethod(), "androidCommunityGift")) {
Constants.nowPostsId = event.getPostsId();
EncourageDialog fragment = new EncourageDialog();
fragment.show(((MyWebViewActivity) mContext).getSupportFragmentManager(), "EncourageDialog");
}
} else if (TextUtils.equals(event.getMethod(), "modifyMydata")) {
indexInto = event.getIndexInto();
} else if (TextUtils.equals(event.getMethod(), "androidMethodLookToLive")) {
@ -587,3 +587,4 @@ public class MyWebViewActivity extends AbsActivity {
}
}
}
}