Commit Graph

8158 Commits

Author SHA1 Message Date
Mark Wei
fe2187007a am 3a82ad59: Fix migration from Email1 to Email2 when using combined inbox.
* commit '3a82ad59928864931b826c46413831d7431057f9':
  Fix migration from Email1 to Email2 when using combined inbox.
2013-04-19 15:20:55 -07:00
Mark Wei
3a82ad5992 Fix migration from Email1 to Email2 when using combined inbox.
Bug: 8578254
Change-Id: I2afb7e145664c1e6d10c0cfbf654d835fec8c9f1
2013-04-19 15:07:28 -07:00
Yu Ping Hu
d5820f4271 am 503cc063: Stop using ContentCache and related caches.
* commit '503cc0630d54de430a97f6013c6c7b7e851e343d':
  Stop using ContentCache and related caches.
2013-04-19 13:49:21 -07:00
Yu Ping Hu
503cc0630d Stop using ContentCache and related caches.
Bug: 8655671
Change-Id: I349ce464b5d752b3ac687852dbce4f0b57e04c67
2013-04-19 11:09:15 -07:00
Yu Ping Hu
a8a397e4c9 am 0b8e65b7: Increment Email version number.
* commit '0b8e65b78471f741047872eb719b041555500cfc':
  Increment Email version number.
2013-04-19 10:22:42 -07:00
Yu Ping Hu
0b8e65b784 Increment Email version number.
Change-Id: I70237386705740dc20b6ee589a3404df17bef5f5
2013-04-19 10:03:51 -07:00
Yu Ping Hu
d26ec600f1 am 7539508b: Add a way to check whether we have a wakelock.
* commit '7539508bfc315fb3fce10d57da27762dab4d2bd4':
  Add a way to check whether we have a wakelock.
2013-04-19 08:46:52 -07:00
Yu Ping Hu
7539508bfc Add a way to check whether we have a wakelock.
Bug: 8640907

Change-Id: I886af09d20dab195a9bbd38082a02d29e8b864e7
2013-04-18 13:48:57 -07:00
Baligh Uddin
22a8772084 am 87d5fd39: (-s ours) Merge "Import translations. DO NOT MERGE" into jb-ub-mail-ur9
* commit '87d5fd399fdfbe5d8b4660a8277e3fda3c37ee72':
  Import translations. DO NOT MERGE
2013-04-18 07:56:50 -07:00
Baligh Uddin
87d5fd399f Merge "Import translations. DO NOT MERGE" into jb-ub-mail-ur9 2013-04-18 14:55:28 +00:00
Baligh Uddin
f6884dbe28 Merge "Import translations. DO NOT MERGE" into jb-ub-mail-ur10 2013-04-18 14:54:34 +00:00
Yu Ping Hu
fdb583ab6c am 9a2686af: Improve POP sync.
* commit '9a2686afa2e02c62a8e5f9c42c82bd2da70b96af':
  Improve POP sync.
2013-04-17 13:02:23 -07:00
Baligh Uddin
ac0b2e8571 Import translations. DO NOT MERGE
Change-Id: I90409e7de9c729ee77e8e388affb090ecccda8ee
Auto-generated-cl: translation import
2013-04-17 12:07:10 -07:00
Baligh Uddin
4f2103b294 Import translations. DO NOT MERGE
Change-Id: I8696bd5f512cf14b7864597d064e83e146987c75
Auto-generated-cl: translation import
2013-04-17 12:05:19 -07:00
Yu Ping Hu
9a2686afa2 Improve POP sync.
- Set socket timeout as soon as you open it. This was how
  IMAP worked, so I just moved the call up one level. This
  should help one of the sync forever scenarios.
- Simplify the SQL query for getting a Mailbox.
- Try to load messages that failed to load last time.
- Always close the connection to the remote folder.
- Don't try to be too clever in fetching the body.
  This needs to be fixed later for attachements, but for
  now seems to work better and will let me get more testing.

Change-Id: I91b6a6f2a2846b34b1a0c50eb4eb37fc947389ce
2013-04-17 10:54:33 -07:00
Andy Huang
1bcf452d53 am cb6bdff9: clean up old layouts, pt 3
* commit 'cb6bdff95c58b4927082bcca138a6305152643a7':
  clean up old layouts, pt 3
2013-04-15 14:20:42 -07:00
Andy Huang
cb6bdff95c clean up old layouts, pt 3
Bug: 8393227
Change-Id: I8fbd3ed96d9f7e10708ff6b064b2fea4865c4f69
2013-04-15 13:55:14 -07:00
Yu Ping Hu
4cdc42372c am d3af8adb: Merge "Populate the account object with the type" into jb-ub-mail-ur9
* commit 'd3af8adba6206ceb25f2cfea94419df1478ef974':
  Populate the account object with the type
