Fix download NPE
This commit is contained in:
parent
ed93e37f72
commit
fa407ef386
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@ public class LiveUpdatesFragment extends BaseOsmAndFragment implements InAppList
|
||||||
}
|
}
|
||||||
|
|
||||||
public void notifyLiveUpdatesChanged() {
|
public void notifyLiveUpdatesChanged() {
|
||||||
if (adapter != null) {
|
if (adapter != null && getMyApplication() != null && getActivity() != null) {
|
||||||
adapter.notifyLiveUpdatesChanged();
|
adapter.notifyLiveUpdatesChanged();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue