Commit Graph

8105 Commits

Author SHA1 Message Date
Andy Huang
fe910d4ba9 am 1bcf452d: am cb6bdff9: clean up old layouts, pt 3
* commit '1bcf452d53490fec5f4522abf710fee2b97487ca':
  clean up old layouts, pt 3
2013-04-15 14:22:39 -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
f6d8c76c1e am 4cdc4237: am d3af8adb: Merge "Populate the account object with the type" into jb-ub-mail-ur9
* commit '4cdc42372cc13bbca37f4e7d908a5656171216a8':
  Populate the account object with the type
2013-04-15 13:28:05 -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
a3a749f3b7 am 9fb0801c: (-s ours) am e8fd143c: (-s ours) Import translations. DO NOT MERGE
* commit '9fb0801cac395ad9721550cc9e1cda7b87a1acca':
  Import translations. DO NOT MERGE
2013-04-15 13:09:25 -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
803cf9c4c9 am c1ff5048: am e3338641: Merge "Remove spammy log message." into jb-ub-mail-ur9
* commit 'c1ff50488ee84e39272b7ba8868e40b99b900406':
  Remove spammy log message.
2013-04-15 11:03:32 -07:00
Baligh Uddin
af4deb4050 am 31735479: (-s ours) am 8b01f18c: (-s ours) Import translations. DO NOT MERGE
* commit '31735479f3c35b21ecb79381fe9655424723a742':
  Import translations. DO NOT MERGE
2013-04-15 11:03:31 -07:00
Yu Ping Hu
f593b77761 am 0d17c67b: am 9b040bde: Base64 the folder persistent id.
* commit '0d17c67b75ff0f797aba651fc1810972245884ef':
  Base64 the folder persistent id.
2013-04-15 11:03:31 -07:00
Yu Ping Hu
3d8c31ab2e am ae48f61b: am 196cb96e: Merge "Increment Email version." into jb-ub-mail-ur9
* commit 'ae48f61b656827b2eee2f779c4682e534d199bcb':
  Increment Email version.
2013-04-15 11:03:30 -07:00
Yu Ping Hu
59f19401ad am 1e05e834: am 22130ad5: Sync folders during account sync.
* commit '1e05e8343fb2750739cc6ca1b063beee2da147f5':
  Sync folders during account sync.
2013-04-15 11:03:29 -07:00
Yu Ping Hu
ac1434c957 am b94766a5: am 64cc777f: Autosync stale mailboxes when switching to them.
* commit 'b94766a5e0c9eeb124023b5822524093f51aa449':
  Autosync stale mailboxes when switching to them.
2013-04-15 11:03:29 -07:00
Yu Ping Hu
18afb1096a am f4ae499a: am 4b0e2589: Fix checkbox option fetch for combined view.
* commit 'f4ae499a73da346190176398d20c90de4b2b5efe':
  Fix checkbox option fetch for combined view.
2013-04-15 11:03:28 -07:00
Alice Yang
11f545fee1 am 9688e0de: am 54cf4b9d: Merge "Checkbox vs. sender image setting" into jb-ub-mail-ur9
* commit '9688e0de8dcba0a1775028d0b103879d74d48cf8':
  Checkbox vs. sender image setting
2013-04-15 11:03:27 -07:00
Yu Ping Hu
d7c926dc0d am 4035515c: am 7dd26fea: Merge "Improve mailbox sync and load more." into jb-ub-mail-ur9
* commit '4035515c7d160a7d0c4393183c8d91c0bbd457eb':
  Improve mailbox sync and load more.
2013-04-15 11:03:27 -07:00
Paul Westbrook
25ac0c52d1 am c3d94148: am 69ef2b22: Fix TempDirectory initialization
* commit 'c3d9414882d22a98c5d0a932c4548a4595315165':
  Fix TempDirectory initialization
2013-04-15 11:03:26 -07:00
Baligh Uddin
568960b00c am 992e92ae: (-s ours) am bb3a938d: (-s ours) Merge "Import translations. DO NOT MERGE" into jb-ub-mail-ur9
* commit '992e92ae1e135317444a1d86b87136e29dc9ec22':
  Import translations. DO NOT MERGE
2013-04-15 11:03:25 -07:00
Paul Westbrook
1156277079 am b6247f0a: am 0c06a7cf: Fixed mis-located cleanup code
* commit 'b6247f0a7aad20f76764f6d4ffaf4f6d3a3c1208':
  Fixed mis-located cleanup code
2013-04-15 11:03:25 -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
957974b179 am e80a9bbd: (-s ours) Import translations. DO NOT MERGE
* commit 'e80a9bbd51b77cc116850accf4c016c7649a8ed3':
  Import translations. DO NOT MERGE
2013-04-10 13:03:47 -07:00
Baligh Uddin
bb3a938d61 Merge "Import translations. DO NOT MERGE" into jb-ub-mail-ur9 2013-04-10 20:01:45 +00:00