2013-04-15 13:26:10 -07:00
Yu Ping Hu
d3af8adba6 Merge "Populate the account object with the type" into jb-ub-mail-ur9 2013-04-15 20:23:31 +00:00
Scott Kennedy
e0d4cab353 Populate the account object with the type
This is needed for prioritizing contact results

Bug: 8587925
Change-Id: I093f0914060a01f37b175ae5877b27e0e16e9eaf
2013-04-15 13:22:27 -07:00
Baligh Uddin
9fb0801cac am e8fd143c: (-s ours) Import translations. DO NOT MERGE
* commit 'e8fd143c81d3466010ffd8a71bad17393a8b48ec':
  Import translations. DO NOT MERGE
2013-04-15 13:06:24 -07:00
Baligh Uddin
e8fd143c81 Import translations. DO NOT MERGE
Change-Id: I9ea9f585bf76f378e3de4970c6f0c8d5fdb23e13
Auto-generated-cl: translation import
2013-04-15 12:05:13 -07:00
Yu Ping Hu
c1ff50488e am e3338641: Merge "Remove spammy log message." into jb-ub-mail-ur9
* commit 'e33386411219f1f2d1b53af787e3e414b01d6b1b':
  Remove spammy log message.
2013-04-15 10:57:53 -07:00
Baligh Uddin
31735479f3 am 8b01f18c: (-s ours) Import translations. DO NOT MERGE
* commit '8b01f18c2d6be4c26595d94bbb6cf7f6eca570f2':
  Import translations. DO NOT MERGE
2013-04-15 10:57:51 -07:00
Yu Ping Hu
0d17c67b75 am 9b040bde: Base64 the folder persistent id.
* commit '9b040bde34529e4e55c70774ecea87868c79f1e5':
  Base64 the folder persistent id.
2013-04-15 10:57:42 -07:00
Yu Ping Hu
ae48f61b65 am 196cb96e: Merge "Increment Email version." into jb-ub-mail-ur9
* commit '196cb96ea8ed7628fb3c677b0e723ed29ad9766f':
  Increment Email version.
2013-04-15 10:57:42 -07:00
Yu Ping Hu
1e05e8343f am 22130ad5: Sync folders during account sync.
* commit '22130ad565886c29666be55b5fdcbe0be9894b6e':
  Sync folders during account sync.
2013-04-15 10:57:41 -07:00
Yu Ping Hu
b94766a5e0 am 64cc777f: Autosync stale mailboxes when switching to them.
* commit '64cc777f8b3f01fad0b14ad4277d85b7dcfdcd73':
  Autosync stale mailboxes when switching to them.
2013-04-15 10:57:39 -07:00
Yu Ping Hu
f4ae499a73 am 4b0e2589: Fix checkbox option fetch for combined view.
* commit '4b0e25898e1663f67ecdc38d1e8d9a24bb2d4e89':
  Fix checkbox option fetch for combined view.
2013-04-15 10:57:39 -07:00
Alice Yang
9688e0de8d am 54cf4b9d: Merge "Checkbox vs. sender image setting" into jb-ub-mail-ur9
* commit '54cf4b9d8c04e7531e8474ea01c34419b420fbc4':
  Checkbox vs. sender image setting
2013-04-15 10:57:36 -07:00
Yu Ping Hu
4035515c7d am 7dd26fea: Merge "Improve mailbox sync and load more." into jb-ub-mail-ur9
* commit '7dd26feaea3b6c30339ec10720ebc481fe843cc0':
  Improve mailbox sync and load more.
2013-04-15 10:57:34 -07:00
Paul Westbrook
c3d9414882 am 69ef2b22: Fix TempDirectory initialization
* commit '69ef2b22ff6c5dcce78423ef502d14f841b04fed':
  Fix TempDirectory initialization
2013-04-15 10:57:26 -07:00
Baligh Uddin
992e92ae1e am bb3a938d: (-s ours) Merge "Import translations. DO NOT MERGE" into jb-ub-mail-ur9
* commit 'bb3a938d613824851e4060ef61ed00cb44a183f8':
  Import translations. DO NOT MERGE
2013-04-15 10:57:15 -07:00
Paul Westbrook
b6247f0a7a am 0c06a7cf: Fixed mis-located cleanup code
* commit '0c06a7cf995c0d3e5dcccae97349891a46c3320f':
  Fixed mis-located cleanup code
2013-04-15 10:57:11 -07:00
Yu Ping Hu
e333864112 Merge "Remove spammy log message." into jb-ub-mail-ur9 2013-04-12 23:50:28 +00:00
Yu Ping Hu
f9fd4b6bb4 Remove spammy log message.
We don't have special MIME types for all possible queries.
It's only an error if the matcher doesn't know about it at
all, which is handled by findMatch, so we just return null
here (same as with Gmail).

Change-Id: I7061e25b8fd4543c41f62188cb90712353a64779
2013-04-12 16:19:58 -07:00
Baligh Uddin
8b01f18c2d Import translations. DO NOT MERGE
Change-Id: I4604e7a4594d29a100aaeb1f28ede4a57311fe55
Auto-generated-cl: translation import
2013-04-12 11:49:37 -07:00
Yu Ping Hu
9b040bde34 Base64 the folder persistent id.
Bug: 8596345
Change-Id: Ib7025fa54abb12f7c65628639819d06fb530c7ed
2013-04-11 21:42:23 -07:00
Yu Ping Hu
196cb96ea8 Merge "Increment Email version." into jb-ub-mail-ur9 2013-04-12 04:25:57 +00:00
Yu Ping Hu
a8fdf9fb07 Increment Email version.
Change-Id: Ibb882d28c226fa257c02092744066e3b087345fa
2013-04-11 20:44:47 -07:00
Yu Ping Hu
22130ad565 Sync folders during account sync.
Previously, the folderlist itself would only sync when there
was no inbox, i.e. at account creation time. Now any sync
that's not a mailbox specific sync will do it.

Change-Id: If7c446cd2e193ed6e1a4abd3fdde0d5748371ba5
2013-04-11 20:39:36 -07:00
Yu Ping Hu
64cc777f8b Autosync stale mailboxes when switching to them.
"Stale" is currently defined as "it's been 5 minutes since
my last sync".

Also includes a small refactor so that uiloadmore doesn't
load the mailbox from DB twice.

Bug: 7100372
Change-Id: Ib31aa211fe2ab790044beb7bc7d2fdcccf595171
2013-04-11 18:01:29 -07:00
Yu Ping Hu
4b0e25898e Fix checkbox option fetch for combined view.
Change-Id: Ie0679ce00ee0558cccc8e10c9346dd730ce08a33
2013-04-11 15:42:09 -07:00
Alice Yang
54cf4b9d8c Merge "Checkbox vs. sender image setting" into jb-ub-mail-ur9 2013-04-11 21:41:51 +00:00
Yu Ping Hu
7dd26feaea Merge "Improve mailbox sync and load more." into jb-ub-mail-ur9 2013-04-11 21:18:47 +00:00
Alice Yang
9f1cff0659 Checkbox vs. sender image setting
Replace the current "Hide checkbox" setting with a tri-state setting with
choice of:
- Show checkboxes
- Show sender image
- Show neither

Bug: 8512959

Change-Id: Ifa233b6d65f8c37388edeed71dbfbfdf1295d6fc
2013-04-11 14:16:01 -07:00
Yu Ping Hu
17d5bbf768 Improve mailbox sync and load more.
- Update syncTime for IMAP and POP whenever we sync.
- Change load more to simply include the delta in the RPC
  rather than using the visibleLimit column.
- Add a query to get the message count for a Mailbox.
- Refactor code for updating totalCount and determining
  the new message count when syncing.
- Remove dead code from Mailbox.
- Remove uses of visibleLimit from code.

Note that visibleLimit and messageCount in Mailbox table are
no longer useful and will be removed in a later change.

Bug: 8579767
Bug: 8523146
Change-Id: Ieb67e3b6f1c82c3b21b972c5a1e557cd75dc21db
2013-04-11 21:06:08 +00:00
Paul Westbrook
69ef2b22ff Fix TempDirectory initialization
The proxy for local services were not intializing the TempDirectory.

Also, move the TempDirectory initialization out of the try/catch block.
Otherwise if Device.getDeviceId threw an exception, the temp directory
wouldn't be initialized

Bug: 8531456
Change-Id: Iea34e0b03203d6c6fe6e5d1ae9902d081bd90c27
2013-04-11 00:39:56 -07:00
Baligh Uddin
bb3a938d61 Merge "Import translations. DO NOT MERGE" into jb-ub-mail-ur9 2013-04-10 20:01:45 +00:00
Baligh Uddin
1a217f1643 Import translations. DO NOT MERGE
Change-Id: I026066648e2e31a9446019beecdbd7ab79559727
Auto-generated-cl: translation import
2013-04-10 12:21:40 -07:00