Commit Graph

711 Commits

Author SHA1 Message Date
Marc Blank
2682d82b81 am e2569831: Add sourceKey to Body table; add flags for reply/forward in Message
Merge commit 'e25698319325d5e9619bc45ae85d861b0f1c5954' into eclair-plus-aosp

* commit 'e25698319325d5e9619bc45ae85d861b0f1c5954':
  Add sourceKey to Body table; add flags for reply/forward in Message
2009-09-08 16:45:26 -07:00
Marc Blank
e256983193 Add sourceKey to Body table; add flags for reply/forward in Message
* Set reply/forward flag and sourceKey as appropriate in MessageCompose
* Update provider tests accordingly

Change-Id: I7f49d80a735314a1a38f09fbf1f234257c41af8c
2009-09-08 16:42:53 -07:00
Dmitri Plotnikov
5ab8f10b22 am 4587efc1: Replacing old contacts API references with new ones.
Merge commit '4587efc1d3da8dc0b1759d7d82677f347b529830' into eclair-plus-aosp

* commit '4587efc1d3da8dc0b1759d7d82677f347b529830':
  Replacing old contacts API references with new ones.
2009-09-08 16:29:41 -07:00
Dmitri Plotnikov
4587efc1d3 Replacing old contacts API references with new ones. 2009-09-08 14:34:20 -07:00
Dmitri Plotnikov
056cec00fc am e8a37cf7: Merge change 24088 into eclair
Merge commit 'e8a37cf76955314da77ceaa2f341c7fa2513d01b' into eclair-plus-aosp

* commit 'e8a37cf76955314da77ceaa2f341c7fa2513d01b':
  Re-enabling email suggestions and switching to new contacts API.
