Merge pull request #945 from Bars107/r1.9

Fixed null pointer in download indexadapter
This commit is contained in:
vshcherb 2014-11-05 15:59:32 +01:00
commit ee2efd1291

View file

@ -64,6 +64,9 @@ public class DownloadIndexAdapter extends OsmandBaseExpandableListAdapter implem
}
public void collapseTrees(final CharSequence constraint) {
if (downloadFragment == null) {
return;
}
downloadFragment.getDownloadActivity().runOnUiThread(new Runnable() {
@Override
public void run() {