Fixed NPE in LocalIndexesFragment in onPostExecute
This commit is contained in:
parent
260d4eede2
commit
ef302a0059
1 changed files with 3 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue