Commit Graph

3995 Commits

Author SHA1 Message Date
Marc Blank 6b68bc19a6 Merge I31258a5fbcca1f489c8bf6fb2ed8f3dcad5d2e26 into master
* This is the fix to bug 3008626 that was created in Gingerbread
  and backported to Froyo for an MR release
* The bug prevented validation of EAS w/ Exchange Server 2010 SP1
* For some reason, this fix did not get merged forward into master
  resulting in the bug referenced below

Bug: 3254512
Change-Id: I4e48a8f95b31048f09a036cc16db867da4116f04
2010-12-03 23:20:02 -08:00
Justin Ho 13beedd11c Merge "Merging stat_notify in Email" into gingerbread 2010-12-03 18:26:39 -08:00
Justin Ho 2e0ebab3bb Merging stat_notify in Email
Change-Id: I1b7d2a37ceddd12fd1f15439511dfad160580d86
2010-12-03 18:25:00 -08:00
Justin Ho 1003d9584b Integrating updated Email status bar notification icons
Change-Id: I639e1959c25a04583cf06820918679d2a5265e4a
2010-12-03 18:18:27 -08:00
Marc Blank 3127277ad5 Merge "Never close underlying cursor if there are active users" 2010-12-03 12:02:36 -08:00
Marc Blank c159d32be0 Never close underlying cursor if there are active users
Bug: 3249537
Bug: 3238216
Change-Id: I281f0b0d6319adaffd78fe8e4c3da6f126eb71da
2010-12-03 12:01:59 -08:00
Marc Blank a4853b9a81 Revert "Workaround for improper timeout for Ping commands"
* The underlying bug was fixed by bdc in I080147b017b961502b3ba98d40841fea679491eb

This reverts commit 9166aa46da.

Change-Id: I51e7e585e7b1624cc2b08ea81baba6f2602a76cf
2010-12-03 11:42:43 -08:00
Andy Stadler 01cffb74b3 Merge "Update server settings to current look" 2010-12-03 11:29:13 -08:00
Makoto Onuki 9d5aaeacd6 Follow-up to Id18fb940. Tests, fix transaction.
Change-Id: If425db7d729e260102a9db82b98e14ff6f6be143
2010-12-03 10:55:27 -08:00
Andy Stadler 112ed496f8 Update server settings to current look
* For each of incoming, outgoing, exchange fragment, create a "settings
  mode" which slightly alters the layout for use in AccountSettingsXL.
  * Build a settings mode wrapper layout around the basic fragment
  * Add new constructor to set "settings mode" and select layout
  * Add wiring for cancel/next buttons in the fragment
* AccountSettingsXL configures each fragment in its settings mode
* Remove old actionbar "Next" options (no longer needed)

TODO: Pixel perfect adjustments, colors, fonts, etc.

Bug: 3188951
Change-Id: Iba26281b214333db301dd40d6c016b6c5a932c2d
2010-12-02 21:45:04 -08:00
Makoto Onuki a2593be72e Merge "Update/invalidate cache properly in update()" 2010-12-02 16:02:42 -08:00
Makoto Onuki edb8af826c Update/invalidate cache properly in update()
This prevented EAS accounts from showing the new message notification,
because Account.newMessageCount in the cache didn't get updated
properly.

Bug 3249319

Change-Id: Id18fb94083e2f441c293414f790a26f82869e3da
2010-12-02 15:39:30 -08:00
Eric Fischer 7c546f7098 Merge "Rename Indonesian and Hebrew translations to match Locale.java conventions" 2010-12-02 14:29:56 -08:00
Eric Fischer a55a9d2dcb Rename Indonesian and Hebrew translations to match Locale.java conventions
Change-Id: I33d1c70820d5ac2aec9941aabbd83160ee879e42
2010-12-02 14:10:56 -08:00
Marc Blank 09fb0ca0a9 Don't send CONNECTION_ERROR in reloadFolderList callbacks
Bug: 3249051
Change-Id: I4c06f59a644cce979c52e0578c025eb71c781fdc
2010-12-02 14:02:31 -08:00
Marc Blank 4fdebfa03c Merge "Workaround for improper timeout for Ping commands" 2010-12-02 12:35:39 -08:00
Marc Blank 9166aa46da Workaround for improper timeout for Ping commands
* We're seeing our ping timeouts complete after 30 seconds (although
  set to 5-17 minutes), due to the fact that our reused sockets are
  not having their timeouts reset (i.e. they use the original value
  of 30 seconds from when the socket was first created)
* Until the underlying issue is resolved, we'll avoid reusing
  sockets for Ping commands

Bug: 3241899
Change-Id: I90b53c0d28b866a91507efafacbb3c4c0df2324c
2010-12-02 12:08:58 -08:00
Andy Stadler 7c7bbafc16 Merge "Make sure snippet is never null" 2010-12-01 20:54:50 -08:00
Eric Fischer 9585018647 Merge "Import revised translations." 2010-12-01 17:00:29 -08:00
Makoto Onuki d9957db874 Merge "Don't enable "save draft" when a draft is just opened." 2010-12-01 16:54:13 -08:00
Andy Stadler d3a9ab946c Leave empty inbox when clearing out account.
* Makes things simpler for UI state on a wiped account
* Also wipe sync keys from remaining account & inbox
* Unit tests

Bug: 3245274
Bug: 3245779
Change-Id: I74cc6d7859dad54961426b70ffe0541ce49e3b91
2010-12-01 16:21:51 -08:00
Marc Blank 6e8d964faa Make sure snippet is never null
Bug: 3241603
Change-Id: I5ef35e041b70e72005204ac242b46b5747617b87
2010-12-01 15:41:16 -08:00
Eric Fischer ec580af73e Import revised translations.
Change-Id: Id772f458d77b54425b80933a3e154f9f492a6cc6
2010-12-01 15:17:05 -08:00
Christopher Tate e633b9d7c2 Merge "Track drag/drop API change; no behavioral change" 2010-12-01 14:46:19 -08:00
Makoto Onuki 8686591aa8 Don't enable "save draft" when a draft is just opened.
The problem was that setIncludeQuotedText() always set mDraftNeedsSaving,
but it shouldn't be done when loading content.
(Do it only when it's toggled by the user.)

Bug 3162882

Change-Id: I6308376020f5be6d1a15b7865f8c7e02cf875eb9
2010-12-01 14:06:01 -08:00
Marc Blank 1b9337ea4f Wireframe email widget
* Formatting and assets are preliminary
* Functionality correct
* Needs cleanup, etc.

Change-Id: I75051df93d233ef529a616c7a9efae403d320bd2
2010-12-01 13:37:57 -08:00
Adam Powell 4f4c902916 Merge "Update for ActionBar API change" 2010-12-01 13:15:27 -08:00
Adam Powell 4a54ec9b01 Update for ActionBar API change
Change-Id: I209a4409180f45146423254ed36a9859daa86547
2010-12-01 13:12:58 -08:00
Christopher Tate 2219bd0043 Track drag/drop API change; no behavioral change
Change-Id: Id5a2e1aad453663f7b8baae7e5a1aab8209e0e74
2010-12-01 13:06:32 -08:00
Andy Stadler 1ca111c19c Add password expiration plumbing
* Set aggregated expiration values with DPM
* Fix min/max logic when aggregating, and fix unit test
* Add expiration tests when checking if policies are active
* Add expire-password to uses-policies set
* Handle password refresh (clear notifications and sec. holds)
* Handle password expiration (warning and/or wipe synced data)
* Unit tests for provider-level methods
* Refactor common security notification logic
* Placeholder notification strings (need final)

Bug: 3197935
Change-Id: Idf1975edd81dd7f55729156dc6b1002b7d09841f
2010-12-01 12:58:36 -08:00
Makoto Onuki d1ee5b8fa5 EML viewer: Set title, and show arrow next to the app icon
- Set "Viewing FILENAME" as title.
- Home icon now has "back" arrow.  Closes the activity when clicked.

Bug 3221312

Change-Id: I689499e10704d3c5d206df4aa12e21db9687c4c5
2010-12-01 11:35:09 -08:00
Makoto Onuki ad79ec4754 Merge "Importing new icons." 2010-12-01 11:34:24 -08:00
Makoto Onuki a19e003242 Merge "Fix UtilityUnitTests.testSpecialIcons" 2010-12-01 11:34:16 -08:00
Makoto Onuki eee6f5e81f Importing new icons.
Change-Id: I1f66f934b3ccbf912f4b3305e3adffc367759423
2010-12-01 10:34:13 -08:00
Marc Blank b8419984f0 Merge "Fix typo in ExchangeService" 2010-12-01 09:50:04 -08:00
Marc Blank b1d511309a Fix typo in ExchangeService
Bug: 3241867
Change-Id: If805196409837bb8e1eeaa2e4ec82c2d1fad2c38
2010-12-01 09:35:45 -08:00
Marc Blank 1832ea8c58 Merge "Don't throw exception on moveToPosition in CachedCursor" 2010-12-01 09:09:03 -08:00
Eric Fischer ed795618e0 am 63983af4: (-s ours) am a56f0eed: Import revised translations. DO NOT MERGE
* commit '63983af4a22f213277569923b4d40c829b31b0a8':
  Import revised translations.  DO NOT MERGE
2010-12-01 03:36:28 -08:00
Makoto Onuki ed0d19e887 Fix UtilityUnitTests.testSpecialIcons
Now non-special mailboxes on mailbox list doesn't have an icon, so
getIcon(Mailbox.TYPE_MAIL) should return null.

Change-Id: I354551baa4027c8e90c499dafac72423343c9cee
2010-11-30 17:34:55 -08:00
Makoto Onuki 17d07ecdf7 Hide selection mode when message list is not visible.
...without clearing the selection.

Message list can be hidden on portrait.

Bug 3228718

Change-Id: Idc9eb3416e151ac0c2b851824fcee10b346d51c5
2010-11-30 14:54:04 -08:00
Marc Blank 68dc380d62 Don't throw exception on moveToPosition in CachedCursor
* Just return false

Bug: 3240290
Change-Id: I808ca88c7897c573d19c2c2c92b179b4106a6dd3
2010-11-30 12:38:52 -08:00
Andy Stadler e29189e3ee Cleanups to Controller & AttachmentProvider
* New method in AttachmentProvider to delete all attachments for an
  account, and unit test it.
* New method in Controller to delete all synced data for an account,
  and unit test it.
* Fixed existing problem with Controller unit tests (needed cache clear)
* Fixed existing problems in Controller (mContext vs. mProviderContext)

Bug: 3197935
Change-Id: I79c6a03c21f18d37eeb8158cd1c2af0e0a6e9d2e
2010-11-30 12:11:36 -08:00
Eric Fischer 63983af4a2 am a56f0eed: Import revised translations. DO NOT MERGE
* commit 'a56f0eedc5cf606aa4e790c15cd6948421916be1':
  Import revised translations.  DO NOT MERGE
2010-11-30 11:48:04 -08:00
Marc Blank 3bbc690600 Add watchdog to AttachmentDownloadService
* Detect attachment downloads that have stalled and restart them
* Catch a couple of cases in which we weren't sending callbacks

Bug: 3122242

Change-Id: Id2bfd3b26182004b301cf8665f4feb6e62b98b73
2010-11-30 10:16:05 -08:00
Eric Fischer a56f0eedc5 Import revised translations. DO NOT MERGE
Change-Id: I453979a6a8a6ed9d5431fc790a03cbfd21056fa7
2010-11-29 16:16:50 -08:00
Makoto Onuki 2201b38fe3 Add error message UI
Show an error message in a yellow bar at the top of the activity.

Bug 3230116

Change-Id: I45dad233c1ab52de365c8caedb4eeff29aefac65
2010-11-29 16:07:38 -08:00
Makoto Onuki 2d648f4cec Merge "Make "mark unread" close current message" 2010-11-29 16:07:09 -08:00
Eric Fischer 947ee4537d Merge "Import revised translations." 2010-11-29 16:05:44 -08:00
Marc Blank d14f93f2b4 Merge "Make sure we send callbacks for UI requested syncs" 2010-11-29 16:04:55 -08:00
Andy Stadler 2148d9b2e6 Merge "Move "Add Account" to ActionBar" 2010-11-29 15:18:17 -08:00