|
|
|
@ -27,7 +27,7 @@ public class GtasksTokenValidator {
|
|
|
|
* @param token
|
|
|
|
* @param token
|
|
|
|
* @return valid token on success, null on failure
|
|
|
|
* @return valid token on success, null on failure
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public static String validateAuthToken(Context c, String token) throws GoogleTasksException {
|
|
|
|
public static synchronized String validateAuthToken(Context c, String token) throws GoogleTasksException {
|
|
|
|
GoogleAccountManager accountManager = new GoogleAccountManager(ContextManager.getContext());
|
|
|
|
GoogleAccountManager accountManager = new GoogleAccountManager(ContextManager.getContext());
|
|
|
|
|
|
|
|
|
|
|
|
if(testToken(token))
|
|
|
|
if(testToken(token))
|
|
|
|
|