Commit Graph

929 Commits

Author SHA1 Message Date
Andrew Stadler
f16a3f2f6a Cleanup delete handling issues in POP3
* Removed obsolete "delete after 7 days" option from pop-up prefs
* Mark deleted message sentinels as "read" so they don't contribute
    to unread counts.

Bug # 2157487 and Bug # 2159278

Change-Id: Ic3cbc51d6f5ede2eb923e2d0e5c0dfee377764f5
2009-10-01 01:45:10 -07:00
Android (Google) Code Review
2433cba85b Merge change Ic87cf984 into eclair
* changes:
  Call deferred requery from handler instead of Runnable
2009-10-01 03:20:52 -04:00
Andrew Stadler
7aca36b240 Call deferred requery from handler instead of Runnable
* code cleanup for Change I9cab6558
* Bug # 2126515

Change-Id: Ic87cf98485271e3fbf162c8b696114035337bd78
2009-10-01 00:14:25 -07:00
Marc Blank
cdd477e16a Delete attachments for mailboxes/messages deleted by server
Change-Id: Idd94dd0be9e8febe449fd4888fdb911af76618ce
2009-09-30 23:58:05 -07:00
Android (Google) Code Review
8401e1aca4 Merge change I99731e64 into eclair
* changes:
  Delete attachments when necessary, don't leak disk space
2009-10-01 02:47:53 -04:00
Android (Google) Code Review
3a88677988 Merge change I9cab6558 into eclair
* changes:
  Throttle the refresh of the message list as it changes (fixes #2126515)
2009-10-01 02:41:09 -04:00
Andrew Stadler
71754d3f94 Delete attachments when necessary, don't leak disk space
* Add AttachmentProvider.deleteAllMailboxAttachmentFiles
* Call it when server deletes a mailbox
* Confirmed (no change) all message deletes call deleteAllAttachmentFiles
* Unit tests of course :)

Bug # 2069004

Change-Id: I99731e6489fdca4cc9cebdff5fcf9c09d12b7b3a
2009-09-30 23:32:30 -07:00
Marc Blank
faae6edc55 Fix problem in which email/phone #'s could get erased erroneously
* Fixes #2158960
* Needed to keep track of existing untyped phone/email data

