Commit Graph

3881 Commits

Author SHA1 Message Date
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
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
Eric Fischer
d23fce1ab6 Import revised translations.
Change-Id: I73185cb23b4ec2612e47e5b16b2eeddf71693065
2010-11-29 15:14:54 -08:00
Andy Stadler
97874770fc Move "Add Account" to ActionBar
Not currently enabling/disabling properly, filing a framework bug.

Bug: 3188951
Change-Id: I9c8900187048f548411a23c2a1b0208c79fc0a24
2010-11-29 15:00:37 -08:00
Makoto Onuki
f3d43641c9 Make "mark unread" close current message
- XLFragmentManager.selectMailbox() used to hide the message view
  when it's visible, but not anymore.  Made goBackToMailbox() itself
  hide it instead.

- Also made onMarkAsUnread() not call the unread callback, which was
  already done in onMarkMessageAsRead().

Bug 3214538

Change-Id: I52fb8bb745cdaa517624a9aeec074122f10aac4a
2010-11-29 14:46:27 -08:00
Makoto Onuki
af1179ca22 Merge "New back behavior" 2010-11-29 12:48:45 -08:00
Marc Blank
1b6623b092 Make sure we send callbacks for UI requested syncs
* In the case in which a sync was requested during an already-running
  sync, we weren't passing the request information into the service

Bug: 3143544
Change-Id: I098161830844f604e4aa5b9c067491d2777d78c3
2010-11-29 11:32:04 -08:00
Makoto Onuki
36cf701784 New back behavior
The home icon on action bar and the system back key work slightly differently
on portrait.

home: full-screen message view -> mailbox list + message list
back: full-screen message view -> expanded message list
      -> mailbox list + message list

Bug 3228524

Change-Id: I9bb598315ee829c6a8300a35d194a29c7a26291f
2010-11-24 14:42:27 -08:00
Gilles Debunne
ac25a48d7b Merge "Removed unused assets." 2010-11-24 14:41:54 -08:00
Makoto Onuki
54513ed740 Merge "pixel-almost-perfect: mailbox list" 2010-11-24 13:47:04 -08:00
Makoto Onuki
9d6d5b3091 pixel-almost-perfect: mailbox list
Bug 3137965

Change-Id: Ic5aa3327ddbd456024e1938b74c7da0452b682f5
2010-11-24 13:40:58 -08:00
Andy Stadler
0cefe81b47 Merge "Update visual style shortcut picker and make it async" 2010-11-24 11:20:06 -08:00
Makoto Onuki
2e1c3eaaf1 Merge "Don't show color chips when there's only one account" 2010-11-24 10:48:10 -08:00
Makoto Onuki
e2201949ba Don't show color chips when there's only one account
Bug 3225322

Change-Id: Idb299f54dc6f746e7d451a7a04fb971a432a869a
2010-11-24 10:47:04 -08:00
Andy Stadler
d87f81e901 Update visual style shortcut picker and make it async
* Use dialog when in XL screen size
* Show different strings in launcher and in dialog/activity title
* Add cancel button to picker
* Move accounts query to AsyncTask
* Remove obsolete AccountsAdapter

Bug: 3093928
Change-Id: Ief771482c6db684c434c21cf92844c37a927d34a
2010-11-23 22:54:49 -08:00
Makoto Onuki
e47c12dba8 Merge "Don't show account dropdown when there's only 1 account." 2010-11-23 17:31:43 -08:00