光环助手V3.2 RELEASE(20180419-1810)测试问题汇总(三.9和评论未完成)
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user