Commit Graph

8462 Commits

Author SHA1 Message Date
Martin Hibdon
85ff07a00a Fix a bug in Pop3 sync
b/10413188
There are still several issues with attachments generally,
but this fixes the most glaring problem: We were short circuiting
in a loop that needed to populate a hash table of remote message
Ids, so not all of them would be present. The later code intended
to load attachments expected it to be fully populated.
There are still several problems, notably that if downloading
doesn't work, it just spins forever, but this fixes the first
problem.

Change-Id: I2b23dcb841edabe108096933fea2350ef61a10f1
2013-09-11 17:19:00 -07:00
Tony Mantler
ecac654c66 Purge views after they're supposed to be destroyed to avoid spurious callbacks
b/10565885

Change-Id: I7ef18fdac566975d15ffd1a19f756a5e5d2aee8a
2013-09-11 16:47:47 -07:00
Baligh Uddin
eb659e88b5 Import translations. DO NOT MERGE
Change-Id: Ic5f79dff6a32c34eb81753f51ab4dc32514ed6cc
Auto-generated-cl: translation import
2013-09-11 16:44:24 -07:00
Tony Mantler
78c166b4cc Disallow duplicate accounts
b/10210901

Change-Id: I11b759246fafabafe29fd8f4d20f6e973f9679a4
2013-09-11 15:15:38 -07:00
Tony Mantler
9ae3ae576a Merge "Remove subtitle from "Confirm before X" preferences" into jb-ub-mail-ur10 2013-09-11 20:27:18 +00:00
Tony Mantler
08b2a505d0 Remove subtitle from "Confirm before X" preferences
b/10696931

Change-Id: I6353f045322d49c26b69d7e96357ec7a8ef426f8
2013-09-11 13:25:56 -07:00
Tony Mantler
de8b97c72e Postpone initialization of notification URIs until the EMAIL_PACKAGE_NAME is known
b/10693908

Change-Id: Ia232dda55e03e02db24040b9d17c383addaff0b0
2013-09-11 11:48:38 -07:00
Tony Mantler
2bae64df29 Merge "Notify combined account when individual accounts change" into jb-ub-mail-ur10 2013-09-11 16:21:34 +00:00
Tony Mantler
9a1d9a7dbb Merge "Reorder db update/notify and clean up warnings in EmailProvider" into jb-ub-mail-ur10 2013-09-11 16:21:15 +00:00
Alice Yang
af459c6f4f Merge "xxhdpi assets for Email" into jb-ub-mail-ur10 2013-09-11 06:51:44 +00:00
Alice Yang
60924def01 xxhdpi assets for Email
Bug 10490770

Change-Id: I2fbc893e2473b63b1cff1dd8d6f792c4b82e495b
2013-09-10 17:28:15 -07:00
Tony Mantler
fc906340f9 Notify combined account when individual accounts change
b/10610684

Change-Id: I675a5b2dfd9ccdb412f2746f5785c8f1141f6a76
2013-09-10 16:44:13 -07:00
Tony Mantler
9e9caaee7c Reorder db update/notify and clean up warnings in EmailProvider
Change-Id: I6c65c18ea19bd1afd956b455ac296a4c2d402662
2013-09-10 16:20:31 -07:00
Tony Mantler
2fb5d2f9dd Don't spam the log with null columns.
My bad.

Change-Id: Ia9bcf2b09f905e3f720814b50453df59d5341038
2013-09-10 11:38:34 -07:00
Yu Ping Hu
7cadaa5388 Merge "Add the MessageMove & MessageStateChange tables." into jb-ub-mail-ur10 2013-09-10 18:02:01 +00:00
Baligh Uddin
a09826df46 Merge "Import translations. DO NOT MERGE" into jb-ub-mail-ur10 2013-09-10 14:30:42 +00:00
Yu Ping Hu
8534157c38 Increment Email version.
Change-Id: I208f150caf6fcf32ba2c05ca26e5b33e9895c95c
2013-09-09 16:11:42 -07:00
Yu Ping Hu
ca79aba675 Add the MessageMove & MessageStateChange tables.
We need to track changes that need to be unsynced. Because
Exchange handles moves differently from other changes, we
create two different tables. The tables are structured as
change logs to better handle error cases.

