From 2b37fe6864ae2e6f30ff3418675d350c564f2723 Mon Sep 17 00:00:00 2001 From: Daniel Applebaum Date: Wed, 6 Jan 2010 03:44:23 +0000 Subject: [PATCH] Restore long-lost debugging line --- src/com/fsck/k9/mail/store/LocalStore.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/com/fsck/k9/mail/store/LocalStore.java b/src/com/fsck/k9/mail/store/LocalStore.java index 742523074..56f6f38d5 100644 --- a/src/com/fsck/k9/mail/store/LocalStore.java +++ b/src/com/fsck/k9/mail/store/LocalStore.java @@ -1365,7 +1365,11 @@ public class LocalStore extends Store implements Serializable } String oldUID = message.getUid(); - + + if (K9.DEBUG) + Log.d(K9.LOG_TAG, "Updating folder_id to " + lDestFolder.getId() + " for message with UID " + + message.getUid() + ", id " + lMessage.getId() + " currently in folder " + getName()); + message.setUid(K9.LOCAL_UID_PREFIX + UUID.randomUUID().toString()); mDb.execSQL("UPDATE messages " + "SET folder_id = ?, uid = ? " + "WHERE id = ?", new Object[]