try hide max_level_download_tile, for Issue 823

This commit is contained in:
sonora 2012-01-18 17:50:24 +01:00
parent d780542349
commit aab5041907
2 changed files with 4 additions and 1 deletions

View file

@ -12,8 +12,10 @@
android:key="map_vector_data"></CheckBoxPreference>
<ListPreference android:title="@string/map_tile_source" android:summary="@string/map_tile_source_descr" android:key="map_tile_sources"></ListPreference>
<CheckBoxPreference android:key="use_internet_to_download_tiles" android:title="@string/use_internet" android:summary="@string/use_internet_to_download_tile"></CheckBoxPreference>
<!-- try without, Issue 823:
<ListPreference android:title="@string/max_level_download_tile" android:summary="@string/max_level_download_tile_descr"
android:key="max_level_download_tile"></ListPreference>
-->
<ListPreference android:title="@string/level_to_switch_vector_raster" android:summary="@string/level_to_switch_vector_raster_descr"
android:key="level_to_switch_vector_raster"></ListPreference>
</PreferenceCategory>

View file

@ -238,7 +238,8 @@ public class SettingsActivity extends PreferenceActivity implements OnPreference
entries[i - startZoom] = i + ""; //$NON-NLS-1$
intValues[i - startZoom] = i ;
}
registerListPreference(osmandSettings.MAX_LEVEL_TO_DOWNLOAD_TILE, screen, entries, intValues);
// try without, Issue 823:
// registerListPreference(osmandSettings.MAX_LEVEL_TO_DOWNLOAD_TILE, screen, entries, intValues);
intValues = new Integer[] { 0, 5, 10, 15, 20, 25, 30, 45, 60, 90};