1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-08-13 17:03:48 -04:00

We care about eclair MR1, not eclair

This commit is contained in:
Jesse Vincent 2010-11-03 00:44:07 +00:00
parent 9c7e3bcc26
commit b9999878df
2 changed files with 2 additions and 2 deletions

View File

@ -891,7 +891,7 @@ public class MessageView extends K9Activity implements OnClickListener
// SINGLE_COLUMN layout was broken on Android < 2.2, so we
// administratively disable it
if (
( Integer.parseInt(Build.VERSION.SDK) > Build.VERSION_CODES.ECLAIR)
( Integer.parseInt(Build.VERSION.SDK) > 7)
&& K9.mobileOptimizedLayout())
{
webSettings.setLayoutAlgorithm(WebSettings.LayoutAlgorithm.SINGLE_COLUMN);

View File

@ -228,7 +228,7 @@ public class Prefs extends K9PreferenceActivity
mZoomControlsEnabled.setChecked(K9.zoomControlsEnabled());
mMobileOptimizedLayout = (CheckBoxPreference) findPreference(PREFERENCE_MESSAGEVIEW_MOBILE_LAYOUT);
if (Integer.parseInt(Build.VERSION.SDK) <= Build.VERSION_CODES.ECLAIR)
if (Integer.parseInt(Build.VERSION.SDK) <= 7 ) {
{
mMobileOptimizedLayout.setEnabled(false);
}