Commit Graph

1145 Commits

Author SHA1 Message Date
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
286313b476 am faae6edc: Fix problem in which email/phone #\'s could get erased erroneously
Merge commit 'faae6edc55d0c20b62257f4e78684a2d90428272' into eclair-plus-aosp

* commit 'faae6edc55d0c20b62257f4e78684a2d90428272':
  Fix problem in which email/phone #'s could get erased erroneously
2009-09-30 23:17:03 -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
Fred Quintana
61fddf2c41 am 1e3ac08a: Merge change Iee4f5e88 into eclair
Merge commit '1e3ac08a3f7a043248d7c7ce70867f876170aa69' into eclair-plus-aosp

* commit '1e3ac08a3f7a043248d7c7ce70867f876170aa69':
  use Events for birthdays
2009-09-30 21:37:58 -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
d38d5d1438 am 82d201b3: FastTrack->QuickContact
Merge commit '82d201b33a7e8766977750285d6c0606c8d487cc' into eclair-plus-aosp

* commit '82d201b33a7e8766977750285d6c0606c8d487cc':
  FastTrack->QuickContact
2009-09-30 21:19:13 -07:00
Marc Blank
8d0958c8ae am b93860b5: Merge change I9f70f20b into eclair
Merge commit 'b93860b5e4ca4f7e194748895d075063849eed7d' into eclair-plus-aosp

* commit 'b93860b5e4ca4f7e194748895d075063849eed7d':
  Fix problem that could prevent push from working
2009-09-30 21:15:56 -07:00
Marc Blank
af60251911 am f6f029b8: Merge change I18fdf62f into eclair
Merge commit 'f6f029b8e0171b5a6e1ddd2df24750cb7908681d' into eclair-plus-aosp

