修复插件平台图片(旧版本)无法更新问题, 优化登录

This commit is contained in:
kehaoyuan
2017-07-06 09:10:44 +08:00
parent a05e6917b8
commit 5930996e1c
8 changed files with 67 additions and 28 deletions

View File

@ -39,6 +39,8 @@ import rx.android.schedulers.AndroidSchedulers;
import rx.schedulers.Schedulers;
import static com.gh.gamecenter.R.id.setting_rl_about;
import static com.gh.gamecenter.personal.PersonalFragment.LOGIN_CODE;
import static com.gh.gamecenter.personal.PersonalFragment.LOGOUT_TAG;
import static java.lang.Thread.sleep;
/**
@ -224,6 +226,9 @@ public class SettingActivity extends BaseActivity implements OnClickListener {
"确定退出", "取消", new DialogUtils.ConfirmListener() {
@Override
public void onConfirm() {
Intent intent = new Intent();
intent.putExtra("loginStatus", LOGOUT_TAG);
setResult(LOGIN_CODE, intent);
finish();
}
}, null);