Commit Graph

1075 Commits

Author SHA1 Message Date
Marc Blank
42c130dcf1 Fix bug in which EAS mail won't ever get sent (#2118279)
Change-Id: Iedd80269bafd39a3536527ebe8902b4999eff41e
2009-09-14 11:03:18 -07:00
Marc Blank
54ef94999b am e59c8725: Make sure SyncManager keeps running in various edge cases
Merge commit 'e59c8725c595ae21dff5e04dc418818a18555a55' into eclair-plus-aosp

* commit 'e59c8725c595ae21dff5e04dc418818a18555a55':
  Make sure SyncManager keeps running in various edge cases
2009-09-14 08:58:16 -07:00
Marc Blank
e59c8725c5 Make sure SyncManager keeps running in various edge cases
* Have Welcome start the service (in case the app has been reloaded)
* Have SyncManager.ping start the service if there's no instance of
  SyncManager

Change-Id: I8bed2843a3e065d2db29fad67dfb0bb3a5d0ff5e
2009-09-14 08:50:50 -07:00
Marc Blank
da57cf18f7 am d6090941: Merge change 24849 into eclair
Merge commit 'd60909418221d8b7f762c11d8322a98f0952dca7' into eclair-plus-aosp

* commit 'd60909418221d8b7f762c11d8322a98f0952dca7':
  Improve the checkMailbox loop query to get only the appropriate boxes
2009-09-14 07:13:49 -07:00
Android (Google) Code Review
d609094182 Merge change 24849 into eclair
* changes:
  Improve the checkMailbox loop query to get only the appropriate boxes
2009-09-14 10:06:44 -04:00
Marc Blank
09982cf4e2 am bba6d443: Merge change 24858 into eclair
Merge commit 'bba6d443f55a361a682ffc2a84c7809f4b894e94' into eclair-plus-aosp

* commit 'bba6d443f55a361a682ffc2a84c7809f4b894e94':
  Don't wait longer than 10s for ping boxes to be ready
2009-09-13 22:58:29 -07:00
Marc Blank
677755c376 am 403a45e7: Merge change 24844 into eclair
Merge commit '403a45e73606f3d41624c3e3ac02597c08145281' into eclair-plus-aosp

* commit '403a45e73606f3d41624c3e3ac02597c08145281':
  Reimplement reply/forward to use mTextReply/mHtmlReply
2009-09-13 22:58:25 -07:00
Android (Google) Code Review
bba6d443f5 Merge change 24858 into eclair
* changes:
  Don't wait longer than 10s for ping boxes to be ready
2009-09-14 01:53:36 -04:00
Marc Blank
4f9d5cf8f8 Don't wait longer than 10s for ping boxes to be ready
* Do a short ping in this case, which at least will allow the device
  to sleep while waiting
* Addresses #2116749

Change-Id: I9e70feaeef1361e1d66652dc66b92f6ee14751bf
2009-09-13 22:52:36 -07:00
Android (Google) Code Review
403a45e736 Merge change 24844 into eclair
* changes:
  Reimplement reply/forward to use mTextReply/mHtmlReply
2009-09-14 01:32:10 -04:00
Marc Blank
66d6330618 am 60c7502b: Change exchange setup screen per #2025029
Merge commit '60c7502b6777be550aaace9e9d780a9f84c8b03f' into eclair-plus-aosp

* commit '60c7502b6777be550aaace9e9d780a9f84c8b03f':
  Change exchange setup screen per #2025029
2009-09-13 22:30:15 -07:00
Marc Blank
f2dded3a2f Reimplement reply/forward to use mTextReply/mHtmlReply
* Move creation of final reply/forward text (i.e. new text plus
  the original) to Rfc822Output, where it belongs.
* Prepares the way for use of SmartForward/SmartReply in
  Exchange and replying w/ multipart/alternative in SMTP
* Moved test from MessageCompose to new Rfc822OutputTests, and note
  that new tests should be added (this is not a regression; there
  were never enough tests here)

Change-Id: Ibefb842f47cc9223714856d99b8d4f55b55f49e3
2009-09-13 22:28:38 -07:00
Marc Blank
60c7502b67 Change exchange setup screen per #2025029
Change-Id: Ib94713857902e336984b847f70c96e04826b9b74
2009-09-13 21:55:10 -07:00
Marc Blank
199f8d65ff am c7897acf: Fix NPE when adding note rows to Contacts
Merge commit 'c7897acf56251d3ea4c484616643c22fe76c2646' into eclair-plus-aosp

* commit 'c7897acf56251d3ea4c484616643c22fe76c2646':
  Fix NPE when adding note rows to Contacts
2009-09-13 12:11:38 -07:00
Marc Blank
c7897acf56 Fix NPE when adding note rows to Contacts
Change-Id: I51574db9abc45b55f8a7c19d493fdc47bc24b11b
2009-09-13 12:04:59 -07:00
Marc Blank
fa1ad355a1 Improve the checkMailbox loop query to get only the appropriate boxes
* Boxes must 1) be from an EAS account and 2) have a syncInterval that
  is not "never"

Change-Id: I5efbdc527063b2ee3373bc763b625eadfed67c4a
2009-09-13 12:04:06 -07:00
Marc Blank
16b76d78cd am f50c6d1f: Don\'t sync "trash" folder in Exchange
Merge commit 'f50c6d1fafde92f38ad80b36bb152cc58228a474' into eclair-plus-aosp

* commit 'f50c6d1fafde92f38ad80b36bb152cc58228a474':
  Don't sync "trash" folder in Exchange
2009-09-12 16:52:08 -07:00
Marc Blank
f50c6d1faf Don't sync "trash" folder in Exchange
Change-Id: I6a1dc2a8ae5936bb7428d82e48ddbf114500051a
2009-09-12 16:47:07 -07:00
Marc Blank
5024030e89 am 492228bd: Merge change 24815 into eclair
Merge commit '492228bdc4b90c632d7cf4d87a81fa42d3c3456f' into eclair-plus-aosp

* commit '492228bdc4b90c632d7cf4d87a81fa42d3c3456f':
  Don't sync if the "Sync Contacts" checkbox isn't set
2009-09-12 11:55:05 -07:00
Android (Google) Code Review
492228bdc4 Merge change 24815 into eclair
* changes:
  Don't sync if the "Sync Contacts" checkbox isn't set
2009-09-12 14:51:28 -04:00
Marc Blank
90a32e1f83 am 411334d4: Fix broken test cases
Merge commit '411334d4e5c8019e646287c102faec7f18b8a13a' into eclair-plus-aosp

* commit '411334d4e5c8019e646287c102faec7f18b8a13a':
  Fix broken test cases
2009-09-12 11:50:37 -07:00
Marc Blank
411334d4e5 Fix broken test cases
Change-Id: Ib2d019662d358a20b4d62992529bfdf398e4661b
2009-09-11 23:00:39 -07:00
Marc Blank
9e93aa16f3 am 95bc6a6a: Merge change 24755 into eclair
Merge commit '95bc6a6ad9f7332eba594c8e5f732884d6f02990' into eclair-plus-aosp

* commit '95bc6a6ad9f7332eba594c8e5f732884d6f02990':
  Allow download of contact w/ no name; don't accept empty note
2009-09-11 18:50:45 -07:00
Android (Google) Code Review
95bc6a6ad9 Merge change 24755 into eclair
* changes:
  Allow download of contact w/ no name; don't accept empty note
2009-09-11 21:42:21 -04:00
Marc Blank
9679d4cf64 Don't sync if the "Sync Contacts" checkbox isn't set
Change-Id: I606f6c384fa34283ccee1eeaac90123347846f28
2009-09-11 18:34:06 -07:00
Marc Blank
047d1ae60a am e13ff84d: Fix leaked intent receiver by using onStartCommand in SyncManager
Merge commit 'e13ff84df7877e447a33136e328813b3ee0e5140' into eclair-plus-aosp

* commit 'e13ff84df7877e447a33136e328813b3ee0e5140':
  Fix leaked intent receiver by using onStartCommand in SyncManager
2009-09-11 17:03:23 -07:00
Marc Blank
e13ff84df7 Fix leaked intent receiver by using onStartCommand in SyncManager
Change-Id: I914c597aede6904a11a5d3119b3f7097e65b2fba
2009-09-11 16:52:07 -07:00
Marc Blank
3a0fb3b14e Allow download of contact w/ no name; don't accept empty note
Change-Id: I90058ee6c92853a3765138ca433abd7f62b60c0a
2009-09-11 13:50:45 -07:00
Marc Blank
29aebaf618 am 2bab07c7: Merge change 24722 into eclair
Merge commit '2bab07c71e5a4cec40fd19a2165b2d9b744e644a' into eclair-plus-aosp

* commit '2bab07c71e5a4cec40fd19a2165b2d9b744e644a':
  Fix connection failure retry behavior; don't try syncing w/o connectivity
2009-09-11 13:17:55 -07:00
Android (Google) Code Review
2bab07c71e Merge change 24722 into eclair
* changes:
  Fix connection failure retry behavior; don't try syncing w/o connectivity
2009-09-11 16:09:43 -04:00
Marc Blank
a918672f4c Fix connection failure retry behavior; don't try syncing w/o connectivity
* Also remove some logging and correct some erroneous logging
* Fix the backoff behavior on IOException

Change-Id: I5fb5a0bf73eaa681eb7b9c305c838e78e7ba88ab
2009-09-11 12:59:35 -07:00
Marc Blank
bb1b993808 am 3c7f0d4c: Make exchange contact category names visible; also their members
Merge commit '3c7f0d4c000f24e39fb4b0f1e10f762f5ff011c9' into eclair-plus-aosp

* commit '3c7f0d4c000f24e39fb4b0f1e10f762f5ff011c9':
  Make exchange contact category names visible; also their members
2009-09-11 11:23:40 -07:00
Marc Blank
3c7f0d4c00 Make exchange contact category names visible; also their members
Change-Id: Icaf7c2828db4fda7323b3ec3a6c9cd783ae80c9a
2009-09-11 08:56:34 -07:00
Marc Blank
013b84dab8 am 86ada729: Check for null data before writing contact rows to server
Merge commit '86ada729c2930c278c4f73a6bcea059c8ac74559' into eclair-plus-aosp

* commit '86ada729c2930c278c4f73a6bcea059c8ac74559':
  Check for null data before writing contact rows to server
2009-09-11 08:07:41 -07:00
Marc Blank
86ada729c2 Check for null data before writing contact rows to server
Change-Id: Ib7016c43b2655e1753680c511f30cad8f4a1acce
2009-09-11 07:56:03 -07:00
satok
9486e1c1d3 Enable long press Open on Accounts screen
BUG: 2083565

Fix the button name
2009-09-11 17:59:16 +09:00
Andrew Stadler
dab0b6637a am be60dfde: Update MessageListView to fit punchcut\'s design
Merge commit 'be60dfdee7c2c0f73d54e1b04a36967508d428ae' into eclair-plus-aosp

* commit 'be60dfdee7c2c0f73d54e1b04a36967508d428ae':
  Update MessageListView to fit punchcut's design
2009-09-10 17:32:46 -07:00
Andrew Stadler
be60dfdee7 Update MessageListView to fit punchcut's design
BUG:1904421

* update READ/UNREAD indications
** don't change color chip
** change background color
* Change Date
* Change the position of attachement icon
* Change menu icon for folder
2009-09-10 17:27:21 -07:00
satok
89c1648482 am 51b635f2: Merge change 24518 into eclair
Merge commit '51b635f2d2ff4d443a7e1d46be7394bf056b9f36' into eclair-plus-aosp

* commit '51b635f2d2ff4d443a7e1d46be7394bf056b9f36':
  Fix spinny position in the title bar
2009-09-10 17:23:22 -07:00
Android (Google) Code Review
51b635f2d2 Merge change 24518 into eclair
* changes:
  Fix spinny position in the title bar
