History log of /packages/apps/UnifiedEmail/src/com/android/mail/MailIntentService.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e806c9447c7137d2a7a828e7ccdc1f8961aa1c2a 07-Jun-2014 Alan Lau <alanlau@google.com> Better user experience for Gmail wear users.
* Skip undo on phone when the action is perform remotely
* mark conversation as read after reply.

Created separate pending intent for Wear actions. NotifActionIntentService
skips the Undo for remote actions. ComposeActivity adds a converstion uri
to start a service to resend notification.

Bug 15332337
Bug 15332837
Bug 15532541

Change-Id: I9fb51ec6ac393075b08f770bbc3b3490aab622e3
/packages/apps/UnifiedEmail/src/com/android/mail/MailIntentService.java
8913ca6aebe6017efe8060b61b8ad38eda95aa8b 15-May-2014 Andrew Sapperstein <asapperstein@google.com> Allow alternate sources for contact images.

Makes some classes that overridable in order
to provide alternative implementations:
ContactResolver, ContactResolverTask, ContactLoaderCallbacks,
and ContactPhotoFetcher all can be subclassed to provide new
behavior. Also added hooks in ControllableActivity
and MailIntentService to override building these classes.

NotificationUtils was also updated to force all calls
through MailIntentService which can be overridden.

Finally, moved the BitmapCache used in conversation list
to the activity level instead of at AnimatedAdapter-level
(which is effectively fragment level). This speeds up subsequent
queries for images dramatically. We reset the cache when changing
accounts.

b/11387812.

Change-Id: Ie70d800862b073163ccbfa5295d6950e57d64009
/packages/apps/UnifiedEmail/src/com/android/mail/MailIntentService.java
963c7e4f178037acebddfd13e16fc627ef368c82 05-Mar-2014 Andrew Sapperstein <asapperstein@google.com> RTL - get new BidiFormatter on locale change.

Fixes b/13026665.

Change-Id: I5ec05c39113fbc03134d7769e91145ba2aedac61
/packages/apps/UnifiedEmail/src/com/android/mail/MailIntentService.java
23e2b8a59defe139c529fbd486afcb3b32272047 27-Aug-2013 Andy Huang <ath@google.com> analytics: mark-read/unread, notification dismiss

Change-Id: I2fffd03f1d147b5ddea0733fe449a76d2fba989d
/packages/apps/UnifiedEmail/src/com/android/mail/MailIntentService.java
259df5b9e11908c8ef7c91483924891dd96b3c27 11-Jul-2013 Scott Kennedy <skennedy@google.com> Add a new FolderUri

This will allow us to add query parameters such that Uris will still
appear to be equal, regardless of differences in the parameters.

Bug: 9780067
Change-Id: Iafe39763b3ee448cf02536df89caa736500dfdaf
/packages/apps/UnifiedEmail/src/com/android/mail/MailIntentService.java
7f8aed6bea276d6069abbfbdb25263a9ec92a684 23-May-2013 Scott Kennedy <skennedy@google.com> Fix up some notification cancelling code

Add a method to cancel all notifications for one account, and ensure
that cancelling Folder notifications actually cancels the
notifications.

Bug: 7935576
Change-Id: I5d35665efdfe98a2a63692a00b2e5567d6d482a4
/packages/apps/UnifiedEmail/src/com/android/mail/MailIntentService.java
f78c53b07082f7b9ac836819981d07b51eb93bf4 06-May-2013 Scott Kennedy <skennedy@google.com> Remove MARK_SEEN action

This was never being acknowledged, and the only place that was using
it shouldn't have been using it.

Bug: 8816083
Change-Id: I4a4702b76bf006dd471f3e80f4032736aab42a5a
/packages/apps/UnifiedEmail/src/com/android/mail/MailIntentService.java
26b29ef558cce109c51584081c52781760a02dd9 29-Apr-2013 Scott Kennedy <skennedy@google.com> Resend notifications after an inbox type change

