Commit Graph

449 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Marc Blank
ebda784732 Fix bugs related to Contacts sync behavior in Exchange
* Respect the UPLOAD extra from SyncManager and check for changes before starting
  a sync.
* Failure to do this was causing looping behavior

Change-Id: Idfb1c35782b6d3771f9455c6fe86489572a871c5
2009-08-29 12:55:55 -07:00
Android (Google) Code Review
a7927a874b Merge change 23116 into eclair
* changes:
  Create BootReceiver for Exchange for proper self-management
2009-08-28 18:23:19 -07:00
Marc Blank
58267fe146 Fix some Contacts upsync bugs; add logging for serialization
Change-Id: I855a8ee3df520f53fc94866b8463d314cf800ca5
2009-08-28 16:37:29 -07:00
Marc Blank
53cb37c3ef Create BootReceiver for Exchange for proper self-management
Change-Id: I95e9e632de91d7f0e2505bf8879e1c164861f58c
2009-08-28 11:42:17 -07:00
Android (Google) Code Review
bd4fe2db84 Merge change 23114 into eclair
* changes:
  Fix upload of read state for Exchange emails
2009-08-28 10:28:21 -07:00
Marc Blank
c29ec54532 Fix Contacts sync adapter required by change to SyncManager
Change-Id: Icfc1f191289170185548a03ca94d1f79f10b7519
2009-08-28 10:25:20 -07:00
Marc Blank
85a78c7495 Fix upload of read state for Exchange emails
Change-Id: Id5959f9c2394644e88b3961dea24f54ff1ad7141
2009-08-28 10:24:27 -07:00
Android (Google) Code Review
e3a25fe58d Merge change 23009 into eclair
* changes:
  fix a bug that can allow multiple syncs to start in parallel
2009-08-27 20:02:54 -07:00
Fred Quintana
63ec89f61a fix a bug that can allow multiple syncs to start in parallel 2009-08-27 18:33:49 -07:00
Mihai Preda
285efb4aff Email: check for closed cursor in onPostExecute for AsyncTasks.
BUG 2081965
2009-08-28 02:05:31 +02:00
Android (Google) Code Review
52129ec4b2 Merge change 23001 into eclair
* changes:
  MessageCompose: BUG 2069196, compose email from the correct account.
2009-08-27 16:50:14 -07:00
Mihai Preda
948e5ae63b MessageCompose: BUG 2069196, compose email from the correct account. 2009-08-28 01:29:33 +02:00
Android (Google) Code Review
ab11649eed Merge change 22989 into eclair
* changes:
  Fix usage of isDefault and IS_DEFAULT to be consistent
2009-08-27 16:24:02 -07:00
Android (Google) Code Review
5525e2b3c1 Merge change 22996 into eclair
* changes:
  Fix NPE in bug #2080357
2009-08-27 16:23:52 -07:00
Marc Blank
242fde1920 Fix NPE in bug #2080357
Change-Id: I07c0b65e16568e9cf182b70302f2a1ce90d2581b
2009-08-27 15:58:44 -07:00