2009-09-10 20:17:47 -04:00
Andrew Stadler
b7ac0153c7 am f9ab857a: Implement delete-from-trash
Merge commit 'f9ab857a5599faac2896394180fcd4ed56b09941' into eclair-plus-aosp

* commit 'f9ab857a5599faac2896394180fcd4ed56b09941':
  Implement delete-from-trash
2009-09-10 16:45:29 -07:00
Andrew Stadler
f9ab857a55 Implement delete-from-trash
* Edit Controller.deleteMessage() to handle both cases
* Refactored to start from processPendingActionsSynchronous() and
    dispatch to series of smaller methods to handle deletes vs. updates
    and the details of the various specific operations.
* Added processPendingDeletesSynchronous() which looks for delete-from-
    trash and does the right thing locally and/or remotely.

Fixes bug # 1811026
2009-09-10 16:03:34 -07:00
Marc Blank
625a05572e am 6c6d7e3a: Merge change 24601 into eclair
Merge commit '6c6d7e3a260a5906afa3a0fbe9700a0b58046420' into eclair-plus-aosp

* commit '6c6d7e3a260a5906afa3a0fbe9700a0b58046420':
  Fix sync-crashing bug in exchange contact groups
2009-09-10 16:02:12 -07:00
Android (Google) Code Review
6c6d7e3a26 Merge change 24601 into eclair
* changes:
  Fix sync-crashing bug in exchange contact groups
2009-09-10 18:55:20 -04:00
Marc Blank
058df979c8 Fix sync-crashing bug in exchange contact groups
Change-Id: I40335dcbba9653778d8376b26ae9c2455c34d0ee
2009-09-10 15:53:37 -07:00
Andrew Stadler
b356c32568 am 6c21942e: Implement move-to-trash for IMAP and POP3.
Merge commit '6c21942ec45f561d711b3d74ecca8e62afb735c4' into eclair-plus-aosp

* commit '6c21942ec45f561d711b3d74ecca8e62afb735c4':
  Implement move-to-trash for IMAP and POP3.
2009-09-10 12:56:52 -07:00
Andrew Stadler
6c21942ec4 Implement move-to-trash for IMAP and POP3.
* Define new message-loaded state "FLAG_LOADED_DELETED" (used only for
   POP3, which needs to write sentinel messages that are not displayed.)
* Also renamed the other flags to make the naming more consistent.
* Tweak MessageList query generation to inhibit display of deleted
    message sentinels, and MessagingController won't try to resync them.
* Clean up implementation of Controller.deleteMessage()
* Add support for move to trash to MessagingController.  This operates
    in three primary modes:
  * POP3 local delete (no server-side interaction)
  * POP3 server delete
  * IMAP server delete (and copy to IMAP trash mailbox)
* Add missing implementation in provider to delete all of the attachments
    for a given message
* Fix progress reporting in activities (the test for error vs. progress
    was inverted, which caused progress indicators to keep spinning
    after errors.)
* Fix broken account settings UI (POP3 delete policy was not persisting)

Addresses bug 2097409

TODO delete from trash / empty trash

Change-Id: I00188e6dc2093823106e009f35b68c760227c9e6
2009-09-10 12:44:05 -07:00
Marc Blank
5c253ded23 am c522cfa7: Change ping loop wait from 10s to 1s to reduce WakeLock use
Merge commit 'c522cfa77099bb8f65b65ad49b7781cf3bb86002' into eclair-plus-aosp

* commit 'c522cfa77099bb8f65b65ad49b7781cf3bb86002':
  Change ping loop wait from 10s to 1s to reduce WakeLock use
2009-09-10 12:32:53 -07:00
Marc Blank
c522cfa770 Change ping loop wait from 10s to 1s to reduce WakeLock use
* There is a better way of implementing this, which I'll write up in
  Buganizer, but this will help our battery life testing

Change-Id: I2583f0cb9c62b38aee64166138385d7b14855832
2009-09-10 12:26:26 -07:00
satok
2cbacb511f Fix spinny position in the title bar
BUG: 2072362
2009-09-10 20:36:13 +09:00