Change-Id: I5e58f092a35253ee785521fad6a2be7f1d2f4d6b
2009-09-30 23:10:57 -07:00
Marc Blank
3850149239 Throttle the refresh of the message list as it changes (fixes #2126515)
* Catch onContentChanged and throttle calls to cursor.requery()
* Use 2.5s for now.  This seems to provide excellent responsiveness
  with little apparent latency.
* Also fixes #2135882

Change-Id: I9cab6558c9cfeb1dbdb5fb250f4f04059db324f7
2009-09-30 23:06:45 -07:00
Android (Google) Code Review
1e3ac08a3f Merge change Iee4f5e88 into eclair
* changes:
  use Events for birthdays
2009-10-01 00:32:49 -04:00
Fred Quintana
eddebdf951 use Events for birthdays 2009-09-30 21:22:56 -07:00
Evan Millar
82d201b33a FastTrack->QuickContact
Change-Id: I7fc4b053ef86c9bc8374167dc11b1c04934a77bb
2009-09-30 19:49:39 -07:00
Android (Google) Code Review
b93860b5e4 Merge change I9f70f20b into eclair
* changes:
  Fix problem that could prevent push from working
2009-09-30 21:51:08 -04:00
Marc Blank
1660d17cbf Fix problem that could prevent push from working
* Could be related to issues seen by various testers

Change-Id: I9f70f20b3c52347b38468ca2b82ede7b46c39fa1
2009-09-30 18:49:20 -07:00
Android (Google) Code Review
f6f029b8e0 Merge change I18fdf62f into eclair
* changes:
  Fix mail sending for new message (#2158054)
2009-09-30 20:26:58 -04:00
Marc Blank
2f222b4b86 Fix mail sending for new message (#2158054)
Change-Id: I18fdf62f10ca350731446728b6095dabbc049bc1
2009-09-30 17:24:47 -07:00
Andrew Stadler
f9597e71d5 Fix assets & colors for MessageList & MessageView
* change read/unread list bkgnds
* change read/unread list text params
* new checkbox
* new stars

Bugs:http://b/issue?id=2156331 & http://b/issue?id=2156332
2009-09-30 16:18:36 -07:00
Android (Google) Code Review
6c1d3be245 Merge change I9c697612 into eclair
* changes:
  Use built-in rows for Birthday and OfficeLocation (fixes #2154423)
2009-09-30 18:30:22 -04:00
Android (Google) Code Review
21563fad09 Merge change Ie6d16a89 into eclair
* changes:
  Fix an issue related to ping loop errors and ping state; add logging
2009-09-30 15:39:59 -04:00
Marc Blank
3fef6f4a47 Fix an issue related to ping loop errors and ping state; add logging
Change-Id: Ie6d16a8914205ddf63ae1929961279f66360eb89
2009-09-30 12:23:23 -07:00
Andrew Stadler
54e0a5f65c Only auto-refresh when user opens mailbox
This prevents auto-refresh from triggering on non-explicit entry
to the mailbox (e.g. by resuming from another activity).

BUG: 2155843
2009-09-30 11:40:02 -07:00
Android (Google) Code Review
0b50eea451 Merge change Ib8ee27f0 into eclair
* changes:
  Add "deselect all"
2009-09-30 13:45:09 -04:00
Andrew Stadler
b8ee27f013 Add "deselect all"
* New menu items in MessageList
* Show/hide menu item if anything is checked
* Clear the selected items map, redraw listview, hide button panel

Bug # 2116257
2009-09-30 10:07:25 -07:00
Marc Blank
059b3e5ed5 Make sure intro text is saved/restored properly (fix #2155286)
Change-Id: I015783972e685472ea27cbdb854511e918d8f35e
2009-09-30 08:56:32 -07:00
Mihai Preda
536f04d3fb MessageView: UI: change prev/next arrows, re-enable notification bar shadow.
Bug: 2149187.
2009-09-30 15:10:17 +02:00
Android (Google) Code Review
ba6cf35b4f Merge change Ib17b43c7 into eclair
* changes:
  MessageCompose: avoid saving Draft early, before the message was loaded.
2009-09-30 05:16:07 -04:00
Android (Google) Code Review
72195a5ba6 Merge change I60b19553 into eclair
* changes:
  Newer icons
2009-09-30 04:30:20 -04:00
Mike Cleron
60b1955353 Newer icons 2009-09-30 01:14:16 -07:00
Andrew Stadler
62b5a51b8f Use FLAG_ACTIVITY_CLEAR_TOP for list activities
This prevents these activities from ever repeating on the task stack.

Helps http://b/issue?id=2149204 (and may even fix it)

Change-Id: Idf8255b703094a78a2df3e9f535b67fd65faef32
2009-09-30 01:08:06 -07:00
satok
bedd617c89 Fix the bug that combined Drafts folder is hidden when there are only read messages.
* Count all messages count in drafts folder
2009-09-30 14:49:46 +09:00
satok
ed94cfd120 Change the color of READ/UNREAD messages
BUG: 2149184

* UNREAD: #000000
* READ: #2C2C2C
2009-09-30 12:32:06 +09:00
satok
3786cab2aa More refresh account and folder list
BUG: 2149171

* Change the string of combined inbox
* Change the string of combined starred folder
* Change the icon for combined inbox
* Change the icon for combined starred folder
2009-09-30 12:24:36 +09:00
Andrew Stadler
e4a7cc440f Re-enable modernized version of "optional" SSL/TLS
* Add "Accept all certificates" modes to incoming/outgoing secure choices
* Change URI scheme slightly to make "trust" a flag, not part of the
    protocol.
* Change Stores to know about new URI scheme
* Slightly rework Transport API to make "trust" an independent flag
* Adapt HostAuth to handle new Uri scheme
* Remove the old ambiguous "optional" code, which was allowing
    some unsigned certificates, but was *also* allowing TLS to
    optionally start (though not SSL, despite the UI strings.)
* Add a few unit tests to EmailContent
* Add logging and a bunch of comments to TrustManagerFactory, and a bit
    of simple cleanup to make it more readable.
* Add missing conversion of SSLException->CertificateValidationException
    in TLS so we get the correct certificate errors from TLS too.
* Re-enable TLS for mac.com accounts (which had a certificate problem)

Fixes bug http://b/2119755, http://b/1374780, and probably a raft of
earlier and/or external bugs about certificate problems.

Change-Id: Iaf99a8da3eaadaa4cdeec224737838b5d6813e55
2009-09-29 15:28:43 -07:00
Marc Blank
1d0e9e6fb9 Use built-in rows for Birthday and OfficeLocation (fixes #2154423)
Change-Id: I9c6976121c662b5071fb7c86e70ab91d3ae47e53
2009-09-29 13:07:20 -07:00
Marc Blank
0797b4e351 Near-final tweaks to sync timeouts and logging
* Tighten up user logging
* Send all HttpClient commands w/ watchdog to prevent
  holding wakelocks too long
* Fix case in which no ping boxes are ready in which
  ping loop would hang on to WakeLock indefinitely
* Release WakeLock for waits < 10 seconds, rather than
  30s in SyncManager
* Improve logging of IOExceptions
* Log network status (at least until #2150976 is fixed)

Change-Id: I020b8a21c2c4f536d5b6df871f6b5c03fdc66ab8
2009-09-29 11:37:01 -07:00
Mihai Preda
2ab30ce247 MessageCompose: avoid saving Draft early, before the message was loaded.
And correctly set mDraftNeedsSaving when started through external intent.

Bug: 2149148, 2152044.
2009-09-29 15:47:00 +02:00
Mihai Preda
2dd894df2f MessageCompose: fix unit tests that were broken by CL 27435.
Bug 2150598.
2009-09-29 11:19:01 +02:00
Android (Google) Code Review
d936f1378a Merge change I0805f502 into eclair
* changes:
  New icons
2009-09-29 03:11:14 -04:00
Mike Cleron
0805f5024d New icons 2009-09-29 00:07:58 -07:00
Android (Google) Code Review
b0b61fa2e4 Merge change I74466dcc into eclair
* changes:
  Update unread counts and default sender Id in AccountFolderList after folder loding messages
2009-09-29 00:35:05 -04:00
Marc Blank
3b95f691ee Handle upload of Phone.TYPE_ASSISTANT (fixes #2127721)
Change-Id: Ic59931b9d8643c599c43a164da4b4cfcc36f98c2
2009-09-28 20:41:51 -07:00
Marc Blank
a4258ed487 Fix sendPing to set proper ping timeouts
* We were setting the timeout and heartbeat to the same time,
  which could cause mistaken timeouts
* Set timeout ten seconds after the heartbeat for now, and set
  an alarm a few seconds after that

Change-Id: Ic2f7b44c9626ebbdd7a8821f53f7aaf6169f62c3
2009-09-28 20:06:54 -07:00
satok
473a5e5c66 Update unread counts and default sender Id in AccountFolderList after folder loding messages
BUG: 2072360
2009-09-29 10:32:44 +09:00
Android (Google) Code Review
62cf0a3336 Merge change Id6da4520 into eclair
* changes:
  Remove a bit of logging in ContactsSyncAdapter
2009-09-28 20:02:46 -04:00
Marc Blank
4833cd686f Remove a bit of logging in ContactsSyncAdapter
Change-Id: Id6da45202f0fa0970571a624a89546e90d1bee2c
2009-09-28 17:02:14 -07:00
Andrew Stadler
0d4681cd66 Catch possible NPE in IMAP sync.
I don't know the root cause of the null pointer (possibly a broken
connection earlier in the sync) but we shouldn't be crashing here.

Fixes http://b/2135743
2009-09-28 15:56:38 -07:00
Android (Google) Code Review
0f7542e714 Merge change I3fb6ea7a into eclair
* changes:
  Change "Exchange" -> "Corporate" for AccountManager
2009-09-28 17:54:24 -04:00
Android (Google) Code Review
aff9926d84 Merge change I56e23586 into eclair
* changes:
  Reduce the sync window from 20 items to 5 (partial fix #2149029)
2009-09-28 17:52:49 -04:00
Marc Blank
f60bf5f351 Reduce the sync window from 20 items to 5 (partial fix #2149029)
* This change trades off network time / overhead with time keeping
  ContactsProvider2 busy
* The net effect will probably be to reduce some UI slowdowns while
  syncing Exchange contacts, while increasing the time it takes to
  sync those contacts

Change-Id: I56e2358698aa4c901cda4559f7a8f9117681f627
2009-09-28 14:49:35 -07:00
Marc Blank
24d247a506 Change "Exchange" -> "Corporate" for AccountManager
* Addresses #2144376 (legal requirement)

Change-Id: I3fb6ea7a396e6cca068b9c4f1ee79eb785298c5f
2009-09-28 14:47:21 -07:00