Commit Graph

1652 Commits

Author SHA1 Message Date
Marc Blank
858ac5c60a am 549fc327: am 528fa1bb: Merge change Icabbe5fe into eclair-mr2
Merge commit '549fc327f13a944202ef6d5552d70398143e5339'

* commit '549fc327f13a944202ef6d5552d70398143e5339':
  Fix #2159410 (side-effect of unexpected account deletion)
2009-10-20 12:13:20 -07:00
Marc Blank
549fc327f1 am 528fa1bb: Merge change Icabbe5fe into eclair-mr2
Merge commit '528fa1bbca31c0c436dc6dc941286d9757f8675f' into eclair-mr2-plus-aosp

* commit '528fa1bbca31c0c436dc6dc941286d9757f8675f':
  Fix #2159410 (side-effect of unexpected account deletion)
2009-10-20 12:07:32 -07:00
Android (Google) Code Review
528fa1bbca Merge change Icabbe5fe into eclair-mr2
* changes:
  Fix #2159410 (side-effect of unexpected account deletion)
2009-10-20 15:01:54 -04:00
Marc Blank
aa0314a500 am f265a1d2: am 36796363: Fix SQL for upgrade from ver 6 to ver 7 of Email database
Merge commit 'f265a1d21735a15e3707f7922110dd2f7eef8824'

* commit 'f265a1d21735a15e3707f7922110dd2f7eef8824':
  Fix SQL for upgrade from ver 6 to ver 7 of Email database
2009-10-20 11:12:39 -07:00
Marc Blank
f265a1d217 am 36796363: Fix SQL for upgrade from ver 6 to ver 7 of Email database
Merge commit '367963639d4291511b7e175a208e2b553aac26c2' into eclair-mr2-plus-aosp

* commit '367963639d4291511b7e175a208e2b553aac26c2':
  Fix SQL for upgrade from ver 6 to ver 7 of Email database
2009-10-20 11:07:13 -07:00
Marc Blank
c1b8efad50 Fix #2159410 (side-effect of unexpected account deletion)
Change-Id: Icabbe5fe5c417ff72b542eff7a54c658814d482b
2009-10-20 10:51:08 -07:00
Marc Blank
367963639d Fix SQL for upgrade from ver 6 to ver 7 of Email database
Fixes #2196917

Change-Id: Ia403e50e9ec4ea553d38ded656bba769a4a4dd18
2009-10-20 10:11:26 -07:00
satok
368e6bc005 am 4ee9d903: am 4bc81bb2: Fix build breakage
Merge commit '4ee9d9033c54a01c06a889a02002effa72800b86'

* commit '4ee9d9033c54a01c06a889a02002effa72800b86':
  Fix build breakage
2009-10-19 12:31:15 -07:00
satok
4ee9d9033c am 4bc81bb2: Fix build breakage
Merge commit '4bc81bb2863101aad460a24c04abd08370adfa6e' into eclair-mr2-plus-aosp

* commit '4bc81bb2863101aad460a24c04abd08370adfa6e':
  Fix build breakage
2009-10-19 12:26:17 -07:00
satok
4bc81bb286 Fix build breakage 2009-10-20 04:19:21 +09:00
satok
b2019f3aa7 am 80705854: am ba78d18f: Merge change I23b7f225 into eclair-mr2
Merge commit '80705854ff6065912eef7c633e6da3beb568ad8c'

* commit '80705854ff6065912eef7c633e6da3beb568ad8c':
  Clean up appearance of unread counters
2009-10-19 11:33:21 -07:00
satok
80705854ff am ba78d18f: Merge change I23b7f225 into eclair-mr2
Merge commit 'ba78d18f59c73273739260e52d87b2ef8b81ab44' into eclair-mr2-plus-aosp

* commit 'ba78d18f59c73273739260e52d87b2ef8b81ab44':
  Clean up appearance of unread counters
2009-10-19 11:27:57 -07:00
Android (Google) Code Review
ba78d18f59 Merge change I23b7f225 into eclair-mr2
* changes:
  Clean up appearance of unread counters
2009-10-19 14:20:01 -04:00
satok
fa368b50d6 Clean up appearance of unread counters
BUG: 2161746
2009-10-20 03:18:27 +09:00
Marc Blank
b5c1a6652c am f78c84a7: am 3a88e2c3: am 55a97fc3: Fix attachment loading with "accept certificates" checked
Merge commit 'f78c84a72ae664958c478243c59c36c77d7feacb'

* commit 'f78c84a72ae664958c478243c59c36c77d7feacb':
  Fix attachment loading with "accept certificates" checked
2009-10-19 10:50:53 -07:00
Marc Blank
f78c84a72a am 3a88e2c3: am 55a97fc3: Fix attachment loading with "accept certificates" checked
Merge commit '3a88e2c35c274b249b095067ae87f89eaf15906e' into eclair-mr2-plus-aosp

* commit '3a88e2c35c274b249b095067ae87f89eaf15906e':
  Fix attachment loading with "accept certificates" checked
2009-10-19 10:46:26 -07:00
Marc Blank
3a88e2c35c am 55a97fc3: Fix attachment loading with "accept certificates" checked
Merge commit '55a97fc360ac549631af3aa3aad9833812674562' into eclair-mr2

* commit '55a97fc360ac549631af3aa3aad9833812674562':
  Fix attachment loading with "accept certificates" checked
2009-10-19 10:40:15 -07:00
Marc Blank
55a97fc360 Fix attachment loading with "accept certificates" checked
* Fixes #2191778 (P1/S1)
* Attachment retrieval wasn't using newer code to create its
  HttpClient.
* Fix is simple, extremely safe

Change-Id: I65be27decae8719bbad8ac7dce1c1164de4371a5
2009-10-19 10:34:10 -07:00
Marc Blank
2b0d3ef8d7 am dfeff3d8: am dc9bc35b: Merge change Idef455f3 into eclair-mr2
Merge commit 'dfeff3d8a71fafae24d55b7710966af06b177924'

