zoomLevel = Math.max(0, Math.min(zoomLevel, maxZoomLevel) - 1);
minZoomInput.setText(String.valueOf(zoomLevel));
maxZoomInput.setText(String.valueOf(maxZoomLevel));
setZooms = false;
}
<BUG>GeoPackageUtils.prepareTileLoadInputs(getActivity(), minZoomInput,
maxZoomInput, null, nameInput, null,
compressFormatInput, compressQualityInput, setZooms, maxFeaturesLabel, maxFeaturesInput, true);</BUG>
GeoPackageManager manager = GeoPackageFactory.getManager(getActivity());
GeoPackage geoPackage = manager.open(database);

zoomLevel = Math.max(0, Math.min(zoomLevel, maxZoomLevel) - 1);
minZoomInput.setText(String.valueOf(zoomLevel));
maxZoomInput.setText(String.valueOf(maxZoomLevel));
setZooms = false;
}
GeoPackageManager manager = GeoPackageFactory.getManager(getActivity());
GeoPackage geoPackage = manager.open(database);
