光环助手V3.2 RELEASE(20180426-1800)测试问题汇总(1.2.9.10)
This commit is contained in:
@ -5,11 +5,7 @@ import android.content.Intent;
|
||||
import android.text.TextUtils;
|
||||
|
||||
import com.gh.gamecenter.LoginActivity;
|
||||
import com.gh.gamecenter.eventbus.EBReuse;
|
||||
import com.gh.gamecenter.manager.UserManager;
|
||||
import com.gh.gamecenter.personal.PersonalFragment;
|
||||
|
||||
import org.greenrobot.eventbus.EventBus;
|
||||
|
||||
/**
|
||||
* Created by khy on 28/06/17.
|
||||
@ -20,11 +16,6 @@ public class CheckLoginUtils {
|
||||
public static void checkLogin(final Context context, OnLoginListener listener) {
|
||||
// String token = LoginUtils.getToken(context);
|
||||
if (TextUtils.isEmpty(UserManager.getInstance().getToken())) {
|
||||
// 验证登录真实性
|
||||
if (!TextUtils.isEmpty(UserManager.getInstance().getTokenId(context))) {
|
||||
EventBus.getDefault().post(new EBReuse(PersonalFragment.LOGIN_RETRY));
|
||||
return;
|
||||
}
|
||||
AskLogUtils.login(context, "dialog", null);
|
||||
DialogUtils.showWarningDialog(context, "登录提示", "需要登录才能使用该功能喔!", "取消", "快速登录",
|
||||
new DialogUtils.ConfirmListener() {
|
||||
|
||||
Reference in New Issue
Block a user