1
0
mirror of https://github.com/moparisthebest/k-9 synced 2025-01-30 23:00:09 -05: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 // SINGLE_COLUMN layout was broken on Android < 2.2, so we
// administratively disable it // administratively disable it
if ( if (
( Integer.parseInt(Build.VERSION.SDK) > Build.VERSION_CODES.ECLAIR) ( Integer.parseInt(Build.VERSION.SDK) > 7)
&& K9.mobileOptimizedLayout()) && K9.mobileOptimizedLayout())
{ {
webSettings.setLayoutAlgorithm(WebSettings.LayoutAlgorithm.SINGLE_COLUMN); webSettings.setLayoutAlgorithm(WebSettings.LayoutAlgorithm.SINGLE_COLUMN);

View File

@ -228,7 +228,7 @@ public class Prefs extends K9PreferenceActivity
mZoomControlsEnabled.setChecked(K9.zoomControlsEnabled()); mZoomControlsEnabled.setChecked(K9.zoomControlsEnabled());
mMobileOptimizedLayout = (CheckBoxPreference) findPreference(PREFERENCE_MESSAGEVIEW_MOBILE_LAYOUT); 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); mMobileOptimizedLayout.setEnabled(false);
} }