Commit Graph

8663 Commits

Author SHA1 Message Date
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
Baligh Uddin
1a217f1643 Import translations. DO NOT MERGE
Change-Id: I026066648e2e31a9446019beecdbd7ab79559727
Auto-generated-cl: translation import
2013-04-10 12:21:40 -07:00
Baligh Uddin
528b1a12ea Import translations. DO NOT MERGE
Change-Id: Ieb589f99c05b30cf1cd22a9450bc2f83f50f6da9
Auto-generated-cl: translation import
2013-04-10 12:20:55 -07:00
Baligh Uddin
e80a9bbd51 Import translations. DO NOT MERGE
Change-Id: I124ac625d4f4fb6ade4fea33fecedc768a2ec5a4
Auto-generated-cl: translation import
2013-04-10 12:20:09 -07:00
Paul Westbrook
0c06a7cf99 Fixed mis-located cleanup code
Bug: 8565783
Change-Id: Iab06411cc85cd4958db574ec52eeebb7457c980f
2013-04-10 00:34:04 -07:00
Yu Ping Hu
740ce2d87d am 2e66ac28: am 8abc602c: Merge "Increment Email version number." into jb-ub-mail-ur9
* commit '2e66ac2883231318f4a6dd972d477e481f326ca7':
  Increment Email version number.
2013-04-09 15:56:23 -07:00
Yu Ping Hu
2e66ac2883 am 8abc602c: Merge "Increment Email version number." into jb-ub-mail-ur9
* commit '8abc602c11cc176b21e330ab639587b2af45cfc9':
  Increment Email version number.
2013-04-09 15:53:22 -07:00
Yu Ping Hu
8abc602c11 Merge "Increment Email version number." into jb-ub-mail-ur9 2013-04-09 22:50:11 +00:00
Vikram Aggarwal
008b54a65e am 03de7696: am 6b88a247: Allow queries in folder URIs
* commit '03de7696fc607f5c683e6af088a419de3a9c49aa':
  Allow queries in folder URIs
2013-04-09 15:49:00 -07:00
Vikram Aggarwal
03de7696fc am 6b88a247: Allow queries in folder URIs
* commit '6b88a2471f91e9d4b7fbfff6b8ade7820f64d46d':
  Allow queries in folder URIs
2013-04-09 15:46:43 -07:00
Yu Ping Hu
217163cce7 Increment Email version number.
Change-Id: I521d39f217fa3662038f350587b34021e599b479
2013-04-09 15:24:40 -07:00
Vikram Aggarwal
6b88a2471f Allow queries in folder URIs
As a result of a previous change, we are appending application version
to the end of the folder name.  This breaks the EmailProvider's
expectation about folder URIs.  So instead of using just
uifolder/<number>, allow for uifolder/<number>?<appversion query>

getPathSegments().get(i) will still return the path segment without
the query, so the folder ID gets resolved correctly.

The previous change:
https://googleplex-android-review.googlesource.com/#/c/281416/

Bug: 8435074 Not able to access Exchange inbox and combined inbox

Change-Id: I7b9ffad9b5510d1a08a29e2a21aacb091d4330a6
2013-04-09 15:08:11 -07:00
Paul Westbrook
c6cd49318e am 412758f5: am 7b423bf1: Remove waitForDebugger call
* commit '412758f52566fcea89a8e1846cb67991e5101691':
  Remove waitForDebugger call
2013-04-06 12:43:47 -07:00
Paul Westbrook
412758f525 am 7b423bf1: Remove waitForDebugger call
* commit '7b423bf136da2dbc081a2823a6d2c677f66a2b9a':
  Remove waitForDebugger call
2013-04-06 12:41:52 -07:00
Paul Westbrook
7b423bf136 Remove waitForDebugger call
Bug: 8558839
Change-Id: Ie9f351b119620016e9a46c5bf389fdeb75c77382
2013-04-06 12:35:39 -07:00
Yu Ping Hu
5b7f46d37e am d3eb8bcb: am 80f268e9: Merge "Increment version number." into jb-ub-mail-ur9
* commit 'd3eb8bcbc13af1e6dae583372cc41cfe972aa103':
  Increment version number.
