Fixed NPE in LocalIndexesFragment in onPostExecute

This commit is contained in:
Denis 2014-11-10 11:16:54 +02:00
parent 260d4eede2
commit ef302a0059

View file

@ -701,6 +701,9 @@ public class LocalIndexesFragment extends OsmandExpandableListFragment {
@Override
protected void onPostExecute(List<String> warnings) {
if ( getDownloadActivity() == null) {
return;
}
getDownloadActivity().setProgressBarIndeterminateVisibility(false);
if (!warnings.isEmpty()) {
final StringBuilder b = new StringBuilder();