6
pull/13/head
phkej5qlp 7 months ago
commit 07d3b75f68

@ -1,3 +1,4 @@
/*
* Copyright (c) 2010-2011, The MiCode Open Source Community (www.micode.net)
*
@ -208,4 +209,3 @@ public class NotesProvider extends ContentProvider {
* @return
*/

@ -54,6 +54,7 @@ public class Task extends Node {
mMetaInfo = null;
}
public JSONObject getCreateAction(int actionId) {
JSONObject js = new JSONObject();

@ -815,8 +815,8 @@ public class GTaskManager {
sqlNote.resetLocalModified();
//commit到本地数据库
sqlNote.commit(true);
}
/**
}
/**
* meta meta----------
* @author TTS
* @param gid
@ -825,7 +825,7 @@ public class GTaskManager {
* ---使SqlNote
* @throws NetworkFailureException
*/
private void updateRemoteMeta(String gid, SqlNote sqlNote) throws NetworkFailureException {
private void updateRemoteMeta(String gid, SqlNote sqlNote) throws NetworkFailureException {
if (sqlNote != null && sqlNote.isNoteType()) {
MetaData metaData = mMetaHashMap.get(gid);
if (metaData != null) {
@ -839,14 +839,14 @@ public class GTaskManager {
GTaskClient.getInstance().createTask(metaData);
}
}
}
/**
}
/**
* syncID
* @author TTS
* @return void
* @throws NetworkFailureException
*/
private void refreshLocalSyncId() throws NetworkFailureException {
private void refreshLocalSyncId() throws NetworkFailureException {
if (mCancelled) {
return;
}
@ -888,20 +888,20 @@ public class GTaskManager {
c = null;
}
}
}
/**
}
/**
* ,mAccount.name
* @author TTS
* @return String
*/
public String getSyncAccount() {
public String getSyncAccount() {
return GTaskClient.getInstance().getSyncAccount().name;
}
/**
}
/**
* mCancelledtrue
* @author TTS
*/
public void cancelSync() {
public void cancelSync() {
mCancelled = true;
}
}
}

@ -141,3 +141,4 @@ public class GTaskSyncService extends Service {
return mSyncProgress;
}
}

@ -34,7 +34,7 @@ import net.micode.notes.data.Notes.TextNote;
import java.util.ArrayList;
/**
/**
* Note
*/
public class Note {

@ -32,7 +32,7 @@ import net.micode.notes.data.Notes.TextNote;
import net.micode.notes.tool.ResourceParser.NoteBgResources;
/**
/**
* WorkingNote
*/
public class WorkingNote {

Loading…
Cancel
Save