2013-04-05 16:51:35 -07:00
Yu Ping Hu
d3eb8bcbc1 am 80f268e9: Merge "Increment version number." into jb-ub-mail-ur9
* commit '80f268e91981bf600c897acc6426b09815702f31':
  Increment version number.
2013-04-05 16:47:51 -07:00
Yu Ping Hu
757093d826 am 872f4a63: am 29304760: Reorder the folders in combined view.
* commit '872f4a63ef330c266cce69df4e28750ab3195f8b':
  Reorder the folders in combined view.
2013-04-05 16:45:05 -07:00
Yu Ping Hu
80f268e919 Merge "Increment version number." into jb-ub-mail-ur9 2013-04-05 23:43:11 +00:00
Yu Ping Hu
872f4a63ef am 29304760: Reorder the folders in combined view.
* commit '293047605189eac463b03710ff2a7c1055a6a6dd':
  Reorder the folders in combined view.
2013-04-05 16:41:18 -07:00
Yu Ping Hu
f332e9d938 Increment version number.
Change-Id: I97a37ca97d4260db1458acdc22522e89b38e0b51
2013-04-05 16:40:42 -07:00
Yu Ping Hu
2930476051 Reorder the folders in combined view.
Inbox should go to top.

Change-Id: I90c55952aaa3955adfd6d08a12a568bfb192c730
2013-04-05 16:35:51 -07:00
Paul Westbrook
16c7a85790 am dfed09fb: am fcddd014: Merge "email: "Exchange Services has stopped" - Rain of Exchange Javacrashes" into jb-ub-mail-ur9
* commit 'dfed09fb585f71a1b7d2e0cb5d29a3a524cd16e0':
  email: "Exchange Services has stopped" - Rain of Exchange Javacrashes
2013-04-05 15:39:50 -07:00
Paul Westbrook
dfed09fb58 am fcddd014: Merge "email: "Exchange Services has stopped" - Rain of Exchange Javacrashes" into jb-ub-mail-ur9
* commit 'fcddd014dafd33b2db74e51041e3fd0aef617fd6':
  email: "Exchange Services has stopped" - Rain of Exchange Javacrashes
2013-04-05 15:37:24 -07:00
Paul Westbrook
fcddd014da Merge "email: "Exchange Services has stopped" - Rain of Exchange Javacrashes" into jb-ub-mail-ur9 2013-04-05 22:35:37 +00:00
Yu Ping Hu
5b1014dd4c am e0c8d13e: am 1389f0ed: Merge "Add virtual mailbox for all unread messages." into jb-ub-mail-ur9
* commit 'e0c8d13e81e44c91add6d26566b9e8079473884c':
  Add virtual mailbox for all unread messages.
2013-04-05 15:32:30 -07:00
Yu Ping Hu
e0c8d13e81 am 1389f0ed: Merge "Add virtual mailbox for all unread messages." into jb-ub-mail-ur9
* commit '1389f0ed03696a4be4891ce1247867a5dec6b08c':
  Add virtual mailbox for all unread messages.
2013-04-05 15:29:05 -07:00
Yu Ping Hu
1389f0ed03 Merge "Add virtual mailbox for all unread messages." into jb-ub-mail-ur9 2013-04-05 22:25:56 +00:00
Emmanuel Berthier
689efab2b1 email: "Exchange Services has stopped" - Rain of Exchange Javacrashes
Cleanup some nasty records containing NULL fields.

Change-Id: Iec5e7e1bebc4beee8fa010c3f9c9ee723fd2cd83
Author: Emmanuel Berthier <emmanuel.berthier@intel.com>
Signed-off-by: Shuo Gao <shuo.gao@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 60461

cherry-pick of https://android-review.googlesource.com/#/c/47571/1
2013-04-05 15:22:14 -07:00
Yu Ping Hu
c065e72819 Add virtual mailbox for all unread messages.
Also restores the trash icon. I'm not using the "correct"
icon -- it's the menu icon, not a folder icon -- but it
looks correct. Also, the "unread messages" icon is likewise
the menu icon for mark unread.

