光环助手V3.2 RELEASE(20180419-1810)测试问题汇总(三.9和评论未完成)

This commit is contained in:
kehaoyuan
2018-04-22 18:52:08 +08:00
parent da79a972f7
commit cb2cdd98e8
31 changed files with 172 additions and 107 deletions

View File

@ -4,6 +4,7 @@ import android.content.Context;
import android.preference.PreferenceManager;
import android.text.TextUtils;
import com.gh.common.constant.Constants;
import com.gh.gamecenter.entity.LoginTokenEntity;
import com.gh.gamecenter.entity.UserInfoEntity;
@ -93,6 +94,10 @@ public class UserManager {
return mCommunityName;
}
public String getTokenId(Context context) {
return PreferenceManager.getDefaultSharedPreferences(context).getString(Constants.LOGIN_TOKEN_ID, null);
}
public void logout() {
mUserInfoEntity = null;
mLoginTokenEntity = null;