Commit Graph

891 Commits

Author SHA1 Message Date
Marc Blank
3cc8929c40 am 7041dc5d: Reconnect Settings -> Accounts to Email account settings screen
Merge commit '7041dc5d1b4e231c7ee51a76b0dd02f5525ac51d' into eclair-plus-aosp

* commit '7041dc5d1b4e231c7ee51a76b0dd02f5525ac51d':
  Reconnect Settings -> Accounts to Email account settings screen
2009-09-20 15:04:11 -07:00
Marc Blank
7041dc5d1b Reconnect Settings -> Accounts to Email account settings screen
* This was broken during the AccountManager naming reversion

Change-Id: Ib2ccc9ca187ffdaf4a978c3c8111808be50d1583
2009-09-20 14:56:02 -07:00
Marc Blank
869f5d5fd8 am a740e293: Fix bugs related to orientation change in MessageCompose
Merge commit 'a740e2935746254b836051069813489cb38be666' into eclair-plus-aosp

* commit 'a740e2935746254b836051069813489cb38be666':
  Fix bugs related to orientation change in MessageCompose
2009-09-20 13:13:31 -07:00
Marc Blank
a740e29357 Fix bugs related to orientation change in MessageCompose
* Save reference to LoadMessageTask and cancel it in onDestroy
* Check whether we've already processed the source message
  before calling processSourceMessage
* Fixes #2097361 (Duplicate addresses in reply/reply all)
* Fixes NPE (not in Buganizer) related to fast orientation changes
  due to duplicated background task

Change-Id: Ib8115e29c9d88db1be009df4f549f925db8a1c19
2009-09-20 13:03:44 -07:00
Andrew Stadler
4de3f97290 am 8d5004a6: Modernize the code to load message and body from DB.
Merge commit '8d5004a6eb28844c9d86a5e97a947043b693eee6' into eclair-plus-aosp

* commit '8d5004a6eb28844c9d86a5e97a947043b693eee6':
  Modernize the code to load message and body from DB.
2009-09-20 10:14:51 -07:00
Andrew Stadler
8d5004a6eb Modernize the code to load message and body from DB.
* Don't use unneeded managed cursors
* Put more of the DB work in async
* Don't try to load HTML and plaintext simultaneously
* Explicitly catch & handle exceptions during db ops

Bug # 2087051  (see also bug # 2122960 re unexpected db exceptions)

Change-Id: I446086bc4f3a85b2e766b12d1f7271e61e3ae8d5
2009-09-20 10:06:08 -07:00
Marc Blank
f08a92083b am 8587aa61: Make EmailProvider more threadsafe w/r/t transactions
Merge commit '8587aa61211d288d05b5fb2ddf02d69cabe6a9e2' into eclair-plus-aosp

* commit '8587aa61211d288d05b5fb2ddf02d69cabe6a9e2':
  Make EmailProvider more threadsafe w/r/t transactions
2009-09-20 10:00:53 -07:00
Marc Blank
bbcd8597c1 am 9d43de5d: Remove parser logging from standard SD logging
Merge commit '9d43de5d1206eb54c4486cefec44a7bbd810bada' into eclair-plus-aosp

* commit '9d43de5d1206eb54c4486cefec44a7bbd810bada':
  Remove parser logging from standard SD logging
2009-09-19 22:29:37 -07:00
Marc Blank
8587aa6121 Make EmailProvider more threadsafe w/r/t transactions
* Since transactions can be nested, get rid of pointless/dangerous
  flag for indicating we're in a transaction.
* Fixes #2131847

Change-Id: I2955e8a7659533e8ee9e71b949a042570466df45
2009-09-19 22:24:52 -07:00
Marc Blank
9d43de5d12 Remove parser logging from standard SD logging
* Change description for one of the logging labels to reflect
  what it actually does

Change-Id: Ib07b7330a20af5b099b42ae3733b71641c4bddd9
2009-09-19 22:19:28 -07:00
Marc Blank
adf9cfb1f0 am 726d22b9: Merge change 25895 into eclair
Merge commit '726d22b96280f376f52367304a53f5ac1d4e60f3' into eclair-plus-aosp

* commit '726d22b96280f376f52367304a53f5ac1d4e60f3':
  Fix service behavior w/r/t onStartCommand, onCreate, onDestroy
2009-09-19 20:47:37 -07:00
Android (Google) Code Review
726d22b962 Merge change 25895 into eclair
* changes:
  Fix service behavior w/r/t onStartCommand, onCreate, onDestroy
2009-09-19 23:41:35 -04:00
Andrew Stadler
43ee5fdcb9 am 02df29b6: Merge change 25903 into eclair
Merge commit '02df29b647ae77f0ff283ab9ace737b077db3509' into eclair-plus-aosp

* commit '02df29b647ae77f0ff283ab9ace737b077db3509':
  Fix bug that caused Cc field to be displayed when empty.
2009-09-19 13:57:51 -07:00
Android (Google) Code Review
02df29b647 Merge change 25903 into eclair
* changes:
  Fix bug that caused Cc field to be displayed when empty.
2009-09-19 16:52:28 -04:00
Marc Blank
a4482e865d Fix service behavior w/r/t onStartCommand, onCreate, onDestroy
* Make sure to null out vars in onDestroy
* Use START_STICKY as return value for onStartCommand
* Start SyncManager from EasAuthenticator callback, rather from the
  authenticator itself (otherwise, the Account might not have been
  created when we start SyncManager)

Change-Id: I54ff8d5586e96f016b365587717710dee3202da8
2009-09-19 13:38:59 -07:00
Marc Blank
d63e5a0bfc am 24bbde37: Merge change 25897 into eclair
Merge commit '24bbde37478bb717d72a13e880359d1ab28216a8' into eclair-plus-aosp

* commit '24bbde37478bb717d72a13e880359d1ab28216a8':
  Revert change to AccountManager naming; use email address again
2009-09-19 10:27:27 -07:00
Android (Google) Code Review
24bbde3747 Merge change 25897 into eclair
* changes:
  Revert change to AccountManager naming; use email address again
2009-09-19 13:18:52 -04:00
Andrew Stadler
b4626d151c Fix bug that caused Cc field to be displayed when empty.
The IMAP & POP messages are being stored with cc="" instead of null,
which is taken care of by testing the output of toFriendly() instead
of the raw field from the DB.

Change-Id: I9460e7ae098ac5cd0ccd527381ffd4e6d9defae4
2009-09-18 22:54:30 -07:00
Marc Blank
657de3bfd6 Revert change to AccountManager naming; use email address again
* Forces wipe of existing accounts

Change-Id: I65d08e07a2d74f94f9142e85791d9bf49c100241
2009-09-18 20:48:43 -07:00
Jim Miller
637c80116c am dfe66e5e: Fix bug #2004167: update assets for Email authenticator and add small icon. Re-upload after path conflict.
Merge commit 'dfe66e5eda51679ff61a5ae9da4c678abd7bb571' into eclair-plus-aosp

* commit 'dfe66e5eda51679ff61a5ae9da4c678abd7bb571':
  Fix bug #2004167: update assets for Email authenticator and add small icon. Re-upload after path conflict.
2009-09-18 18:23:02 -07:00
Jim Miller
dfe66e5eda Fix bug #2004167: update assets for Email authenticator and add small icon. Re-upload after path conflict. 2009-09-18 18:14:16 -07:00
Andrew Stadler
2ca0324885 am 9312faea: Restore lost connection error UI
Merge commit '9312faea437854f075df57b9ec23a5d57cb8db0c' into eclair-plus-aosp

* commit '9312faea437854f075df57b9ec23a5d57cb8db0c':
  Restore lost connection error UI
2009-09-18 16:15:48 -07:00
Andrew Stadler
9312faea43 Restore lost connection error UI
We lost the reporting of connection errors in the UI.  These were
originally displayed in FolderMessageList, under the name of each folder.

In the new implementation, we borrow the "undo" banner from Gmail and
display it whenever there is a connection error in a mailbox.

* Add banner, and code to animate it on/off the top of the list.
* Toggle banner whenever a connection state change occurs in MessageList
* Toggle banner whenever a connection state change occurs in MailboxList
* Slight change to callback semantics for sendMailCallback
2009-09-18 15:31:37 -07:00
Andrew Stadler
8d81846ff6 am cd1e2072: Fix NPE when entering account settings.
Merge commit 'cd1e2072008da7467c852d6043fb9f69ff5bc42b' into eclair-plus-aosp

* commit 'cd1e2072008da7467c852d6043fb9f69ff5bc42b':
  Fix NPE when entering account settings.
2009-09-18 15:19:43 -07:00
Andrew Stadler
cd1e207200 Fix NPE when entering account settings. 2009-09-18 15:13:12 -07:00
Marc Blank
470b4d2731 am 91f12b8d: Fix problem with account settings not being saved (#2131153)
Merge commit '91f12b8d520fbdcd26e6cf80fed26ce73d9ad782' into eclair-plus-aosp

* commit '91f12b8d520fbdcd26e6cf80fed26ce73d9ad782':
  Fix problem with account settings not being saved (#2131153)
2009-09-18 12:47:24 -07:00
Marc Blank
91f12b8d52 Fix problem with account settings not being saved (#2131153)
Change-Id: I6845604c6f3326e136060cace55fc53fcca867c9
2009-09-18 12:39:42 -07:00
Marc Blank
83954a28fe am eadb55b0: Implement hooks from Settings->Accounts to Exchange account setu
Merge commit 'eadb55b04eae126fdef442bae6d72c804df735d0' into eclair-plus-aosp

* commit 'eadb55b04eae126fdef442bae6d72c804df735d0':
  Implement hooks from Settings->Accounts to Exchange account setu
2009-09-18 10:33:05 -07:00
Marc Blank
eadb55b04e Implement hooks from Settings->Accounts to Exchange account setu
* Fixes #2106718
* Fixes #2106733
* Remove "Add another account" from the preference screen

Change-Id: I8db1400d2bdb6ed7d3aeb2049cc1a399c47c38c5
2009-09-18 09:19:41 -07:00
Andrew Stadler
c30c333d00 am a96c941d: Merge change 25721 into eclair
Merge commit 'a96c941d9ffa69897ff68a6298b69a2805b81d64' into eclair-plus-aosp

* commit 'a96c941d9ffa69897ff68a6298b69a2805b81d64':
  Clean up transport encryption & port options
2009-09-18 09:10:11 -07:00
Android (Google) Code Review
a96c941d9f Merge change 25721 into eclair
* changes:
  Clean up transport encryption & port options
2009-09-18 12:04:31 -04:00
Jeff Sharkey
bfecfce120 am 68b620cc: Switch Email to new FastTrack API.
Merge commit '68b620cca0097e2fbde9498bd76129d081c5c9b2' into eclair-plus-aosp

* commit '68b620cca0097e2fbde9498bd76129d081c5c9b2':
  Switch Email to new FastTrack API.
2009-09-18 00:14:56 -07:00
satok
b0d5ff7df6 am 666dd867: Move chip in mailbox to the left
Merge commit '666dd867625d52c26d42e68e837f2e5234efb1bd' into eclair-plus-aosp

* commit '666dd867625d52c26d42e68e837f2e5234efb1bd':
  Move chip in mailbox to the left
2009-09-17 23:59:49 -07:00
Jeff Sharkey
68b620cca0 Switch Email to new FastTrack API.
As part of http://b/2087222 we have a new API specifically
for launching FastTrack.  This allows SHOW_OR_CREATE to be
returned to its original behavior.

I've tested this change and confirmed that it's WAI, and
may have also fixed up some deprecated references.
2009-09-17 23:59:32 -07:00
satok
666dd86762 Move chip in mailbox to the left 2009-09-18 15:54:03 +09:00
Andrew Stadler
8b91975fa5 Clean up transport encryption & port options
* Remove SSL-Optional and TLS-Optional choices from UI
* Remove SSL-Optional and TLS-Optional choices from providers.xml
* Switch over most SMTP connections from 25 to 587
* Clean up the providers list which has a lot of "optional" cases
    that were probably falling back to unencrypted.

Fixes bugs:
2110243	Settings UI shouldn't offer SSL/TLS (if available) options
2089070 Update list of providers

Change-Id: I57be57b349eed33a5284121d904528279a36a91c
2009-09-17 23:47:00 -07:00
satok
ec5f83fa7a am 9e7a9801: Rename name of color
Merge commit '9e7a9801c7e08557c1b57433f58c519caf504ccb' into eclair-plus-aosp

* commit '9e7a9801c7e08557c1b57433f58c519caf504ccb':
  Rename name of color
2009-09-17 22:21:45 -07:00
Andrew Stadler
db601c4776 am 27bc3939: Turn off debugging code that was accidentally left on.
Merge commit '27bc39399e47e8f14cbb42834990546eb93851de' into eclair-plus-aosp

* commit '27bc39399e47e8f14cbb42834990546eb93851de':
  Turn off debugging code that was accidentally left on.
2009-09-17 22:21:41 -07:00
satok
9e7a9801c7 Rename name of color
BUG: 1904417
2009-09-18 13:55:02 +09:00
satok
31f6624b84 am a6888d74: Merge change 25459 into eclair
Merge commit 'a6888d7448f27b39cb66a26efedf38b06ff9adae' into eclair-plus-aosp

* commit 'a6888d7448f27b39cb66a26efedf38b06ff9adae':
  Fix sort order of MailboxList
2009-09-17 21:15:24 -07:00
Andrew Stadler
27bc39399e Turn off debugging code that was accidentally left on.
This goes with Change I52e53c4b.

Change-Id: Ife5672af1c0c5cf2b2c279a9a912beb26c64390d
2009-09-17 21:15:17 -07:00
Android (Google) Code Review
a6888d7448 Merge change 25459 into eclair
* changes:
  Fix sort order of MailboxList
2009-09-18 00:06:56 -04:00
satok
7ac694965c am 8b240ed9: Merge change 25691 into eclair
Merge commit '8b240ed9dc57425804ed816265be7a032be21717' into eclair-plus-aosp

* commit '8b240ed9dc57425804ed816265be7a032be21717':
  UI Refulesh of account folder list
2009-09-17 19:49:57 -07:00
Android (Google) Code Review
8b240ed9dc Merge change 25691 into eclair
* changes:
  UI Refulesh of account folder list
2009-09-17 22:45:14 -04:00
satok
d4f5b786ea UI Refulesh of account folder list
BUG:1904417

* rename name
2009-09-18 11:41:58 +09:00
satok
3ffccb0b54 am 925be3bf: Merge change 25462 into eclair
Merge commit '925be3bf76a943375947be8565800c24e4d27a6c' into eclair-plus-aosp

* commit '925be3bf76a943375947be8565800c24e4d27a6c':
  UI Refuresh of account folder list
2009-09-17 19:40:27 -07:00
Android (Google) Code Review
925be3bf76 Merge change 25462 into eclair
* changes:
  UI Refuresh of account folder list
2009-09-17 22:35:29 -04:00
satok
15206a12e8 UI Refuresh of account folder list
BUG: 1904417

* Extend chip
* Add separator between a folder button and account name
2009-09-18 11:33:30 +09:00
Marc Blank
739315b19b am fcdebb69: Merge change 25677 into eclair
Merge commit 'fcdebb69a5f7790c377e11e913536977cff19471' into eclair-plus-aosp

* commit 'fcdebb69a5f7790c377e11e913536977cff19471':
  Revert very bad commit (strange merge problem)?
2009-09-17 19:07:12 -07:00
Android (Google) Code Review
fcdebb69a5 Merge change 25677 into eclair
* changes:
  Revert very bad commit (strange merge problem)?
2009-09-17 22:01:40 -04:00