Minor fixes to google sync and shortening log

pull/14/head
Tim Su 14 years ago
parent 3229379d20
commit 5582bcae53

@ -259,8 +259,8 @@ public class GtasksTaskListUpdater {
indent = previousIndent.get() + 1;
metadata.setValue(GtasksMetadata.INDENT, indent);
long parent = parents.get(taskId);
if(parent < 0)
Long parent = parents.get(taskId);
if(parent == null || parent < 0)
parent = Task.NO_ID;
metadata.setValue(GtasksMetadata.PARENT_TASK, parent);

@ -10,6 +10,7 @@ import java.io.StringWriter;
import android.database.sqlite.SQLiteException;
import com.todoroo.andlib.service.ExceptionService.ErrorReporter;
import com.todoroo.astrid.producteev.api.ProducteevRestClient;
public class FlurryReporter implements ErrorReporter {
@ -30,6 +31,7 @@ public class FlurryReporter implements ErrorReporter {
// shorten the string
trace = trace.substring(message.length());
trace = trace.replaceAll(ProducteevRestClient.class.getName(), "!pdvRest");
trace = trace.replaceAll("com.todoroo.bente", "!ctb");
trace = trace.replaceAll("com.todoroo.astrid", "!cta");
trace = trace.replaceAll("com.todoroo.android", "!ctc");

Loading…
Cancel
Save