优化上一版的代码问题
This commit is contained in:
@ -45,6 +45,7 @@ import com.gh.common.util.ImageUtils;
|
||||
import com.gh.common.util.MtaHelper;
|
||||
import com.gh.common.util.NetworkUtils;
|
||||
import com.gh.common.util.PackageUtils;
|
||||
import com.gh.common.util.ShareUtils;
|
||||
import com.gh.common.util.UploadImageUtils;
|
||||
import com.gh.gamecenter.entity.ErrorEntity;
|
||||
import com.gh.gamecenter.entity.InstallGameEntity;
|
||||
@ -702,11 +703,12 @@ public class SuggestionActivity extends BaseActivity implements OnRequestCallBac
|
||||
}
|
||||
if (mHideHint.equals("APP闪退:")) //只有是APP闪退反馈成功后弹出联系客服的弹窗
|
||||
{
|
||||
DialogUtils.showWarningDialog(SuggestionActivity.this, "反馈成功", "您也可以联系客服进一步描述闪退的情况,如果您反馈的是新问题,即有机会获得红包奖励", "暂不", "联系客服",
|
||||
String str = "您也可以联系客服进一步描述闪退的情况,如果您反馈的是新问题,即有机会获得红包奖励";
|
||||
DialogUtils.showWarningDialog(SuggestionActivity.this, "反馈成功", Html.fromHtml(str.substring(0, str.indexOf("红包奖励")) + "<font color='#FF0000'>红包奖励</font>"), "暂不", "联系客服",
|
||||
() -> {
|
||||
if (checkApkExist(getBaseContext(), "com.tencent.mobileqq")) {
|
||||
if (ShareUtils.isQQClientAvailable(getBaseContext())) {
|
||||
finish();
|
||||
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("mqqwpa://im/chat?chat_type=wpa&uin=2586716223&version=1")));
|
||||
DirectUtils.directToQqConversation(getBaseContext(), "2586716223");
|
||||
} else {
|
||||
toast("本机未安装QQ应用");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user