Bug: 8527132
Bug: 8444885
Change-Id: I7d3bc286f80f130e6f08ff1340a013d81700406e
2013-04-05 14:50:50 -07:00
Paul Westbrook
ad2f7b73f7 am c871f110: am d402c890: Fixed make POP and Imap more locale safe
* commit 'c871f110d3542359c99f6642db981583b4796855':
  Fixed make POP and Imap more locale safe
2013-04-05 14:41:45 -07:00
Paul Westbrook
c871f110d3 am d402c890: Fixed make POP and Imap more locale safe
* commit 'd402c890dc00e2a0b2cf215d8479e59fc3a252f3':
  Fixed make POP and Imap more locale safe
2013-04-05 14:37:25 -07:00
Paul Westbrook
d402c890dc Fixed make POP and Imap more locale safe
Cherry-picks from:
https://android-review.googlesource.com/#/c/42334/
https://android-review.googlesource.com/#/c/42332/

Change-Id: I557c3d8c725cf6dc4f13f227dcec63864ab5db67
2013-04-05 13:57:51 -07:00
Paul Westbrook
cda644c360 am 2cd5bb8d: am 9fd03edb: Merge "avoid cursor leak in email provider" into jb-ub-mail-ur9
* commit '2cd5bb8dd7178b72548b4b7d0586b95665705eef':
  avoid cursor leak in email provider
2013-04-05 13:52:26 -07:00
Jack Bates
9a4d69c7d3 am c245696c: am 4fd97a30: Fix SMTP RFC violation for better interoperability
* commit 'c245696c3896d26bf063c9a45200637bfc0945fc':
  Fix SMTP RFC violation for better interoperability
2013-04-05 13:52:26 -07:00
Paul Westbrook
2cd5bb8dd7 am 9fd03edb: Merge "avoid cursor leak in email provider" into jb-ub-mail-ur9
* commit '9fd03edb83326c23fc4dd3944c140de913a4fe76':
  avoid cursor leak in email provider
2013-04-05 13:50:26 -07:00
Jack Bates
c245696c38 am 4fd97a30: Fix SMTP RFC violation for better interoperability
* commit '4fd97a305065dfed11adf50612e55b9647ceb236':
  Fix SMTP RFC violation for better interoperability
2013-04-05 13:50:26 -07:00
Paul Westbrook
9fd03edb83 Merge "avoid cursor leak in email provider" into jb-ub-mail-ur9 2013-04-05 20:49:09 +00:00
Yoohyun.choi
89c74e89e5 avoid cursor leak in email provider
When cursor is done, the cursor must be closed to avoid cursor leak.

cherry-pick of https://android-review.googlesource.com/#/c/52910/
Change-Id: Iaaffed2c4e90dc4b17ae55fcedb242bf890b3dd5
2013-04-05 13:45:56 -07:00
Jack Bates
4fd97a3050 Fix SMTP RFC violation for better interoperability
Space after colon violates RFC 5321 (and RFC 821): "Since it has been a common
source of errors, it is worth noting that spaces are not permitted on either
side of the colon following FROM in the MAIL command or TO in the RCPT command"

Change-Id: Ie5330bf2bd01cd8f734134dadd742cf16df70d7a
Signed-off-by: Jack Bates <jack@nottheoilrig.com>

cherry-pick of https://android-review.googlesource.com/#/c/32640/
2013-04-05 13:42:13 -07:00
Paul Westbrook
f596434d82 am e9931d6d: am 156163cc: Prevent NPE
* commit 'e9931d6dba549766c3f70ad9abff4b12dffa4fcb':
  Prevent NPE
2013-04-05 13:36:06 -07:00
Paul Westbrook
e9931d6dba am 156163cc: Prevent NPE
* commit '156163cceb5f56bb53e88e68d4e79bd5c076797f':
  Prevent NPE
2013-04-05 13:33:05 -07:00
Paul Westbrook
156163cceb Prevent NPE
cherry-pick of https://android-review.googlesource.com/#/c/45703/

Change-Id: I8d6984d90365d6bc3e9f102285a06ac9c32a98d4
2013-04-05 12:00:29 -07:00