Commit Graph

9565 Commits

Author SHA1 Message Date
Tony Mantler
a2b82c1a92 Coalesce notification updates to avoid spamming the notification tray
b/11115818

Change-Id: I1d8bfbb87c279c9967eee7295f31ddd7728b200c
2013-10-18 10:24:44 -07:00
Alon Albert
8c989772df Handle User Refresh in Edge Cases
Handle the following edge cases when a manual refresh is triggered:
* No connectivity
* Low storage space
* Timeout (sync not started)

Bug: 11241113
Change-Id: I580235d633fcb65999c0bfe8bf383c9c8ba72110
2013-10-18 09:32:47 -07:00
Tony Mantler
af52f20930 Update the folder sync status while searching in IMAP
b/7538620

Change-Id: I7bb0c706fd63b1fe7d20dc0f186934e0dcac2f06
2013-10-17 16:07:21 -07:00
Tony Mantler
571a4de8c4 am e2391fec: Fix resource overlay order for AOSP Email
* commit 'e2391fec5140f103773a642ed51c12ce94a20da0':
  Fix resource overlay order for AOSP Email
2013-10-17 14:33:15 -07:00
Tony Mantler
e2391fec51 Fix resource overlay order for AOSP Email
b/11255375

Change-Id: I2aa677024500b9944e9bce7846ba7488c28748a8
2013-10-17 12:07:22 -07:00
Tony Mantler
b5e2ec1b65 am 16467713: Merge "Don\'t bail out of downloading an attachment if the size is delcared as zero" into jb-ub-mail-ur10
* commit '164677131a481828590b03b3b4c7a8cdf6fadcee':
  Don't bail out of downloading an attachment if the size is delcared as zero
2013-10-17 11:09:03 -07:00
Tony Mantler
164677131a Merge "Don't bail out of downloading an attachment if the size is delcared as zero" into jb-ub-mail-ur10 2013-10-17 18:07:46 +00:00
Isaac Katzenelson
cff5933367 am 5cdffe37: Merge "Bump app version to test the play store DL" into jb-ub-mail-ur10
* commit '5cdffe3724dd739ab10f13cbb632ecade806921c':
  Bump app version to test the play store DL
2013-10-17 10:56:47 -07:00
Isaac Katzenelson
5cdffe3724 Merge "Bump app version to test the play store DL" into jb-ub-mail-ur10 2013-10-17 17:53:58 +00:00
Yu Ping Hu
5ac203cd8a am c084e818: Merge "Don\'t allow duplicate messages to appear in Sent folder" into jb-ub-mail-ur10
* commit 'c084e8188d87e57c109d246f81fccbc584900d54':
  Don't allow duplicate messages to appear in Sent folder
2013-10-17 10:42:38 -07:00
Yu Ping Hu
c084e8188d Merge "Don't allow duplicate messages to appear in Sent folder" into jb-ub-mail-ur10 2013-10-17 17:41:32 +00:00
Isaac Katzenelson
19a79dd319 Bump app version to test the play store DL
Bug: 11237949
Change-Id: I8ee575b22357bfaed616d8adee92991900f7e076
2013-10-17 10:35:01 -07:00
Tony Mantler
4aaf3f2e33 Don't bail out of downloading an attachment if the size is delcared as zero
b/11225306

Change-Id: If67401dd3e6b652b03fba2e71cfc82fdae80ccb2
2013-10-17 09:46:03 -07:00
Baligh Uddin
a5a367a1de am 42067b70: (-s ours) Merge "Import translations. DO NOT MERGE" into jb-ub-mail-ur10
* commit '42067b707bd965dc0e06c48fef8c8e5948ab075f':
  Import translations. DO NOT MERGE
2013-10-17 08:27:53 -07:00
Baligh Uddin
f96626ae5c Merge "Import translations. DO NOT MERGE" into jb-ub-mail-ur11 2013-10-17 15:25:54 +00:00
Baligh Uddin
42067b707b Merge "Import translations. DO NOT MERGE" into jb-ub-mail-ur10 2013-10-17 15:25:50 +00:00
Baligh Uddin
3d860534f8 Import translations. DO NOT MERGE
Change-Id: I0aca68da2e47d8b4eb72d6434f725439a251f96e
Auto-generated-cl: translation import
2013-10-17 02:01:20 -07:00
Baligh Uddin
2832edc06d Import translations. DO NOT MERGE
Change-Id: I7748428abd734eb9496d62e1aba9ea2a7c687c14
Auto-generated-cl: translation import
2013-10-17 01:59:17 -07:00
Martin Hibdon
37b539063d Don't allow duplicate messages to appear in Sent folder
b/11224731
There is a problem in ImapService.processPendingUploads().
It was trying to process updates to existing messages
as uploads. This is wrong, it means that marking a sent
messages as Read can cause it to be uploaded again,
resuling in a new message being created.

Change-Id: I502df52a7b315daeee10c1041db8f30dbfd2c04e
2013-10-16 22:46:25 -07:00
Tony Mantler
4c04087abd am 7acf30e9: Make sure account upgrade code always runs before reconciling
* commit '7acf30e9ab077362dc03812583044fb3e23206c3':
  Make sure account upgrade code always runs before reconciling
2013-10-16 18:06:44 -07:00
Tony Mantler
7acf30e9ab Make sure account upgrade code always runs before reconciling
b/11240251

Change-Id: Id6d6ad98b729757991b19c8dcd84822d6216f9a0
2013-10-16 17:14:54 -07:00
Martin Hibdon
28dd863c18 am 85d21905: Clear all "drafts" related flags from email when sending
* commit '85d2190552d05dbc06518bdc21674c6aabeb583b':
  Clear all "drafts" related flags from email when sending
2013-10-14 18:01:46 -07:00
Martin Hibdon
85d2190552 Clear all "drafts" related flags from email when sending
b/11224331

Change-Id: I1df8ea3e0e24b050cd391dea454124e06988bf7d
2013-10-14 17:42:02 -07:00
Yu Ping Hu
6d3fa53111 am 8e8b7b5b: Increment Email version.
* commit '8e8b7b5b8629d29973d200ad60a9d52eabf04db8':
  Increment Email version.
2013-10-14 15:47:01 -07:00
Yu Ping Hu
8e8b7b5b86 Increment Email version.
Change-Id: I23126472b0c27a9e95b8c8a1ac1f56cd343b7a86
2013-10-14 15:41:59 -07:00
Yu Ping Hu
56989a025e am ec0bb58b: Merge "Fix folder list loading." into jb-ub-mail-ur10
* commit 'ec0bb58b9a9ef98bed2e8139c366792b48e500ae':
  Fix folder list loading.
2013-10-14 14:52:41 -07:00
Yu Ping Hu
ec0bb58b9a Merge "Fix folder list loading." into jb-ub-mail-ur10 2013-10-14 21:51:14 +00:00
Yu Ping Hu
1004d74f2c Fix folder list loading.
We used to do N+1 DB queries when our list has
N folders in it. Now just do 1 and be smarter about
how we read our values out of it.

Bug: 11112954
Change-Id: Icde0b979ca985e63d6ceba05c3a63f3a9b7e3566
2013-10-14 14:47:33 -07:00
Tony Mantler
74318724a5 am efd835ac: Fix threading issues in EmailDownloadService
* commit 'efd835aceaa58ceefa29057b21644653bff70ae3':
  Fix threading issues in EmailDownloadService
2013-10-14 13:53:19 -07:00
Tony Mantler
efd835acea Fix threading issues in EmailDownloadService
b/7257927

Change-Id: I390ced0eee18ff324032481ae55c31f5d4b26ffd
2013-10-14 12:25:04 -07:00
Martin Hibdon
6aee6eeab2 am 6df37091: Merge "Correct syntax for IMAP date range search" into jb-ub-mail-ur10
* commit '6df3709128f4c1f64709b832130c9dde4952aca2':
  Correct syntax for IMAP date range search
2013-10-13 21:49:25 -07:00
Martin Hibdon
6df3709128 Merge "Correct syntax for IMAP date range search" into jb-ub-mail-ur10 2013-10-14 04:46:53 +00:00
Martin Hibdon
35cdca3fb4 Correct syntax for IMAP date range search
b/11183568
We were surrounding the data parameters with
double quotes. Apparently some servers do not
accept this, and they aren't present in the
imap spec.
However, we've been running with the quotes
for several months now, and it seems to work
on most servers. I'm afraid of changing this
right now, it might cause other servers to fail.
So now we'll try the query without quotes, and
if we get an exception, fall back to the old
style query with the quotes.

Change-Id: Ifb7b1a6dd4a9f7bb6b38bd1611c64e2bddb2e188
2013-10-13 21:44:52 -07:00
Yu Ping Hu
fc8d1b7ab6 am ac93f838: Only fake the footer for mailboxes that sync from server.
* commit 'ac93f838b8673437e416d1ab4d6259457e10ef70':
  Only fake the footer for mailboxes that sync from server.
2013-10-13 10:59:11 -07:00
Yu Ping Hu
ac93f838b8 Only fake the footer for mailboxes that sync from server.
Bug: 11193271
Change-Id: I7bc8903889ae4f91065cdb4696128a4eed62844f
2013-10-12 15:15:33 -07:00
Baligh Uddin
315099e1f2 am f51f8b0b: (-s ours) Merge "Import translations. DO NOT MERGE" into jb-ub-mail-ur10
* commit 'f51f8b0bd2817c1fc0e44eba4ca303c44e5e52c4':
  Import translations. DO NOT MERGE
2013-10-12 06:49:33 -07:00
Baligh Uddin
f271c09080 Merge "Import translations. DO NOT MERGE" into jb-ub-mail-ur11 2013-10-12 13:47:17 +00:00
Baligh Uddin
f51f8b0bd2 Merge "Import translations. DO NOT MERGE" into jb-ub-mail-ur10 2013-10-12 13:47:12 +00:00
Baligh Uddin
9d4459e380 Import translations. DO NOT MERGE
Change-Id: If3f52b93da78391c39b4a856fddfb219cbe4891d
Auto-generated-cl: translation import
2013-10-12 03:01:33 -07:00
Baligh Uddin
035e1a653a Import translations. DO NOT MERGE
Change-Id: I55c99b14f35e96b1c5c7b4f6a3fba66a4dae4888
Auto-generated-cl: translation import
2013-10-12 02:58:22 -07:00
Tony Mantler
cc51a7913b am 67e78a67: Merge "Clean up usage of Account.name when accessing account/folder prefs" into jb-ub-mail-ur10
* commit '67e78a67baa5f301e136a38c050ac1ee5dc600f1':
  Clean up usage of Account.name when accessing account/folder prefs
2013-10-11 18:35:55 -07:00
Tony Mantler
67e78a67ba Merge "Clean up usage of Account.name when accessing account/folder prefs" into jb-ub-mail-ur10 2013-10-12 01:34:50 +00:00
Tony Mantler
32614f3746 Clean up usage of Account.name when accessing account/folder prefs
b/11185963

Change-Id: Id928732bee5f67887252b1f949a8e4d396fffaa6
2013-10-11 16:44:57 -07:00
Alon Albert
7886155e99 am 9a342b31: Cleanup Logs
* commit '9a342b31472536b89f55b1e6ae2e6f868ba1064d':
  Cleanup Logs
2013-10-11 15:37:03 -07:00
Alon Albert
9a342b3147 Cleanup Logs
Bug: 11149133
Change-Id: I764e2e3a8c37769d2e788688cf50789d0f22e9d3
2013-10-11 15:31:24 -07:00
Martin Hibdon
705b21c0dd am e7f61f40: Merge "Always fix parent keys on startup of email" into jb-ub-mail-ur10
* commit 'e7f61f403c65f08ff57f45aeb22f71a31cef0ce7':
  Always fix parent keys on startup of email
2013-10-11 15:27:36 -07:00
Martin Hibdon
e7f61f403c Merge "Always fix parent keys on startup of email" into jb-ub-mail-ur10 2013-10-11 22:24:34 +00:00
Martin Hibdon
f7078466c3 Always fix parent keys on startup of email
b/11174975
There are already several database fixing steps that
occur when the database is opened, add another one
to correct uninitialzed mailbox parent keys.
This is because we use a two pass system for adding
mailbox rows, first to insert the rows, and second to
assign parentKeys to child rows. We need two passes
because we may insert a child row before its parent,
so the parent's rowId is unavailble. But if the process
dies before the second step is complete we'll be in
an inconsistent state.

Change-Id: Ifaeeaca7e82c1e99656033bc1a9f25d7acb67517
2013-10-11 15:18:41 -07:00
Yu Ping Hu
60e4e9cbb0 am a95fe8fc: Merge "Update provider configuration for BT domains." into jb-ub-mail-ur10
* commit 'a95fe8fc0b034ad28bc3951586576fc230d22aa2':
  Update provider configuration for BT domains.
2013-10-11 14:56:16 -07:00
Yu Ping Hu
a95fe8fc0b Merge "Update provider configuration for BT domains." into jb-ub-mail-ur10 2013-10-11 21:54:18 +00:00