Fixed token creation for gtasks

pull/14/head
Tim Su 15 years ago
parent bb4635f0a0
commit 333c2e974f

@ -184,6 +184,7 @@ public class GtasksSyncProvider extends SyncProvider<GtasksTaskContainer> {
public void run() { public void run() {
String token = preferenceActivity.getAuthManager().getAuthToken(); String token = preferenceActivity.getAuthManager().getAuthToken();
if(token != null) { if(token != null) {
token = "auth=" + token;
gtasksPreferenceService.setToken(token); gtasksPreferenceService.setToken(token);
activity.startService(new Intent(SyncBackgroundService.SYNC_ACTION, null, activity.startService(new Intent(SyncBackgroundService.SYNC_ACTION, null,
activity, GtasksBackgroundService.class)); activity, GtasksBackgroundService.class));

Loading…
Cancel
Save