* commit 'dfeff3d8a71fafae24d55b7710966af06b177924':
  Handle case of moreAvailable true with no changes (#2189704)
2009-10-15 13:40:42 -07:00
Marc Blank
dfeff3d8a7 am dc9bc35b: Merge change Idef455f3 into eclair-mr2
Merge commit 'dc9bc35bb1adf4ef5deb4125eb0df0fef0c45dfc' into eclair-mr2-plus-aosp

* commit 'dc9bc35bb1adf4ef5deb4125eb0df0fef0c45dfc':
  Handle case of moreAvailable true with no changes (#2189704)
2009-10-15 13:36:14 -07:00
Android (Google) Code Review
dc9bc35bb1 Merge change Idef455f3 into eclair-mr2
* changes:
  Handle case of moreAvailable true with no changes (#2189704)
2009-10-15 16:28:19 -04:00
Marc Blank
8722e022d5 am bdaf801e: am f095e9df: Merge change Ib53e4411 into eclair-mr2
Merge commit 'bdaf801ea2fb8a2f11c31a43f3ba306e814bb25e'

* commit 'bdaf801ea2fb8a2f11c31a43f3ba306e814bb25e':
  Clear out orphaned messages in updates/deletes tables
2009-10-15 12:14:53 -07:00
Marc Blank
288bb26ab8 Handle case of moreAvailable true with no changes (#2189704)
* An Exchange log from Moto has shown sync behavior in which moreAvailable
  is set to true even though there are no changes in the sync response
  (i.e. the SyncKey is unchanged)
* This leads to long-lived looping which impacts battery life
* The fix is to recognize the behavior and prevent looping by
  setting moreAvailable = false

Change-Id: Idef455f3e1170caf4002542ca432d128b3a19e56
2009-10-15 12:11:39 -07:00
Marc Blank
bdaf801ea2 am f095e9df: Merge change Ib53e4411 into eclair-mr2
Merge commit 'f095e9df5a8dbd97dcefecb479fbcce05ddb4d87' into eclair-mr2-plus-aosp

* commit 'f095e9df5a8dbd97dcefecb479fbcce05ddb4d87':
  Clear out orphaned messages in updates/deletes tables
2009-10-15 12:09:46 -07:00
Android (Google) Code Review
f095e9df5a Merge change Ib53e4411 into eclair-mr2
* changes:
  Clear out orphaned messages in updates/deletes tables
2009-10-15 15:03:41 -04:00
Marc Blank
ef83299b99 Clear out orphaned messages in updates/deletes tables
Case #1:
* Fixes #2184702
* Messages can be in the base Messages table, but also in
  Message_Deletes and Message_Updates; the latter two were not
  being purged of deleted messages.
* This CL deletes from all three tables when a Mailbox is deleted
* Also run a check for orphaned deletes/updates when the email
  provider's db is first opened
* Unit test updated to check for proper deletion
* Unit test for the provider check for orphans

Case #2:
* Fixes #2184708
* Messages in Outbox/Drafts can get modified or deleted, but the
  rows added to the updates/delete tables never get removed because
  the boxes don't sync
* Added code to SyncManager.ping (which gets notifications of these
  changes) to delete these rows

Change-Id: Ib53e441136b0da1e88bc220150d631999058a8f0
2009-10-15 10:58:00 -07:00
Mihai Preda
90b688caa3 am b5b63e92: am 3afd66cd: MessageCompose: disable "save as draft" button logic.
Merge commit 'b5b63e92a1989ee0eaa1a3c4e38a4d9e11adf9e2'

* commit 'b5b63e92a1989ee0eaa1a3c4e38a4d9e11adf9e2':
  MessageCompose: disable "save as draft" button logic.
2009-10-15 09:50:56 -07:00
Mihai Preda
b5b63e92a1 am 3afd66cd: MessageCompose: disable "save as draft" button logic.
Merge commit '3afd66cda8e466f23a8febb4906a8957abde86b7' into eclair-mr2-plus-aosp

* commit '3afd66cda8e466f23a8febb4906a8957abde86b7':
  MessageCompose: disable "save as draft" button logic.
2009-10-15 09:46:02 -07:00
Mihai Preda
3afd66cda8 MessageCompose: disable "save as draft" button logic.
Bug 2184404
Disable "save as draft" button when there are no changes to be saved.
2009-10-15 12:09:38 +02:00
satok
1401c28c69 am 374c565e: am 9bb382f4: Merge change I0bb16acd into eclair-mr2
Merge commit '374c565e07ce32d7a6f8b0ac8516493d1ee5c64e'

* commit '374c565e07ce32d7a6f8b0ac8516493d1ee5c64e':
  Fix the bug that the count of draft and trash icons are wrong.
2009-10-14 18:11:42 -07:00
satok
790ed78a4b am 3be8be10: am 7b16a280: Fix the apparance of title according to Gmail
Merge commit '3be8be105c46143b4307d62d7651af5fbf1cb4d6'

* commit '3be8be105c46143b4307d62d7651af5fbf1cb4d6':
  Fix the apparance of title according to Gmail
2009-10-14 18:06:50 -07:00
satok
374c565e07 am 9bb382f4: Merge change I0bb16acd into eclair-mr2
Merge commit '9bb382f43aca0b9afd849e2faf7e5dd450722281' into eclair-mr2-plus-aosp

* commit '9bb382f43aca0b9afd849e2faf7e5dd450722281':
  Fix the bug that the count of draft and trash icons are wrong.
2009-10-14 18:06:36 -07:00
Android (Google) Code Review
9bb382f43a Merge change I0bb16acd into eclair-mr2
* changes:
  Fix the bug that the count of draft and trash icons are wrong.
2009-10-14 21:02:18 -04:00
satok
3be8be105c am 7b16a280: Fix the apparance of title according to Gmail
Merge commit '7b16a280d9f0831868494e25559c6c0ac743575b' into eclair-mr2-plus-aosp

* commit '7b16a280d9f0831868494e25559c6c0ac743575b':
  Fix the apparance of title according to Gmail
2009-10-14 18:01:46 -07:00
satok
347a44af56 Fix the bug that the count of draft and trash icons are wrong.
BUG: 2159565

* Currently only the number of unread messages is shown.
* Fixed to show the number of all messages
2009-10-15 10:01:13 +09:00
satok
7b16a280d9 Fix the apparance of title according to Gmail
BUG: 2161477
2009-10-15 08:46:52 +09:00
Jean-Baptiste Queru
2411f28f6c am bf226c93: merge from open-source master
Merge commit 'bf226c93f93becc22b4bfce7f4a2878186e42c12'

* commit 'bf226c93f93becc22b4bfce7f4a2878186e42c12':
2009-10-14 16:12:32 -07:00
Jean-Baptiste Queru
bf226c93f9 merge from open-source master 2009-10-14 16:02:17 -07:00
Andrew Stadler
253798da0b am 3c717848: (-s ours) am f21d48ba: am 53123c2f: (-s ours) DO NOT MERGE. Prevent duplication of POP3 attachments
Merge commit '3c717848eae316d0b10940e2f84cb5b658cf531d'

* commit '3c717848eae316d0b10940e2f84cb5b658cf531d':
  DO NOT MERGE. Prevent duplication of POP3 attachments
2009-10-14 16:00:52 -07:00
Andrew Stadler
3c717848ea am f21d48ba: am 53123c2f: (-s ours) DO NOT MERGE. Prevent duplication of POP3 attachments
Merge commit 'f21d48ba8512767b200b350dd04d1a1000ed6d6e' into eclair-mr2-plus-aosp

* commit 'f21d48ba8512767b200b350dd04d1a1000ed6d6e':
  DO NOT MERGE. Prevent duplication of POP3 attachments
2009-10-14 15:55:46 -07:00
Andrew Stadler
f21d48ba85 am 53123c2f: (-s ours) DO NOT MERGE. Prevent duplication of POP3 attachments
Merge commit '53123c2f914db357fa5b4a8451b23c6be77314a5' into eclair-mr2

* commit '53123c2f914db357fa5b4a8451b23c6be77314a5':
  DO NOT MERGE. Prevent duplication of POP3 attachments
2009-10-14 15:51:02 -07:00
Andrew Stadler
21d9337a13 am 53123c2f: DO NOT MERGE. Prevent duplication of POP3 attachments
Merge commit '53123c2f914db357fa5b4a8451b23c6be77314a5' into eclair-plus-aosp

* commit '53123c2f914db357fa5b4a8451b23c6be77314a5':
  DO NOT MERGE. Prevent duplication of POP3 attachments
2009-10-14 15:50:15 -07:00
Andrew Stadler
53123c2f91 DO NOT MERGE. Prevent duplication of POP3 attachments
* For each attachment we add, check the DB for an existing attachment
  with similar metadata (name, mime type, content id, etc.)
* Skip adding them if already held
* Unit tests

Originally fixed in 5b0a12c199 / CL I036f39c6

Fixes bug http://b/2084704
2009-10-14 12:41:05 -07:00
Andrew Stadler
8fdca7890f am 3259aa9c: am 196f6187: Merge change I036f39c6 into eclair-mr2
Merge commit '3259aa9c74a83e857ce3e3c1a699e93c0274c1e1'

* commit '3259aa9c74a83e857ce3e3c1a699e93c0274c1e1':
  Prevent duplication of POP3 attachments
2009-10-14 10:34:12 -07:00
Andrew Stadler
3259aa9c74 am 196f6187: Merge change I036f39c6 into eclair-mr2
Merge commit '196f6187bb25c7ed1b2f6f5f3178152294b3cc22' into eclair-mr2-plus-aosp

* commit '196f6187bb25c7ed1b2f6f5f3178152294b3cc22':
  Prevent duplication of POP3 attachments
2009-10-14 10:29:52 -07:00
Android (Google) Code Review
196f6187bb Merge change I036f39c6 into eclair-mr2
* changes:
  Prevent duplication of POP3 attachments
2009-10-14 13:21:26 -04:00
Andrew Stadler
5b0a12c199 Prevent duplication of POP3 attachments
* For each attachment we add, check the DB for an existing attachment
  with similar metadata (name, mime type, content id, etc.)
* Skip adding them if already held
* Unit tests

Fixes bug http://b/2084704
2009-10-14 08:20:59 -07:00
Andrew Stadler
bf279ce6b4 am 77c7ce54: am e3e02ada: am dee4e253: Do not trust server-provided content type for attachments
Merge commit '77c7ce54be778ca93a11069cc152b67d10bcff5f'

* commit '77c7ce54be778ca93a11069cc152b67d10bcff5f':
  Do not trust server-provided content type for attachments
2009-10-14 07:56:18 -07:00
Andrew Stadler
77c7ce54be am e3e02ada: am dee4e253: Do not trust server-provided content type for attachments
Merge commit 'e3e02adac681790ff4bea653e273f7e2b0eea35b' into eclair-mr2-plus-aosp

* commit 'e3e02adac681790ff4bea653e273f7e2b0eea35b':
  Do not trust server-provided content type for attachments
2009-10-14 07:46:46 -07:00
Andrew Stadler
e3e02adac6 am dee4e253: Do not trust server-provided content type for attachments
Merge commit 'dee4e25320c5154a5626446e1aa37f63ae97c48c' into eclair-mr2

* commit 'dee4e25320c5154a5626446e1aa37f63ae97c48c':
  Do not trust server-provided content type for attachments
2009-10-14 07:37:12 -07:00