* commit 'f6f029b8e0171b5a6e1ddd2df24750cb7908681d':
  Fix mail sending for new message (#2158054)
2009-09-30 21:12:19 -07:00
Andrew Stadler
661dfaf853 am f9597e71: Fix assets & colors for MessageList & MessageView
Merge commit 'f9597e71d5a397dcede9728b3b3696d5260d5e75' into eclair-plus-aosp

* commit 'f9597e71d5a397dcede9728b3b3696d5260d5e75':
  Fix assets & colors for MessageList & MessageView
2009-09-30 21:12:15 -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
Marc Blank
cb7e4db738 am 6c1d3be2: Merge change I9c697612 into eclair
Merge commit '6c1d3be245ca21bd683b02cdcd6d24076b01c344' into eclair-plus-aosp

* commit '6c1d3be245ca21bd683b02cdcd6d24076b01c344':
  Use built-in rows for Birthday and OfficeLocation (fixes #2154423)
2009-09-30 15:38:32 -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
Marc Blank
1ccf74acd4 am 21563fad: Merge change Ie6d16a89 into eclair
Merge commit '21563fad0908f257d984677dcfa41145582a0d4e' into eclair-plus-aosp

* commit '21563fad0908f257d984677dcfa41145582a0d4e':
  Fix an issue related to ping loop errors and ping state; add logging
2009-09-30 12:44:35 -07: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
331e508f7a am 54e0a5f6: Only auto-refresh when user opens mailbox
Merge commit '54e0a5f65c777147a1d90cd73d2ebeab2a67e417' into eclair-plus-aosp

* commit '54e0a5f65c777147a1d90cd73d2ebeab2a67e417':
  Only auto-refresh when user opens mailbox
2009-09-30 12:00:52 -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
Andrew Stadler
7d6d99e7b0 am 0b50eea4: Merge change Ib8ee27f0 into eclair
Merge commit '0b50eea451e8a09da859d730507fbe64a1b23551' into eclair-plus-aosp

* commit '0b50eea451e8a09da859d730507fbe64a1b23551':
  Add "deselect all"
2009-09-30 10:50:34 -07:00
Android (Google) Code Review
0b50eea451 Merge change Ib8ee27f0 into eclair
* changes:
  Add "deselect all"
2009-09-30 13:45:09 -04:00
Marc Blank
922a67a6d0 am 059b3e5e: Make sure intro text is saved/restored properly (fix #2155286)
Merge commit '059b3e5ed55b025affab63e5bcfc23cf418fbbd6' into eclair-plus-aosp

* commit '059b3e5ed55b025affab63e5bcfc23cf418fbbd6':
  Make sure intro text is saved/restored properly (fix #2155286)
2009-09-30 10:40:17 -07: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
35a0bac8db am 536f04d3: MessageView: UI: change prev/next arrows, re-enable notification bar shadow.
Merge commit '536f04d3fb0fc554b0c0b829fe719d7fc83cf8d6' into eclair-plus-aosp

* commit '536f04d3fb0fc554b0c0b829fe719d7fc83cf8d6':
  MessageView: UI: change prev/next arrows, re-enable notification bar shadow.
2009-09-30 08:02:30 -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
Mihai Preda
5cff6d513f am ba6cf35b: Merge change Ib17b43c7 into eclair
Merge commit 'ba6cf35b4f43cd59fe98c4c32e1e83af6efa5107' into eclair-plus-aosp

* commit 'ba6cf35b4f43cd59fe98c4c32e1e83af6efa5107':
  MessageCompose: avoid saving Draft early, before the message was loaded.
2009-09-30 02:23:39 -07: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
Mike Cleron
9be33f0743 am 72195a5b: Merge change I60b19553 into eclair
Merge commit '72195a5ba6298acf434b5e11505f18bad32b199d' into eclair-plus-aosp

* commit '72195a5ba6298acf434b5e11505f18bad32b199d':
  Newer icons
2009-09-30 01:35:36 -07:00
Android (Google) Code Review
72195a5ba6 Merge change I60b19553 into eclair
* changes:
  Newer icons
2009-09-30 04:30:20 -04:00
Andrew Stadler
e6978614da am 62b5a51b: Use FLAG_ACTIVITY_CLEAR_TOP for list activities
Merge commit '62b5a51b8fc7d85f8b71d5d6db04986a6080eff7' into eclair-plus-aosp

* commit '62b5a51b8fc7d85f8b71d5d6db04986a6080eff7':
  Use FLAG_ACTIVITY_CLEAR_TOP for list activities
2009-09-30 01:25:18 -07: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
c5f284963e am bedd617c: Fix the bug that combined Drafts folder is hidden when there are only read messages.
Merge commit 'bedd617c89a9a63e7808af77f35b2c2101a1548c' into eclair-plus-aosp

* commit 'bedd617c89a9a63e7808af77f35b2c2101a1548c':
  Fix the bug that combined Drafts folder is hidden when there are only read messages.
2009-09-29 22:58:42 -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
35c715e04b am ed94cfd1: Change the color of READ/UNREAD messages
Merge commit 'ed94cfd1202dea018b21a57d38e403b24c976e06' into eclair-plus-aosp

* commit 'ed94cfd1202dea018b21a57d38e403b24c976e06':
  Change the color of READ/UNREAD messages
2009-09-29 21:30:30 -07:00
satok
2caef68d37 am 3786cab2: More refresh account and folder list
Merge commit '3786cab2aa1776e92fc67af3931a76cd8b848b48' into eclair-plus-aosp

* commit '3786cab2aa1776e92fc67af3931a76cd8b848b48':
  More refresh account and folder list
2009-09-29 20:33:22 -07: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
74f528f614 am e4a7cc44: Re-enable modernized version of "optional" SSL/TLS
Merge commit 'e4a7cc440f081ef9c4375a2bd2f82680cc11b152' into eclair-plus-aosp

* commit 'e4a7cc440f081ef9c4375a2bd2f82680cc11b152':
  Re-enable modernized version of "optional" SSL/TLS
2009-09-29 15:41:23 -07: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
57ea7c87bd am 0797b4e3: Near-final tweaks to sync timeouts and logging
Merge commit '0797b4e35189c47574476773c126178a493bfada' into eclair-plus-aosp

* commit '0797b4e35189c47574476773c126178a493bfada':
  Near-final tweaks to sync timeouts and logging
2009-09-29 12:17:18 -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