email: allow to remove an email account

Change-Id: Id9ae4f09487c918ebfae9d1854b675e52aee534f
JIRA: CYAN-3420
Issue: https://jira.cyanogenmod.org/browse/CYAN-3420
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Automatic translation import

Change-Id: I63b25e96baba32ce037a09bb052e65b48ab5d27f
Automatic translation import

Change-Id: I381e2c7ab377eb4212d0706da87e33a055ab3ae8
Merge "email: allow to remove an email account" into cm-11.0
Email: Fix for crowdin

Change-Id: I4584fd0611224e74a68b50d80e91a4f655df56fd
email: don't report blank attachment location for dummy attachments

Change-Id: I650cd9f36180f72d2f11e26ca4e9dab499a3eaea
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
email: fix save attachment to storage for pop3 accounts

AttachmentUtilities#saveAttachment is never called for pop3 accounts, so the
attachment are never saved to storage when is requested by the user.
This change call saveAttachment method when the user request a sync of the pop3 account
and the document was saved previously in the internal database storage.

Change-Id: If5a857eb40b7153ef9f1278e78b98f63e35b431d
JIRA: CYAN-3762
Issue: https://jira.cyanogenmod.org/browse/CYAN-3762
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
email: display a "load more" button

If the message is partial loaded, then show a "load more" button instead of an attachment
bar. A partial message doesn't implies that the message contains attachments or that
all attachment were loaded.

Change-Id: Icac484a04d086c0cf3b3099b071c0c123aec2344
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
email: prevent NPE in EmailProvider

Check that we have loaded a valid cursor. After deleting an account some query could
return a null cursor.

Change-Id: Ief2f948a61a308d9e17af80730612a02306336e5
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
email: add auto fetch attachments for POP3 accounts

This change adds an option to allow auto fetch the complete POP3 message.

Change-Id: Id92a46a8f84a575160f04003f72dfe513441d356
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
email: hide send feedback menu if feedback uri is empty

Feedback uri is not set for stock email app. Just hide the menu if the
send feedback uri is empty.

Change-Id: I8f65975124ecf6c415ebf2e64da68bbdd5430b94
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
email: fill from autodiscover data when available

If the autodiscover was successful, then use that data to fill and validate the
Exchange account.

Change-Id: Ib265f315cf4032028f645d835aa1232074e40e96
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Email: Set untranslatable

Change-Id: Ibad2857b4b1470a0e1e4b468deeebc8c6f75f385
Automatic translation import

Change-Id: Ic6123e7d6fda534b75d3c53028c4484f822c0d9e
Merge branch 'upstream/cm-11.0'