From 34be0269f821b104a5cb0ba3aff7bbf5399f0e00 Mon Sep 17 00:00:00 2001 From: Matthew Brace Date: Fri, 26 Dec 2008 06:52:07 +0000 Subject: [PATCH] Added stubs for the added functions needed for the DAMail merge. Did not add @Override. Doing it this way to allow easier testing/modifications in preparation for the merge to trunk. All trunk changes will be committed to the DAMail merge branch next. --- src/com/android/email/mail/store/WebDavStore.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/com/android/email/mail/store/WebDavStore.java b/src/com/android/email/mail/store/WebDavStore.java index 38b7d5cb8..af68c6f8e 100644 --- a/src/com/android/email/mail/store/WebDavStore.java +++ b/src/com/android/email/mail/store/WebDavStore.java @@ -1210,6 +1210,18 @@ public class WebDavStore extends Store { public boolean equals(Object o) { return false; } + + public String getUidFromMessageId(Message message) throws MessagingException { + Log.e(Email.LOG_TAG, "Unimplemented method getUidFromMessageId in WebDavStore.WebDavFolder could lead to duplicate messages " + + " being uploaded to the Sent folder"); + return null; + } + + public void setFlags(Flag[] flags, boolean value) throws MessagingException { + Log.e(Email.LOG_TAG, "Unimplemented method setFlags(Flag[], boolean) breaks markAllMessagesAsRead and EmptyTrash"); + // Try to make this efficient by not retrieving all of the messages + return; + } } /**