Commit Graph

4165 Commits

Author SHA1 Message Date
Makoto Onuki
36f2088408 Fix LocalStoreUnitTests
The problem was that we tried to upgrade the db by re-creating a LocalStore,
without closing the existing connection.  The db was still upgraded on the
filesystem, but the old connection kept looking at the old table definition
for whatever reason.

Also cleaned up checkAllTablesFound().  It now shows what columns are
missing when failed.

Bug 3349973

Change-Id: I80f4c67f1bd61cd5e1f12a632978b36a6e0a3b19
2011-01-14 14:36:01 -08:00
Makoto Onuki
36cc9c18ed Fix NPE in AttachmentDownloadServiceTests.testDownloadSet
Bug 3353834

Change-Id: I5cf475ff174bffce80a435c80b1fd85c0be146e9
2011-01-14 11:47:26 -08:00
Marc Blank
96497dc60e Merge "Support encryption in EAS provisioning" into honeycomb 2011-01-13 16:51:51 -08:00
Marc Blank
4fa12e52fc Support encryption in EAS provisioning
* Confirmed that policies enforcing encryption are rejected as
  unsupported (since full encryption plumbing is not in place)

Bug: 334652

Change-Id: I82340cfbd68a9663714a98824a5d8395f2c0da74
2011-01-13 16:26:53 -08:00
Makoto Onuki
1daf876693 Fix NPE in Controller.deleteMessageSync
Bug 3351148

Change-Id: I0015c84e5758504a66a4373668afea063f5b2e15
2011-01-13 16:09:21 -08:00
Makoto Onuki
d072f9905d Don't show trashed messages in Starred mailbox
Also show the *total* starred message count (excluding trashed starred)
in the mailbox list, not *per-account* starred count.

Bug 3346872
Bug 2149412

Change-Id: I2274f215f994b62280ac6138982b927cec22c677
2011-01-13 15:41:22 -08:00
Makoto Onuki
1ec737ce28 Merge "Fix NPE in MessageViewFragmentBase" into honeycomb 2011-01-13 13:52:04 -08:00
Makoto Onuki
9799b8fe4b Fix NPE in MessageViewFragmentBase
Add null check for all mMessageContentView accesses.

Also, addressed Andy's comment on I1374b81f; moved the zoom scale array out
of Preferences.

Bug 3350164

Change-Id: I689bd4146ecfffdbb98dccd433ba0c396996df4c
2011-01-13 13:44:44 -08:00
Andy Stadler
4f721a1625 Merge "Add encryption to SecurityPolicy" into honeycomb 2011-01-13 13:26:13 -08:00
Andy Stadler
469f2987dc Add encryption to SecurityPolicy
* Add encrypted-storage to uses-policies
* Add new field to PolicySet
* Add "false" to all constructor callers
* Add unit tests (including fixing some existing unit tests)
* Add new logic to AccountSecurity activity t0 dispatch both password
  and encryption requests.

Bug: 3346641
Change-Id: I54f39bc9b6fbe21c033a05b36b83081e5c78a296
2011-01-13 13:12:55 -08:00
Makoto Onuki
09cb192d56 Merge "Make message view text sizes consistent w/ Gmail" into honeycomb 2011-01-13 11:32:59 -08:00
Marc Blank
24c068b912 Make message view text sizes consistent w/ Gmail
It's exactly the same as Marc's I1240f263, except how it sets the zoom scale.
Seems like WebView.setInitialScale() works...

Bug: 3215606
Change-Id: I1374b81fd7799faa261ba6a06df18f6a8ef9d122
2011-01-13 11:21:26 -08:00
Eric Fischer
61368e6112 Merge "Import revised translations." into honeycomb 2011-01-13 10:58:53 -08:00
Makoto Onuki
ffdb8a7ea9 Merge "Fix "load more messages"" into honeycomb 2011-01-13 10:43:03 -08:00
Makoto Onuki
c22eef71cb Merge "Add missing CHAR LIMITs" into honeycomb 2011-01-13 10:24:01 -08:00
Makoto Onuki
b3b7f01d66 Add missing CHAR LIMITs
Bug 2953798

Change-Id: I3beb4092ce8b8cfb4c445041d617177e080da93f
2011-01-13 10:21:51 -08:00
Andy Stadler
3903bd3a64 Merge "Make breadcrumbs work in server settings fragments" into honeycomb 2011-01-13 10:16:37 -08:00
Marc Blank
81b6edc311 Merge "Properly clean up after an EAS email wipe" into honeycomb 2011-01-13 09:48:42 -08:00
Andy Stadler
983e1ad53b Make breadcrumbs work in server settings fragments
* Switch to newer startPreferenceActivity API
* Newer API lets us pass a string for the breadcrumb
* Get rid of newInstance() calls in all three server settings fragments

Bug: 3188951
Change-Id: I86ae91d63ff7bd32fa0eab96ac18686bb5e3e313
2011-01-13 00:07:09 -08:00
Marc Blank
ee5780f79a Merge "Properly handle style (and similar) tags in HTML snippets" into honeycomb 2011-01-12 18:43:58 -08:00
Makoto Onuki
a796fbab02 Fix "load more messages"
Was simply broken.

Bug 3347062

Change-Id: Ic8d16be377ee5a9871f0019a0b008a4de2390f15
2011-01-12 17:47:26 -08:00
Marc Blank
48eee23376 Properly clean up after an EAS email wipe
* Clear the fetch request list
* Also, make sure we don't try to send local changes during an
  initial sync

Bug: 3347078
Change-Id: Idba7bceb5919bea81bf5b48a69cd4331946505fe
2011-01-12 17:22:40 -08:00
Eric Fischer
17a1576d0b Import revised translations.
Change-Id: I30182d1b3ddf2b87ad4954ee98931fe954831b76
2011-01-12 17:04:03 -08:00
Marc Blank
609e47cc8e Merge "Cleanup WidgetProvider" into honeycomb 2011-01-12 16:22:46 -08:00
Marc Blank
5a8be8e7ed Properly handle style (and similar) tags in HTML snippets
Bug: 3285281
Change-Id: Ia45dbe39b47f1bcb647efbf1860ed4b933976df8
2011-01-12 16:21:01 -08:00
Marc Blank
055dd6be86 Cleanup WidgetProvider
* Remove STOPSHIPs
* Don't use startService calls

Bug: 3341494
Bug: 3342662
Change-Id: I46fd60db40cf3476255f1af795da0b2a4bc34a7e
2011-01-12 16:12:07 -08:00
Todd Kennedy
4c06c82b37 Hide view/save buttons if attachment is unviewable
If none of the installed activities can handle the attachment type, don't let
the user view or save the attachment to the device.

bug 3338984

Change-Id: I6c158b7dd11ec48eec81f9a96289dd2c914f6a2c
2011-01-12 14:55:31 -08:00
Makoto Onuki
e96401a8b2 Merge "Use explicit height for attachment progressbar" into honeycomb 2011-01-12 13:46:32 -08:00
Makoto Onuki
1316ccdc2a Merge "Show the UP arrow on account settings" into honeycomb 2011-01-12 13:46:24 -08:00
Makoto Onuki
82dd234f13 Improve "message details"
- Show subject/sender info
- Now all text fields are copyable

Bug 3342310

Change-Id: Ib9c4486aec36f192625c21602ea7406508ca0a49
2011-01-12 12:29:59 -08:00
Makoto Onuki
9c4989d2c0 Use explicit height for attachment progressbar
The default progressbar height has changed and our layout now seems to be
a bit off.

Bug 3138021

Change-Id: I4f0d9323d4804f5bbde90035f90cdcee9c653a92
2011-01-12 11:52:46 -08:00
Makoto Onuki
38089f6c42 Show the UP arrow on account settings
Show the UP arrow on the action bar.  Tapping it works as a back press for now.

Bug 3341634

Change-Id: I9fade234fd9878f701a601f4d016778fa032383b
2011-01-12 11:03:02 -08:00
Andy Stadler
ac7194b4a9 Merge "Finish incoming/outgoing/exchange layouts" into honeycomb 2011-01-12 10:10:56 -08:00
Makoto Onuki
e5d9691ec5 Merge "Don't show starred mailbox, if account has no starred" into honeycomb 2011-01-12 10:01:14 -08:00
Andy Stadler
3c7c8c9ef6 Finish incoming/outgoing/exchange layouts
* Standard values for overall layout & padding
* Standard button positioning
* Move all fragment padding to containers so setup/settings
  can be adjusted individually.
