修改账号被挤掉提示弹窗内容

This commit is contained in:
kehaoyuan
2019-07-12 16:48:45 +08:00
parent b6ab058cb4
commit 396862fc0a

View File

@ -166,10 +166,9 @@ public abstract class BaseActivity extends BaseToolBarActivity implements EasyPe
try {
JSONObject object = new JSONObject(showDialog.getPath());
JSONObject device = object.getJSONObject("device");
String manufacturer = device.getString("manufacturer");
String model = device.getString("model");
DialogUtils.showAlertDialog(this, "你的账号已在另外一台设备登录"
, StringUtils.buildString("", manufacturer, " - ", model, "")
, StringUtils.buildString("", model, "")
, "知道了", "重新登录"
, null
, () -> startActivity(LoginActivity.getIntent(BaseActivity.this,