Added Gmail state

This commit is contained in:
M66B
2020-10-26 09:31:10 +01:00
parent bacc2c1024
commit 8c8d3c8ddf
7 changed files with 166 additions and 82 deletions

View File

@@ -987,7 +987,9 @@ public class FragmentIdentity extends FragmentBase {
if (identity == null)
return null;
return ServiceAuthenticator.getGmailToken(context, identity.user);
GmailState state = GmailState.jsonDeserialize(identity.password);
state.refresh(context, identity.user, true);
return state.jsonSerializeString();
}
@Override