fixed null pointer in download activity
This commit is contained in:
parent
c14914cfc4
commit
788324ec7a
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue