Merge change Ib35bb866 into eclair-mr2
* changes: Don't allow "trash" to be synced (Fixes #2116463)
This commit is contained in:
commit
6b93f61eea
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user