Enable "move to" from trash.
Fixes b/8986915. Forgot to set a flag in the FolderCapabilities. Change-Id: I202e46d89fe5705e3ddd05b1fbd0c8cd9f8fae0d
This commit is contained in:
parent
5f1dbb7e66
commit
53836e572e
@ -2405,6 +2405,7 @@ public class EmailProvider extends ContentProvider {
|
|||||||
// For trash, we don't allow undo
|
// For trash, we don't allow undo
|
||||||
if (type == Mailbox.TYPE_TRASH) {
|
if (type == Mailbox.TYPE_TRASH) {
|
||||||
caps = UIProvider.FolderCapabilities.CAN_ACCEPT_MOVED_MESSAGES |
|
caps = UIProvider.FolderCapabilities.CAN_ACCEPT_MOVED_MESSAGES |
|
||||||
|
UIProvider.FolderCapabilities.ALLOWS_REMOVE_CONVERSATION |
|
||||||
UIProvider.FolderCapabilities.CAN_HOLD_MAIL |
|
UIProvider.FolderCapabilities.CAN_HOLD_MAIL |
|
||||||
UIProvider.FolderCapabilities.DELETE |
|
UIProvider.FolderCapabilities.DELETE |
|
||||||
UIProvider.FolderCapabilities.DELETE_ACTION_FINAL;
|
UIProvider.FolderCapabilities.DELETE_ACTION_FINAL;
|
||||||
|
Loading…
Reference in New Issue
Block a user