Commit Graph

983 Commits

Author SHA1 Message Date
Marc Blank
3dd790c561 am 8aed46b4: Fix race condition in SyncManager (#2137804)
Merge commit '8aed46b4d804b09983d44fce46a842ffa95d3e63' into eclair-plus-aosp

* commit '8aed46b4d804b09983d44fce46a842ffa95d3e63':
  Fix race condition in SyncManager (#2137804)
2009-09-27 11:08:21 -07:00
Marc Blank
8aed46b4d8 Fix race condition in SyncManager (#2137804)
Change-Id: I1165084a5868f340adb51d0d953092fac68d1f64
2009-09-27 10:59:38 -07:00
Andrew Stadler
4161ffd369 am c41c47fa: Enable message upload
Merge commit 'c41c47fa07a22f8a7612fb0191f152a36d95b7a5' into eclair-plus-aosp

* commit 'c41c47fa07a22f8a7612fb0191f152a36d95b7a5':
  Enable message upload
2009-09-25 15:10:30 -07:00
Andrew Stadler
c41c47fa07 Enable message upload
* Create logic to detect upsyncable messages in Sent
* Note:  Drafts is now local only for IMAP - no sync, either way
* Rewrite MessageController.processPendingAppend for Provider world
* Write provider message -> legacy message converter
* Fixed bug in IMAP APPEND (it was not picking the right UID for the
    uploaded message.)
* Better handling of server internaldate
* Add constants for new X-Android-Body-Quoted-Part header
* Add EmailContent routines to get each of the 5 parts of the body
* Remove "Load more" from unsynced message lists
* Add toString to MimeHeader for debug support

Bug # 2097471

TODO (next CL): Upload attachments records too

Change-Id: I209182f5adc6b6696919f559e3cbbdd58b3eed3a
2009-09-25 14:54:32 -07:00
Mihai Preda
c253d55166 am 10864730: MessageView: fix prev/next navigation in compound mailboxes.
Merge commit '1086473056eaaa8f473af632fb6d701c8376e132' into eclair-plus-aosp

* commit '1086473056eaaa8f473af632fb6d701c8376e132':
  MessageView: fix prev/next navigation in compound mailboxes.
2009-09-25 11:52:13 -07:00
Mihai Preda
1086473056 MessageView: fix prev/next navigation in compound mailboxes.
Bug 2132262.

Change-Id: Ic3b8d9ccedc6101abb90dcac3545f87cbf233659
2009-09-25 11:44:57 -07:00
satok
e14a649478 am c946f878: Merge change 26815 into eclair
Merge commit 'c946f878399b1a54d35458095ad5d6e6f4110e68' into eclair-plus-aosp

* commit 'c946f878399b1a54d35458095ad5d6e6f4110e68':
  UI refresh and add default sender indicator
2009-09-25 11:32:22 -07:00
Marc Blank
a6ed97e4d9 am 10a49083: Remove "Refresh" from bottom of EAS message lists
Merge commit '10a4908369c5dfd8db22e969fc00ce0ec695a065' into eclair-plus-aosp

* commit '10a4908369c5dfd8db22e969fc00ce0ec695a065':
  Remove "Refresh" from bottom of EAS message lists
2009-09-25 11:32:18 -07:00
Android (Google) Code Review
c946f87839 Merge change 26815 into eclair
* changes:
  UI refresh and add default sender indicator
2009-09-25 14:28:24 -04:00
Marc Blank
10a4908369 Remove "Refresh" from bottom of EAS message lists
* It's confusing and inappropriate

Change-Id: I4633d34ad022ab7970384f14182dbf3c9aa4207f
2009-09-25 11:25:00 -07:00
satok
a4e604a9bb UI refresh and add default sender indicator
BUG: 1904417

* Fix the color of Read/Unread
* Add default sender indicator
2009-09-26 03:18:33 +09:00
satok
b3af7bab9c am d32d7863: Merge change 26812 into eclair
Merge commit 'd32d78634c776fa12afb7478fdc7e67140f2167e' into eclair-plus-aosp

* commit 'd32d78634c776fa12afb7478fdc7e67140f2167e':
  Remember the list positions in MessageListView for onResume
2009-09-25 10:55:09 -07:00
Android (Google) Code Review
d32d78634c Merge change 26812 into eclair
* changes:
  Remember the list positions in MessageListView for onResume
2009-09-25 13:50:03 -04:00
Marc Blank
12e7b3f884 am bce49bb3: Merge change 27048 into eclair
Merge commit 'bce49bb3f56177eb61526426336fd0100ca34687' into eclair-plus-aosp

* commit 'bce49bb3f56177eb61526426336fd0100ca34687':
  Harden a few calls in Controller
2009-09-25 10:38:57 -07:00
Android (Google) Code Review
bce49bb3f5 Merge change 27048 into eclair
* changes:
  Harden a few calls in Controller
2009-09-25 13:32:45 -04:00
Marc Blank
e2b5a31732 am e0670698: Merge change 27056 into eclair
Merge commit 'e06706987aebd1d15b4bfbb1cf46caaf85e190cb' into eclair-plus-aosp

* commit 'e06706987aebd1d15b4bfbb1cf46caaf85e190cb':
  Add check in SyncManager before stopping thread (fixes #2131380)
2009-09-25 10:24:05 -07:00
Andrew Stadler
96dce59258 am 0d6e69ce: Merge change 26913 into eclair
Merge commit '0d6e69ce8ac7e5d2ec508ec3223e9ed7c1174c8b' into eclair-plus-aosp

* commit '0d6e69ce8ac7e5d2ec508ec3223e9ed7c1174c8b':
  Don't drop local mailboxes if we created them.
2009-09-25 10:19:20 -07:00
Android (Google) Code Review
e06706987a Merge change 27056 into eclair
* changes:
  Add check in SyncManager before stopping thread (fixes #2131380)
2009-09-25 13:18:03 -04:00
Marc Blank
484e137691 Add check in SyncManager before stopping thread (fixes #2131380)
Change-Id: I0f0dcc9721094ed29fd241b8a71e30ee0717cdfb
2009-09-25 10:16:29 -07:00
Android (Google) Code Review
0d6e69ce8a Merge change 26913 into eclair
* changes:
  Don't drop local mailboxes if we created them.
2009-09-25 13:15:00 -04:00
Andrew Stadler
e959645070 Don't drop local mailboxes if we created them.
Reimplement a dropped snippet from the original MessagingController
that preserved locally-created special mailboxes (drafts, sent, etc.)
instead of dropping them when they were not found on the server.

Bug # 2078209
2009-09-25 10:13:12 -07:00
Marc Blank
df3a32b91c am af30d6cf: Merge change 26964 into eclair
Merge commit 'af30d6cfacf0947d98ef1c9da2c5b5e06f7fc8f6' into eclair-plus-aosp

* commit 'af30d6cfacf0947d98ef1c9da2c5b5e06f7fc8f6':
  Run sync threads in background priority (helps with #2126515)
2009-09-25 09:29:07 -07:00
Marc Blank
e892f6f978 Harden a few calls in Controller
* Check for null account (situation in which the Account has been
  deleted)

Change-Id: Iabd949c32443c7496a249ac5b7cdca22fc920a18
2009-09-25 09:24:56 -07:00
Android (Google) Code Review
af30d6cfac Merge change 26964 into eclair
* changes:
  Run sync threads in background priority (helps with #2126515)
2009-09-25 12:23:16 -04:00
satok
58a28fdceb Remember the list positions in MessageListView for onResume
BUG: 2131474
2009-09-25 21:22:27 +09:00
Mihai Preda
c84ef7da61 am 1033fe60: MessageCompose: correctly handle saving Draft in relation to restarting the activity on configuration change.
Merge commit '1033fe606cfe7fa9f75b7c7f13868ec7df2ad993' into eclair-plus-aosp

* commit '1033fe606cfe7fa9f75b7c7f13868ec7df2ad993':
  MessageCompose: correctly handle saving Draft in relation to restarting the activity on configuration change.
2009-09-25 03:37:29 -07:00
Mihai Preda
1033fe606c MessageCompose: correctly handle saving Draft in relation to restarting the activity on configuration change.
Avoids saving multiple drafts when opening/closing the keyboard.
Bug 2133003.
2009-09-25 12:29:36 +02:00
Marc Blank
7822aec383 Run sync threads in background priority (helps with #2126515)
* Seems to improve UI responsiveness while doing large syncs,
  but it can still slow down quite a bit

Change-Id: I539b8a9a96a922d810fba02ff4093759489a8153
2009-09-24 17:22:51 -07:00
Mihai Preda
4666cabdfc am 7a59191b: Fix loading the quoted text when editing draft.
Merge commit '7a59191bf1089ec2b89128406637c2094077cbce' into eclair-plus-aosp

* commit '7a59191bf1089ec2b89128406637c2094077cbce':
  Fix loading the quoted text when editing draft.
2009-09-24 12:27:01 -07:00
Mihai Preda
7a59191bf1 Fix loading the quoted text when editing draft.
Bug 2140036.

Only load the reply fields for an edit-draft situation.

Change-Id: I851e3851ab595a0a2e6829a3bf3845ae576f1ba7
2009-09-24 12:12:56 -07:00
Marc Blank
215f76aa95 am e1145d17: In EAS flow mode, don\'t try to use auto-setup (fixes #2143583)
Merge commit 'e1145d173971ebe741e42e9caa209ef2f7bbefa4' into eclair-plus-aosp

* commit 'e1145d173971ebe741e42e9caa209ef2f7bbefa4':
  In EAS flow mode, don't try to use auto-setup (fixes #2143583)
2009-09-24 12:03:00 -07:00
Marc Blank
e1145d1739 In EAS flow mode, don't try to use auto-setup (fixes #2143583)
Change-Id: I53a287d909fdde3c6ab75087a4a049c3afe9852c
2009-09-24 11:58:11 -07:00
Mihai Preda
2c76c92608 am d66b4657: Fix loading the quoted text when editing draft.
Merge commit 'd66b465776261b3313c4b3bb3ef7c3954ebb08e4' into eclair-plus-aosp

* commit 'd66b465776261b3313c4b3bb3ef7c3954ebb08e4':
  Fix loading the quoted text when editing draft.
2009-09-24 11:19:17 -07:00
Mihai Preda
d66b465776 Fix loading the quoted text when editing draft.
Bug 2140036.

Only load the reply fields for an edit-draft situation.
2009-09-24 15:04:03 +02:00
Mihai Preda
8fa7ec5e06 am 0dbc15e6: Email: catch RuntimeException when loading message with huge body from DB.
Merge commit '0dbc15e6f15a01fdb2bd4f5263c06369299ec361' into eclair-plus-aosp

* commit '0dbc15e6f15a01fdb2bd4f5263c06369299ec361':
  Email: catch RuntimeException when loading message with huge body from DB.
2009-09-24 03:07:05 -07:00
Mihai Preda
0dbc15e6f1 Email: catch RuntimeException when loading message with huge body from DB.
Bug: 2133062.
2009-09-24 11:58:16 +02:00
satok
62a69a6e4f am 4bd5034c: Merge change 26605 into eclair
Merge commit '4bd5034c55bd2661070c82a93da589b03bb146af' into eclair-plus-aosp

* commit '4bd5034c55bd2661070c82a93da589b03bb146af':
  Add High/Low DPI assets
2009-09-23 21:30:48 -07:00
Android (Google) Code Review
4bd5034c55 Merge change 26605 into eclair
* changes:
  Add High/Low DPI assets
2009-09-24 00:25:22 -04:00
Marc Blank
f59a5053f2 am b19bc4c0: Save HostAuth\'s when returning from editing Incoming/Outgoing settings
Merge commit 'b19bc4c0b6b96516870665cf0d4e5b45638c16f4' into eclair-plus-aosp

* commit 'b19bc4c0b6b96516870665cf0d4e5b45638c16f4':
  Save HostAuth's when returning from editing Incoming/Outgoing settings
2009-09-23 20:47:09 -07:00
Marc Blank
b19bc4c0b6 Save HostAuth's when returning from editing Incoming/Outgoing settings
* in onActivityResult, we not only need to update the Account, but also
  the relevant HostAuth (both if coming from AccountSetupExchange)

Change-Id: I0657ff257fe949e46e100eb3e6cfec6162514aa9
2009-09-23 18:31:16 -07:00
Marc Blank
c09ee66e37 am cf19af4c: Add more ping logging to detect odd looping behavior in Moto log
Merge commit 'cf19af4c742a03685a6e352b940f2b4c60457395' into eclair-plus-aosp

* commit 'cf19af4c742a03685a6e352b940f2b4c60457395':
  Add more ping logging to detect odd looping behavior in Moto log
2009-09-23 18:05:23 -07:00
Marc Blank
cf19af4c74 Add more ping logging to detect odd looping behavior in Moto log
Change-Id: I66f9789cf9ded590ec96b502c2f74f5d0ae5d17d
2009-09-23 17:49:47 -07:00
Marc Blank
45167dd307 am 5fed9340: Make sure we call setServicesEnabled in the BootReceiver
Merge commit '5fed93408390ba154f0c9d493e259caaa7a3c124' into eclair-plus-aosp

* commit '5fed93408390ba154f0c9d493e259caaa7a3c124':
  Make sure we call setServicesEnabled in the BootReceiver
2009-09-23 16:04:21 -07:00
Marc Blank
5fed934083 Make sure we call setServicesEnabled in the BootReceiver
* Otherwise, there's a chance that various activities will be
  disabled (like MessageCompose), even if there are existing
  accounts.
* Enable BootReceiver by default

Change-Id: Id4669c41a846545d8bac5ad85736e1508074864a
2009-09-23 15:31:46 -07:00
Marc Blank
04645cd711 am 3e1c871f: Fix EAS sending, which was inadvertently broken by a change in EmailProvider
Merge commit '3e1c871f049f13e433e8e5c4dd8ad789dd93c6c8' into eclair-plus-aosp

* commit '3e1c871f049f13e433e8e5c4dd8ad789dd93c6c8':
  Fix EAS sending, which was inadvertently broken by a change in EmailProvider
2009-09-23 11:21:12 -07:00
Marc Blank
3e1c871f04 Fix EAS sending, which was inadvertently broken by a change in EmailProvider
* syncServerId in the Message table can now be NULL; this broke a test
  used by EasOutboxService and SyncManager to determine whether there
  were sendable messages in the Outbox
* Changed test to allow for NULL in syncServerId

Change-Id: Id76c7a45bc306abe7a927ab2395700f54a01a298
2009-09-23 10:52:00 -07:00
satok
d7cc3c68db am 8cb81390: Merge change 26601 into eclair
Merge commit '8cb81390ce808eb71ca6e1e26f8ea6eccba05e78' into eclair-plus-aosp

* commit '8cb81390ce808eb71ca6e1e26f8ea6eccba05e78':
  Add a backgroud drawabled for fasttrack presence.
2009-09-23 10:14:25 -07:00
Android (Google) Code Review
8cb81390ce Merge change 26601 into eclair
* changes:
  Add a backgroud drawabled for fasttrack presence.
2009-09-23 13:07:47 -04:00
satok
35b0e2a328 Add High/Low DPI assets
BUG: 2125345
2009-09-24 02:01:33 +09:00
satok
8dfcfb87a9 am f4a045a5: Merge change 25957 into eclair
Merge commit 'f4a045a58fdb1a0492a0009118ac320835a01985' into eclair-plus-aosp

* commit 'f4a045a58fdb1a0492a0009118ac320835a01985':
  Always show combined inbox
2009-09-23 09:48:26 -07:00