Commit Graph

1011 Commits

Author SHA1 Message Date
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
Marc Blank
b4bd867050 am ffe99891: Remove temporary code that disabled contacts upsync
Merge commit 'ffe998914d9a5853c926e8e8f7853d37e4740d44' into eclair-plus-aosp

* commit 'ffe998914d9a5853c926e8e8f7853d37e4740d44':
  Remove temporary code that disabled contacts upsync
2009-09-09 22:43:15 -07:00
Marc Blank
ffe998914d Remove temporary code that disabled contacts upsync
Change-Id: I41273aeac3059a49a1fffc7904e580a8544724bf
2009-09-09 22:38:05 -07:00
Marc Blank
ede0c5c59e am 805562e2: Fix logic for use of "Sync Contacts" button value
Merge commit '805562e26f50bd57c3b9bd357644285d3f1941a4' into eclair-plus-aosp

* commit '805562e26f50bd57c3b9bd357644285d3f1941a4':
  Fix logic for use of "Sync Contacts" button value
2009-09-09 18:43:41 -07:00
Marc Blank
805562e26f Fix logic for use of "Sync Contacts" button value
Change-Id: I9abed1830a61795542bdf15ee62395a63abc9222
2009-09-09 18:37:42 -07:00
Marc Blank
a11e67552b am d46ec14e: Merge change 23483 into eclair
Merge commit 'd46ec14e6e856191bed0a599aaeb8cde322c77d6' into eclair-plus-aosp

* commit 'd46ec14e6e856191bed0a599aaeb8cde322c77d6':
  Rework ContactsSyncAdapter to handle untyped Email and IM data
2009-09-09 15:57:09 -07:00
Android (Google) Code Review
d46ec14e6e Merge change 23483 into eclair
* changes:
  Rework ContactsSyncAdapter to handle untyped Email and IM data
2009-09-09 18:49:54 -04:00
Marc Blank
f752adfa40 am 6d1271ae: Fix crash in large tests (#2108431)
Merge commit '6d1271aee78f195e094aca650d8dceee79fbb5e4' into eclair-plus-aosp

* commit '6d1271aee78f195e094aca650d8dceee79fbb5e4':
  Fix crash in large tests (#2108431)
2009-09-09 13:57:31 -07:00
Marc Blank
6d1271aee7 Fix crash in large tests (#2108431)
Change-Id: I82a0ec81361b722bfa1cb4f197e3c999936ff192
2009-09-09 11:14:48 -07:00
Marc Blank
009fd35e92 Rework ContactsSyncAdapter to handle untyped Email and IM data
* This is required to due a change in ContactsProvider2 that removes
  type information for these fields

Change-Id: I993aebdcace0e1db538a85afdea3389fe41518d8
2009-09-09 11:08:35 -07:00
Marc Blank
e92692663d am cef2344e: Rework EAS account creation & ssl operation
Merge commit 'cef2344e70b4ab90cbbb01aac00f248976d273df' into eclair-plus-aosp

* commit 'cef2344e70b4ab90cbbb01aac00f248976d273df':
  Rework EAS account creation & ssl operation
2009-09-09 10:39:30 -07:00
Marc Blank
cef2344e70 Rework EAS account creation & ssl operation
* Fixes 2048663, 2025029, and 2100131
* Add "Trust Certificates" checkbox in EAS account creation
* Use custom ClientConnectionManager for HttpClient with registry
  for plain, ssl, and tssl (trusted ssl) connection
* Use a ConnectionPool for HttpClient connections
* Remove "Domain" checkbox in  EAS account creation
* Remove tests related to the "Domain" field
* TODO Write a test for valid usernames (requires a bit of research)
  <name>, <email address>, <domain>/<name, and <domain>\<name> are all
  valid, but there might be others

Change-Id: I4a0338df5960bfd3d679a88aaf22d1c49f49992b
2009-09-09 10:32:06 -07:00
Eric Fischer
25151d9526 am 7f3f3f39: Merge change 24228 into eclair
Merge commit '7f3f3f392df6243ce637937ebacfedcff63fca2e' into eclair-plus-aosp

* commit '7f3f3f392df6243ce637937ebacfedcff63fca2e':
  Import revised translations.  DO NOT MERGE
2009-09-08 17:05:07 -07:00
Android (Google) Code Review
7f3f3f392d Merge change 24228 into eclair
* changes:
  Import revised translations.  DO NOT MERGE
2009-09-08 17:01:53 -07:00
Marc Blank
2682d82b81 am e2569831: Add sourceKey to Body table; add flags for reply/forward in Message
Merge commit 'e25698319325d5e9619bc45ae85d861b0f1c5954' into eclair-plus-aosp

* commit 'e25698319325d5e9619bc45ae85d861b0f1c5954':
  Add sourceKey to Body table; add flags for reply/forward in Message
2009-09-08 16:45:26 -07:00