Commit Graph

699 Commits

Author SHA1 Message Date
Android (Google) Code Review
7f3f3f392d Merge change 24228 into eclair
* changes:
  Import revised translations.  DO NOT MERGE
2009-09-08 17:01:53 -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
Eric Fischer
c17da29a98 Import revised translations. DO NOT MERGE 2009-09-08 16:27:08 -07:00
Dmitri Plotnikov
4587efc1d3 Replacing old contacts API references with new ones. 2009-09-08 14:34:20 -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
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
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
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
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
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
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
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
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
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
Andrew Stadler
0f878598dd am c78423ae: (-s ours) DO NOT MERGE Remove Exchange setup option
Merge commit 'c78423aec13d034b8dc19951127fca0454730bf5' into eclair

* commit 'c78423aec13d034b8dc19951127fca0454730bf5':
  DO NOT MERGE Remove Exchange setup option
2009-09-01 15:02:58 -07:00
Andrew Stadler
c78423aec1 DO NOT MERGE Remove Exchange setup option
This was leftover XML enabling the account setup UI.  There is no
actual Exchange code in this branch, so it would create a "dead"
account with an always-empty inbox.

The actual change is to simply comment-out the XML entry that
was enabling the account setup option to be presented, and to add
a unit test to confirm the outcome in the UI.

Bug # 2092944
2009-09-01 14:46:27 -07:00
Android (Google) Code Review
4bc201d9d0 Merge change 23405 into eclair
* changes:
  Use bulk delete for wiping contacts, now that it's implemented in ContactsProvider
2009-09-01 08:44:02 -07:00
Android (Google) Code Review
1b59056661 Merge change 23021 into eclair
* changes:
  Email: check for closed cursor in onPostExecute for AsyncTasks.
2009-09-01 04:31:26 -07:00
Android (Google) Code Review
d39e34862a Merge change 23407 into eclair
* changes:
  Remove the temporary call to start SyncManager in Welcome.java
2009-08-31 22:32:03 -07:00
Android (Google) Code Review
fe75cef7c7 Merge change 23315 into eclair
* changes:
  Fix 2085862; add email address to test Account
2009-08-31 22:30:05 -07:00
Marc Blank
75a0873dd9 Remove the temporary call to start SyncManager in Welcome.java
Change-Id: Ic15b19374e89d2b1329e55d4bc86336499a983fd
2009-08-31 22:06:30 -07:00
Marc Blank
7266d90dac Make mailboxes respect the sync interval of the Account
* Fixes #2089954

Change-Id: I1b632462ad23da5f024efe2d13ebb11e8e600c67
2009-08-31 21:45:58 -07:00
Marc Blank
469d07fdd4 Use bulk delete for wiping contacts, now that it's implemented in ContactsProvider
Change-Id: I0363901902cc8c17116222eb78bacd2e96ad28d7
2009-08-31 21:43:54 -07:00
Marc Blank
2ebf7d97ec Fix 2085862; add email address to test Account
Change-Id: I1980935207a96daa0b34bf78931e47b8374c84cc
2009-08-31 11:50:30 -07:00
Marc Blank
b3e4c79873 Change ContentObserver for Account; fix two bugs
* Fixes 2085862 and 2087385

Change-Id: I38e046e861ec0423669506194c0bcd6c9c96328c
2009-08-30 19:24:56 -07:00
Marc Blank
617720eb35 Handle user deletions in Exchange Contacts sync (i.e. upsync them)
Change-Id: I94a8d83b4739b6439a7a87c0bf22ed165a9c9186
2009-08-29 20:09:52 -07:00