Bug: 8737525
Change-Id: I24b5c5a745cb94a3a93c423b7395cad8eed6d665
/packages/apps/UnifiedEmail/src/com/android/mail/MailIntentService.java
ddd17bc2963b67ba07dfd1e2d9b1f17abf8c8e4a 22-Apr-2013 Andrew Sapperstein <asapperstein@google.com> Resend notifications for undone account-folder.

Fixes b/7923968. Instead of resending all notifications
when the undo bar disappears, we only resend notifications
for the account-folder pair that had the undone notification.
This means that when the undo notification disappears,
no additional notifications will go out.

Change-Id: I55155e9abfbe34cc7c0fc4f0e6448a70e921413b
/packages/apps/UnifiedEmail/src/com/android/mail/MailIntentService.java
48cfe4613549cafdf36e2a524afba730522bf291 10-Apr-2013 Scott Kennedy <skennedy@google.com> Parse Folder out of intent

If we had a full Folder object as an extra, but no URI, we opened
the account's default inbox, instead of the desired folder.

Bug: 8526579
Change-Id: I64d1bdecea11e39fde5657910a3b3b2e22cd411a
/packages/apps/UnifiedEmail/src/com/android/mail/MailIntentService.java
87bd7a21437b8308a2b7225475b586c5670c5bef 21-Feb-2013 Vikram Aggarwal <viki@google.com> resolved conflicts for merge of affaa308 to jb-ub-mail-ur9

Change-Id: I4f92c0fe792eba761183a25da980d38154d1afc0
78324d6394baf31f05bf986f3f8e5fa0686011bd 21-Feb-2013 Vikram Aggarwal <viki@google.com> Recognize low disk, and propagate the appropriate error code

If the device gets in low disk space mode, Gmail sync will potentially
never succeed till the device recovers from this mode. In such a case,
propagate the appropriate code up to the UI so it can accurately
message the user.

This is Unified Email's half of the code, where we actually set the
storage_low/storage_ok state.

Bug: 7662097 Low Disk causes "No connection" dialog in gmail
Change-Id: I08004aad821b6c4f17ed6179e04726df9ec1b8b4
/packages/apps/UnifiedEmail/src/com/android/mail/MailIntentService.java
d5edd2d02649dffb40065fdb6a16acf91552b800 05-Dec-2012 Scott Kennedy <skennedy@google.com> Move notifications to UnifiedEmail

This involves redoing the persistence model, to split general,
account, and folder settings into separate SharedPreference stores.

It also requires some preferences to be moved into UnifiedEmail.

Depends on I71802444add85dc01f6645906a629ff80b964222 (UnifiedGmail)
Depends on Ie6ec389b5b5d2e7ab1b299d0877811ae716526e2 (Email)

Change-Id: Ibe2e3f93ec164370535ffc5f5b2409544cc8d36d
/packages/apps/UnifiedEmail/src/com/android/mail/MailIntentService.java
028340203f349737c6db2f8e5a4a86859c75042d 21-Dec-2012 Scott Kennedy <skennedy@google.com> Archiving conversation from notification should mark it seen

Bug: 7901223
Change-Id: Iebc2010ae0f489fd6955c88a1d32df94baa9ce68
/packages/apps/UnifiedEmail/src/com/android/mail/MailIntentService.java
a0da1dca62f29a036a2560b6d886fd9f16be28a0 21-Dec-2012 Scott Kennedy <skennedy@google.com> Remove an unused extra

This is no longer needed, as all references were removed in
I51790b1fe633baef5b9edae2e31ac76cb8d3eae1

Change-Id: Ie6467df1b90055e3601af11342008a31aa699147
/packages/apps/UnifiedEmail/src/com/android/mail/MailIntentService.java
f2566a42b5dec4e846391ee0d7ecae0891356653 15-Dec-2012 Scott Kennedy <skennedy@google.com> Remove notifications on reply/forward action

Clear the notifications when the user selects the reply/reply-all/
forward action.

Also fixes a bug with those actions not always doing the right thing.

Bug: 7742529
Change-Id: I479eef30864fe1fcae3e9c7aafaa21481e51d05c
/packages/apps/UnifiedEmail/src/com/android/mail/MailIntentService.java