2009-09-08 13:37:54 -07:00
Marc Blank
ea9f7a662a am 5b1ec907: Fix more broken large Email tests (#2087413)
Merge commit '5b1ec907612642b1c92363e14c0d1aa296ae0c49' into eclair-plus-aosp

* commit '5b1ec907612642b1c92363e14c0d1aa296ae0c49':
  Fix more broken large Email tests (#2087413)
2009-09-08 13:37:52 -07:00
Marc Blank
bdf540b6c5 am c688b085: Merge change 24069 into eclair
Merge commit 'c688b085d0f1f88ad8eea58c15c2fcd82df7ea4b' into eclair-plus-aosp

* commit 'c688b085d0f1f88ad8eea58c15c2fcd82df7ea4b':
  Have SyncManager stopSelf if there are no EAS accounts
2009-09-08 13:37:51 -07:00
Android (Google) Code Review
e8a37cf769 Merge change 24088 into eclair
* changes:
  Re-enabling email suggestions and switching to new contacts API.
2009-09-08 13:22:24 -07:00
Marc Blank
5b1ec90761 Fix more broken large Email tests (#2087413)
Change-Id: Iacff02d7bb025f6c4d6de9ca8dfa96c6cbb78d67
2009-09-06 13:58:38 -07:00
Dmitri Plotnikov
a5b855898d Re-enabling email suggestions and switching to new contacts API. 2009-09-06 11:50:35 -07:00
Android (Google) Code Review
c688b085d0 Merge change 24069 into eclair
* changes:
  Have SyncManager stopSelf if there are no EAS accounts
2009-09-06 10:46:49 -07:00
Marc Blank
9c84c2b2c6 am 6e7ea8cf: Fix problem with case of attachment name in EAS
Merge commit '6e7ea8cfe6fa3fe4380964df53c51ba7812b6372' into eclair-plus-aosp

* commit '6e7ea8cfe6fa3fe4380964df53c51ba7812b6372':
  Fix problem with case of attachment name in EAS
2009-09-05 22:18:51 -07:00
Marc Blank
6e7ea8cfe6 Fix problem with case of attachment name in EAS
* Fixes #2102752

Change-Id: I9cc05a8fc02344f1f673c5ccb4e6aed0f9602350
2009-09-05 22:13:55 -07:00
Andrew Stadler
6e078ed33d am 7b03c793: A bit more debugging to catch the service race condition.
Merge commit '7b03c7936a2fd238f366fe145619308e5b31a8ec' into eclair-plus-aosp

* commit '7b03c7936a2fd238f366fe145619308e5b31a8ec':
  A bit more debugging to catch the service race condition.
2009-09-04 23:16:57 -07:00
Andrew Stadler
7b03c7936a A bit more debugging to catch the service race condition.
NOTE: This switches on Email.DEBUG for everyone, and should be
removed.


Change-Id: I700099a9aa5e5c64d8c282cb8d07a47c7c408862
2009-09-04 23:13:32 -07:00
Andrew Stadler
b03b3cedcc am 8549068c: Merge change 23963 into eclair
Merge commit '8549068cb55a014f81c3189ad40a164b5d036f03' into eclair-plus-aosp

* commit '8549068cb55a014f81c3189ad40a164b5d036f03':
  MessageView: bug 2076472, fix deletion WRT prev/next navigation.
2009-09-04 23:11:39 -07:00
Android (Google) Code Review
8549068cb5 Merge change 23963 into eclair
* changes:
  MessageView: bug 2076472, fix deletion WRT prev/next navigation.
2009-09-04 23:10:02 -07:00
Marc Blank
f1f8e81628 Have SyncManager stopSelf if there are no EAS accounts
Change-Id: Icfca3a7f93a9eb382dca19b9f69c461e92eb6bd8
2009-09-04 22:20:37 -07:00
Marc Blank
34b55a4c14 am b8d0c55a: Fix reply all behavior to prevent duplicates, etc.
Merge commit 'b8d0c55a05b97e53957dfd6619ea97edeca989cf' into eclair-plus-aosp

* commit 'b8d0c55a05b97e53957dfd6619ea97edeca989cf':
  Fix reply all behavior to prevent duplicates, etc.
2009-09-04 20:41:12 -07:00
Marc Blank
b8d0c55a05 Fix reply all behavior to prevent duplicates, etc.
* Also create a bogus account if none exists to prevent setup failure
* Fixes #2087413 (Email large tests failing with Unknown URI)
* Fixes #2097361 (Duplicate email address when replying...)

Change-Id: I9ca2ac5f98db43e9009c22421c69956440356e34
2009-09-04 20:39:02 -07:00
Andrew Stadler
db003dd489 MessageView: bug 2076472, fix deletion WRT prev/next navigation.
- fix doPrevious() which was not correctly moving the cursor due to
    bug 2100645
- correctly handle configuration change (keyboard open/close) by saving
    the current message
- reorder the operations in onDelete: first move the cursor, and next
    delete, to avoid the possibility of the observer call happening with
    the deleted message as messageId.
2009-09-04 17:24:26 -07:00
Mihai Preda
0a1754a1cf am 5d09beea: Merge change 23803 into eclair
Merge commit '5d09beeacbca54bda48055188585354bfaf238ad' into eclair-plus-aosp

* commit '5d09beeacbca54bda48055188585354bfaf238ad':
  MessageCompose: Bug 2078435, Correctly set the attachement flag.
2009-09-04 17:04:54 -07:00
Android (Google) Code Review
5d09beeacb Merge change 23803 into eclair
* changes:
  MessageCompose: Bug 2078435, Correctly set the attachement flag.
2009-09-04 17:03:17 -07:00
Marc Blank
fbb60a266d am 9be10e62: Remove the "unique" requirement for serverId; it should never have been there
Merge commit '9be10e62ed4c809c56e2bcc357d5bb7d5dd543c1' into eclair-plus-aosp

* commit '9be10e62ed4c809c56e2bcc357d5bb7d5dd543c1':
  Remove the "unique" requirement for serverId; it should never have been there
2009-09-04 16:38:50 -07:00
Marc Blank
9be10e62ed Remove the "unique" requirement for serverId; it should never have been there
* People using multiple accounts without this change could end up with missing folders
* Fixes 2099514
* Database version incremented; this change will cause a database wipe

Change-Id: I08d23fa54d8194758e1f7c2ffb528a14bc184f08
2009-09-04 16:36:39 -07:00
Marc Blank
cc6e0db2c6 am 5768ef61: Merge change 23939 into eclair
Merge commit '5768ef614bc7e45720da4ea2c92d261292993970' into eclair-plus-aosp

* commit '5768ef614bc7e45720da4ea2c92d261292993970':
  Fix crash related to long press of footer view in MessageList (2099784)
2009-09-04 16:17:29 -07:00
Android (Google) Code Review
5768ef614b Merge change 23939 into eclair
* changes:
  Fix crash related to long press of footer view in MessageList (2099784)
2009-09-04 16:15:48 -07:00
Mihai Preda
3113ae67fd MessageCompose: Bug 2078435, Correctly set the attachement flag.
- display "saved as draft" toast for save draft.
- don't display tost for send.
- don't cancel the sender task, let it complete.
- synchronize on mDraft although not sure that it's needed.
2009-09-04 18:14:27 +02:00
Jean-Baptiste Queru
3546871d23 merge from open-source master 2009-09-04 07:51:18 -07:00
Mihai Preda
62fb7cf5f5 Email MessageView: Bug 2053500, presence.
- fix the query for presence status.
- put it in an AsyncTask instead of Thread, remove from Handler.
- set the target rect when invoking the presence bar.
2009-09-04 11:14:15 +02:00
Marc Blank
8af8523154 Fix crash related to long press of footer view in MessageList (2099784)
Change-Id: I4be240096022ee69244532bbf876a47a520188bc
2009-09-03 22:56:06 -07:00
Andrew Stadler
9b9a2e69b9 Improve logging in MailService
The goal is to generate better reports to help find the race condition
described in bug 2084412

Change-Id: Idfc453af17edf08e89d2aa656585b83ed48691c8
2009-09-03 15:02:03 -07:00
Jean-Baptiste Queru
78c0f5570b merge from donut 2009-09-03 14:13:12 -07:00
Mihai Preda
4f11b50de5 MessageView: Bug 2097855, observer on prevNextCursor unregistered twice. 2009-09-03 15:27:55 +02:00
Android (Google) Code Review
67650c8bf7 Merge change 23435 into eclair
* changes:
  Email: BUG 1964940 Support multiple share from Gallery in Email
2009-09-03 01:37:26 -07:00
Android (Google) Code Review
bc1e760c11 Merge change 23771 into eclair
* changes:
  Fixed Labels for buld email
2009-09-02 21:42:43 -07:00
satok
58bd29e740 Fixed Labels for buld email
BUG:2084730
2009-09-03 13:34:31 +09:00
Android (Google) Code Review
9c60b110a9 Merge change 23726 into eclair
* changes:
  Clean up next/prev behavior in MessageView
2009-09-02 21:09:35 -07:00
Android (Google) Code Review
7c4a39981d Merge change 23657 into eclair
* changes:
  Fix the foldername of outbox
2009-09-02 17:51:17 -07:00
satok
4bb52e36b1 Fix the foldername of outbox
BUG: 2077596

* fixed the array of special_mailbox_display_names
* added unit tests
2009-09-03 09:47:00 +09:00
Andrew Stadler
6d22ccaa2f Clean up next/prev behavior in MessageView
To improve functionality of next/prev buttons:
* Stop using managed query for next/prev cursor, so requery won't
    run in UI thread.  Add explicit lifecycle management.
* Requery on every onResume()
* Use a listener to catch external changes.  This applies both to synced
    changes and also local deletes.
* If we ever find ourselves out of the list, finish() immediately
    to avoid any race conditions.

To reduce flicker & other problems during msg-to-msg navigation:
* Clear attachments list so it doesn't accrete as we navigate
* Clear body so we don't show previous body with newer headers

Fixes bug 2076472 and (possibly) 2069241 & 2078933
2009-09-02 16:49:24 -07:00
Android (Google) Code Review
d1d87b4dc9 Merge change 23709 into eclair
* changes:
  Put in temporary code to prevent contacts upsync based on Gservices setting
2009-09-02 15:47:22 -07:00
Andrew Stadler
44503689a8 am fe5ed7b4: (-s ours) DO NOT MERGE Remove test code
Merge commit 'fe5ed7b4b5a8398a3b826481275f4f478f43a506' into eclair

* commit 'fe5ed7b4b5a8398a3b826481275f4f478f43a506':
  DO NOT MERGE Remove test code
2009-09-02 15:35:12 -07:00
Marc Blank
65652eee27 Put in temporary code to prevent contacts upsync based on Gservices setting
Change-Id: I89ae0495da9daa85aee7e411cf159fd3c010ee13
2009-09-02 15:32:02 -07:00
Andrew Stadler
fe5ed7b4b5 DO NOT MERGE Remove test code
Bug # 2092944
2009-09-02 15:20:32 -07:00
satok
64814b3928 Update the design of Unread Count
BUG: 2065601

* Show Unread Count of Accounts in AccountFolderList
* Change the background according to the folder's type
* Change the style of unread counts

TODO: Change background images of Unread Count
2009-09-03 02:54:22 +09:00
Andrew Stadler
91a5cd517f Clean up handling of Exchange setup option
* Use concrete declarations, not the old sample code
* Remove unused "sample" code
* Create ExchangeSender.java
* Strip out the unused (old sample code) parts of ExchangeStore.java
* Unit test to make sure EAS is being offered
* Fix "account leak" in AccountSettingsTests

This was triggered by donut bug # 2092944 but the solution is
different because we support EAS here.
2009-09-02 09:45:28 -07:00
Mihai Preda
fa2238ca40 Email: BUG 1964940 Support multiple share from Gallery in Email 2009-09-02 15:38:48 +02:00
Android (Google) Code Review
e99e2824dc Merge change 23579 into eclair
* changes:
  Bulk change of columns, LAST TIME.
2009-09-01 23:41:21 -07:00
Andrew Stadler
936babc145 Bulk change of columns, LAST TIME.
* Add reply columns to Body
* Remove a bunch of unused columns from Message
* Update SQL tables, content read/write, etc.
* Small tweaks to app code that was not-really-using the old columns.
* Update existing unit tests for new/changed columns
* Disable TagsTests to solve a tests failure (prexisting, not caused by
    this CL)

Change-Id: Ief493796dfe219669755170d76786f91570cbb9b
2009-09-01 23:19:12 -07:00