fixed null pointer in download activity

This commit is contained in:
Denis_Bars 2014-09-29 12:40:19 +03:00
parent c14914cfc4
commit 788324ec7a

View file

@ -67,7 +67,7 @@ public class DownloadActivity extends SherlockFragmentActivity {
setProgressBarIndeterminateVisibility(false);
setContentView(R.layout.tab_content);
OsmandSettings settings = ((OsmandApplication) getApplication()).getSettings();
settings = ((OsmandApplication) getApplication()).getSettings();
tabHost = (TabHost) findViewById(android.R.id.tabhost);
tabHost.setup();
ViewPager viewPager = (ViewPager) findViewById(R.id.pager);