Change-Id: I4df90c75f36707fa117aed9718508426e60e0749
2013-09-09 15:47:26 -07:00
Baligh Uddin
626143f176 Import translations. DO NOT MERGE
Change-Id: Icacafafde534f884d9e151017016657b65d3b503
Auto-generated-cl: translation import
2013-09-09 14:43:42 -07:00
Tony Mantler
582bc439ea Tidy warnings
Change-Id: I08517af26c27a85fddabccf15dd1a50316df5b5c
2013-09-09 09:52:54 -07:00
Scott Kennedy
8ce0432ec4 Remove unused resource directories
Change-Id: I37961b4a0a358730390ac5dacdaf7a7e5381691a
2013-09-06 10:23:02 -07:00
Baligh Uddin
6354d622cd Merge "Import translations. DO NOT MERGE" into jb-ub-mail-ur10 2013-09-06 04:42:58 +00:00
Tony Mantler
33bc3df32b Always mark messages as seen when we return to the folder list
b/10533884

Change-Id: If1e0774b70a379884cc435fab9965d39531efb58
2013-09-05 14:10:56 -07:00
Baligh Uddin
0be1ae1b49 Import translations. DO NOT MERGE
Change-Id: I27b7b43c0ff4d09daf5785b763002d459a2a8e79
Auto-generated-cl: translation import
2013-09-05 13:58:09 -07:00
Tony Mantler
19c11c0b77 Merge "Tidy warnings in AccountSettingsFragment" into jb-ub-mail-ur10 2013-09-05 18:04:07 +00:00
Tony Mantler
39f29d0481 Tidy warnings in AccountSettingsFragment
Change-Id: I933529dac9f37d0734fa7b98a43e8f41eb143698
2013-09-05 11:00:06 -07:00
Scott Kennedy
ca064b2f84 Merge "Allow going back to search results" into jb-ub-mail-ur10 2013-09-05 03:58:10 +00:00
Baligh Uddin
76c53f0594 Merge "Import translations. DO NOT MERGE" into jb-ub-mail-ur10 2013-09-05 02:54:44 +00:00
Scott Kennedy
e743a06ddf Allow going back to search results
If you went from search results to conversation view, then hit the
back button, we were taking you out of search results to the inbox,
because we didn't know you had search results.

Now, we're tracking this (through the use of a folder type), so we
take you where you should go.

Bug: 10591438
Change-Id: I12ad81323fe3e1f199d9dd06a1a4e18f765b01ee
2013-09-04 14:24:00 -07:00
Yu Ping Hu
4df0d993b6 Increment Email version.
Change-Id: I99514e12774c0ddf3601410f0a93a74e1026977d
2013-09-04 12:53:19 -07:00
Tony Mantler
67855d3117 Merge "Make UnsavedChangesDialogFragment public so the framework can find it" into jb-ub-mail-ur10 2013-09-04 19:03:21 +00:00
Tony Mantler
6f3a94cca1 Make UnsavedChangesDialogFragment public so the framework can find it
b/10611121

Change-Id: I9daab10d49b492950f2032ee1edf4ca07a3e7ef8
2013-09-04 11:57:54 -07:00
Baligh Uddin
f4ff9c6019 Import translations. DO NOT MERGE
Change-Id: I8f975543067e9b09efddcca6c566d42d536b5c6f
Auto-generated-cl: translation import
2013-09-03 15:20:00 -07:00
Andrew Sapperstein
66520b3145 Remove CAN_HOLD_MAIL folder capability.
b/9623931

