From 6daaf76459b955b82dbc0775c4d318076e4e14a3 Mon Sep 17 00:00:00 2001 From: Marc Blank Date: Wed, 18 Nov 2009 17:20:44 -0800 Subject: [PATCH] Don't allow "trash" to be synced (Fixes #2116463) Change-Id: Ib35bb86641b473194fea32b55db328a44de1c67b --- src/com/android/exchange/SyncManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/android/exchange/SyncManager.java b/src/com/android/exchange/SyncManager.java index ce71e842e..25f77377c 100644 --- a/src/com/android/exchange/SyncManager.java +++ b/src/com/android/exchange/SyncManager.java @@ -294,8 +294,8 @@ public class SyncManager extends Service implements Runnable { kick("start outbox"); // Outbox can't be synced in EAS return; - } else if (m.mType == Mailbox.TYPE_DRAFTS) { - // Drafts can't be synced in EAS + } else if (m.mType == Mailbox.TYPE_DRAFTS || m.mType == Mailbox.TYPE_TRASH) { + // Drafts & Trash can't be synced in EAS return; } startManualSync(mailboxId, SyncManager.SYNC_SERVICE_START_SYNC, null);