From 53836e572eb4b402140a02da949f3e3d0ca146ed Mon Sep 17 00:00:00 2001 From: Andrew Sapperstein Date: Thu, 16 May 2013 17:55:42 -0700 Subject: [PATCH] Enable "move to" from trash. Fixes b/8986915. Forgot to set a flag in the FolderCapabilities. Change-Id: I202e46d89fe5705e3ddd05b1fbd0c8cd9f8fae0d --- src/com/android/email/provider/EmailProvider.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/com/android/email/provider/EmailProvider.java b/src/com/android/email/provider/EmailProvider.java index 0056b209f..cc5cafc26 100644 --- a/src/com/android/email/provider/EmailProvider.java +++ b/src/com/android/email/provider/EmailProvider.java @@ -2405,6 +2405,7 @@ public class EmailProvider extends ContentProvider { // For trash, we don't allow undo if (type == Mailbox.TYPE_TRASH) { caps = UIProvider.FolderCapabilities.CAN_ACCEPT_MOVED_MESSAGES | + UIProvider.FolderCapabilities.ALLOWS_REMOVE_CONVERSATION | UIProvider.FolderCapabilities.CAN_HOLD_MAIL | UIProvider.FolderCapabilities.DELETE | UIProvider.FolderCapabilities.DELETE_ACTION_FINAL;