Change-Id: Ic15860d46a6adf8d313536b68ce8e0fad1d97810
2013-09-03 15:16:59 -07:00
Tony Mantler
26cd5e024c Don't store the account creation/modificaiton state in a singleton
b/10460757

Change-Id: I7f0bea69f843f9061d1cfa9277c99d36705aceaf
2013-09-03 14:15:32 -07:00
Andrew Sapperstein
dad44e53b2 Merge "Moved some stuff from Email to Unified." into jb-ub-mail-ur10 2013-08-30 00:58:07 +00:00
Andrew Sapperstein
5dcb447c04 Moved some stuff from Email to Unified.
b/10542802.

Change-Id: I9623ce85cae6f67ec647e1712e8c392a35311171
2013-08-29 17:41:26 -07:00
Paul Westbrook
eeb3f9369e increment versionCode
Change-Id: Id458c32058f8a692ab5b8bd0d56abe8f1a8a55c3
2013-08-29 17:39:50 -07:00
Martin Hibdon
f1e3a72d62 Merge "Correctly fix an outOfBounds error" into jb-ub-mail-ur10 2013-08-28 23:42:42 +00:00
Martin Hibdon
35957ffcf6 Correctly fix an outOfBounds error
b/10380970

Change-Id: I58a57c7a659bb92ba6b6dbf0cbb099d0d252cc37
2013-08-28 16:22:09 -07:00
Martin Hibdon
037e4ad330 Merge "Prevent simultaneous imap and pop syncs" into jb-ub-mail-ur10 2013-08-28 22:30:33 +00:00
Martin Hibdon
466eb2dcd2 Prevent simultaneous imap and pop syncs
b/10527550
I'm not yet sure why we're getting this started
in multiple threads, but the methods where the sync
occurs are now synchronized so they can't happen
at the same time.

Change-Id: Icf7afd336ed056bb42df84b8634117afa8f31213
2013-08-28 15:11:59 -07:00
Paul Westbrook
e4ac06080b Don't use implicit events
Bug: 10189773
Change-Id: I4579f2e465bd23b8ab4cdf291bfbe80cf6518328
2013-08-28 14:31:09 -07:00
Andrew Sapperstein
2ad2f0d145 Merge "Use support lib gridlayout." into jb-ub-mail-ur10 2013-08-28 17:43:27 +00:00
Andrew Sapperstein
4f748b4c59 Merge "Show action bar title in eml viewer. b/10515249." into jb-ub-mail-ur10 2013-08-28 17:30:16 +00:00
Andrew Sapperstein
a3da2975e8 Show action bar title in eml viewer. b/10515249.
Change-Id: I5889a3b645f3792e881c746f8e4bdfc04d12a922
2013-08-28 10:20:13 -07:00
Baligh Uddin
a106effacc Merge "Import translations. DO NOT MERGE" into jb-ub-mail-ur10 2013-08-28 03:51:59 +00:00
Andrew Sapperstein
2c56354d4c Use support lib gridlayout.
Change-Id: I6eef37481bd8a97312a3646374d4aad4027d4e5c
2013-08-27 17:40:28 -07:00
Martin Hibdon
0c8df56a0a When loading local messages, don't filter messages by time
b/10508861
Temporary fix for this.
For some reason, we're getting messages loaded with the wrong
date being stored. If we have a message with date = 0, and we
filter out anything older than 24 hours, then these messages
with the wrong date won't get loaded into our localMessageMap.
Then we won't recognize that message is already present locally,
and we will fetch a duplicate.
I don't yet know why we're getting the date wrong.

Change-Id: Ic91cd263198ee944eddbaf1d90080e8285a5df6a
2013-08-27 15:50:09 -07:00
Tony Mantler
7be030ec8e Remove pointless parent class EmailPreferenceFragment
Change-Id: Ia384d92632100c2adfb22c22c03d4755250e388e
2013-08-27 14:22:17 -07:00