Fixed NPE in LocalIndexesFragment in onPostExecute
This commit is contained in:
parent
eee6eddf6f
commit
d9ab5c4042
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