Log tasks sent to google, restore debuggable build

pull/413/head
Alex Baker 10 years ago
parent ad28d84617
commit 167553e9e5

@ -46,6 +46,11 @@ android {
debug { debug {
testCoverageEnabled true testCoverageEnabled true
} }
// https://code.google.com/p/android/issues/detail?id=123771
debuggable.initWith(buildTypes.debug)
debuggable {
testCoverageEnabled false
}
release { release {
minifyEnabled true minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard.pro' proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard.pro'

@ -97,6 +97,7 @@ public class GtasksInvoker {
} }
public Task createGtask(String listId, Task task, String parent, String priorSiblingId) throws IOException { public Task createGtask(String listId, Task task, String parent, String priorSiblingId) throws IOException {
Timber.d("createGtask: %s", prettyPrint(task));
return execute(service return execute(service
.tasks() .tasks()
.insert(listId, task) .insert(listId, task)
@ -105,6 +106,7 @@ public class GtasksInvoker {
} }
public void updateGtask(String listId, Task task) throws IOException { public void updateGtask(String listId, Task task) throws IOException {
Timber.d("updateGtask: %s", prettyPrint(task));
execute(service execute(service
.tasks() .tasks()
.update(listId, task.getId(), task)); .update(listId, task.getId(), task));

Loading…
Cancel
Save