* Remove unnecessary banners in settings fragments

Bug: 3188940
Bug: 3188951
Change-Id: I9567988b388a8cf80f9d583be865091478b2404c
2011-01-12 00:40:34 -08:00
Andy Stadler
056d562d09 Final button spacing & colors for account setup
Removes all STOPSHIP notes for account setup.

Bug: 3335093
Bug: 3188940
Change-Id: I68f906f71cf2404fe626caac97ddf0dd789f6a64
2011-01-11 22:53:55 -08:00
Marc Blank
0bf1add594 Merge "Fix broken widget display (typo)" into honeycomb 2011-01-11 22:23:10 -08:00
Marc Blank
1268bef712 Fix broken widget display (typo)
Bug: 3329906
Bug: 3342305
Change-Id: I1c1f2ae78ba86b28923d4fd9c7c390425de83af1
2011-01-11 18:44:39 -08:00
Christopher Tate
ae7119524b API CHANGE: startDrag() now takes "int flags" instead of "boolean localOnly"
startDrag() that crosses application boundaries will remain @hide until we get
more of the surrounding behaviors nailed down.

Change-Id: I2db8206b26d606d5592f185702380b889c029b19
2011-01-11 17:53:57 -08:00
Eric Fischer
c4a3148fba Merge "Update large-screen translations." into honeycomb 2011-01-11 17:39:35 -08:00
Makoto Onuki
0a73e8cd45 Fix NPE in MessageListItem
Not sure in what condition Message.displayName can be null, but addign this
check won't harm...

Bug 3339309

Change-Id: Ic2261fc33cf2be759411b998707a96eedd4e4fdb
2011-01-11 17:20:45 -08:00
Eric Fischer
035862ed75 Update large-screen translations.
Change-Id: I5d9083db5f155a5e27acd352c12b0cfdf719e7d4
2011-01-11 17:00:56 -08:00
Makoto Onuki
9c0da8b84f Don't show starred mailbox, if account has no starred
Bug 3334963

Change-Id: I751e56731b990a6e94b8547a577a84c1a848cbc7
2011-01-11 16:45:05 -08:00
Makoto Onuki
f7b8bc1ed7 Show newer/older in landscape as well, below message list
Now the button area is owned by the 3-pane layout, rather than the message view
fragment.

Bug 3327153

Change-Id: I9c262086c5a001cfe6e81b788c27d05d490c9830
2011-01-11 16:02:19 -08:00
Andy Stadler
071274f078 Merge "Update file type acceptance rules" into honeycomb 2011-01-11 14:45:54 -08:00
Andy Stadler
86753bc41c Update file type acceptance rules
* Open up all types for view/save rules
* Add anti-malware block list (based on extensions)
* Clean up code that shows/hides view & save buttons
* Redo handling of load/cancel 1sec timer
* Unit test for new little utility
* Allow larger items when on wifi

Bug: 3338984
Bug: 3334950
Bug: 3338988
Bug: 3340835

Change-Id: I991135636d507f2660e2860720dbed21bd1a955b
2011-01-11 14:40:41 -08:00
Todd Kennedy
56ffd12fcd Update chips per UI design specification
bug 3335090

Change-Id: I4922621b14f10a2013f3a91c7d76f9c6482a327d
2011-01-11 14:03:21 -08:00
Marc Blank
421055a70a Allow unlimited folders in EAS by batching folder changes
Bug: 3314445
Bug: 3325575
Bug: 3329867
Change-Id: Iefce7b334462919fd6391a449fc16196b9da168a
2011-01-11 13:50:58 -08:00
Andy Stadler
0faa37d771 Save attachments to /sdcard/Download
Bug: 3339015
Change-Id: Iee08f0c358e6680175c732ef0d5e416a86da5a5d
2011-01-11 13:46:01 -08:00
Marc Blank
f6fe21b483 Merge "Check download request before trying to remove it from the queue" into honeycomb 2011-01-11 13:22:39 -08:00