Commit b224e1fe by 霍志良

feat:打开分享埋点,倾诉去除弹窗

parent 3549fb27
...@@ -170,19 +170,6 @@ class ConfideWebServiceImpl { ...@@ -170,19 +170,6 @@ class ConfideWebServiceImpl {
isShowAXB: Boolean, isShowAXB: Boolean,
dialStatus: String dialStatus: String
) { ) {
//3G以下或者其他不确定异常能判断出来的
if (!ConfideNetworkUtil.isWifiOr3G(activity)) {
CommonDialog.create(activity)
.setTitle("温馨提示")
.setMessage("当前网络异常\n请使用普通电话拨打?")
.setLeftOnclick("暂不拨打") {
}
.setRightClick("普通电话拨号") {
connectionJava(confideId, 1, activity, tellData, "0")
}
.show()
} else {
if (expertInfo.listenerStatus != 1) { if (expertInfo.listenerStatus != 1) {
ToastHelper.show("老师正在通话中,请稍后重试") ToastHelper.show("老师正在通话中,请稍后重试")
return return
...@@ -218,7 +205,7 @@ class ConfideWebServiceImpl { ...@@ -218,7 +205,7 @@ class ConfideWebServiceImpl {
.withString(IntentConstants.INTENT_DIALSTATUS, dialStatus) .withString(IntentConstants.INTENT_DIALSTATUS, dialStatus)
.withBoolean(IntentConstants.INTENT_ISSHOWAXB, isShowAXB) .withBoolean(IntentConstants.INTENT_ISSHOWAXB, isShowAXB)
.navigation(activity) .navigation(activity)
}
} }
......
...@@ -1020,11 +1020,10 @@ public class NewH5Activity extends BaseActivity implements PtrHandler { ...@@ -1020,11 +1020,10 @@ public class NewH5Activity extends BaseActivity implements PtrHandler {
} }
private void initShareMenu() { private void initShareMenu() {
//暂时去掉分享按钮 tb_title.setRightIcon(getResources().getDrawable(R.drawable.web_common_share));
// tb_title.setRightIcon(getResources().getDrawable(R.drawable.web_common_share)); tb_title.setOnRightTextClick((view, isActive) -> {
// tb_title.setOnRightTextClick((view, isActive) -> { share(null, null);
// share(null, null); });
// });
LogUtil.d("setSeccessful"); LogUtil.d("setSeccessful");
} }
...@@ -1359,6 +1358,7 @@ public class NewH5Activity extends BaseActivity implements PtrHandler { ...@@ -1359,6 +1358,7 @@ public class NewH5Activity extends BaseActivity implements PtrHandler {
@Override @Override
protected void onDestroy() { protected void onDestroy() {
super.onDestroy();
cancelSendNetLossMessage(); cancelSendNetLossMessage();
EventBus.getDefault().unregister(this); EventBus.getDefault().unregister(this);
super.onDestroy(); super.onDestroy();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment