summaryrefslogtreecommitdiffstats
path: root/emailsync/src
diff options
context:
space:
mode:
Diffstat (limited to 'emailsync/src')
-rw-r--r--emailsync/src/com/android/emailsync/SyncManager.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/emailsync/src/com/android/emailsync/SyncManager.java b/emailsync/src/com/android/emailsync/SyncManager.java
index 18503fd54..2ec6f36d8 100644
--- a/emailsync/src/com/android/emailsync/SyncManager.java
+++ b/emailsync/src/com/android/emailsync/SyncManager.java
@@ -1259,6 +1259,9 @@ public abstract class SyncManager extends Service implements Runnable {
}
public void setMailboxLastSyncResult(long id, int result) {
+ if (result != EmailContent.LAST_SYNC_RESULT_SUCCESS) {
+ LogUtils.w(TAG, new Throwable(), "setMailboxLastSyncResult %d", result);
+ }
ContentValues values = new ContentValues();
values.put(Mailbox.UI_LAST_SYNC_RESULT, result);
mResolver.update(ContentUris.withAppendedId(Mailbox.CONTENT_URI, id), values, null, null);