Fixed a NPE introduced after refactoring dialogManager.

This commit is contained in:
Bartlomiej Niechwiej
2010-11-17 22:39:50 -08:00
parent e57d4669fc
commit 2d01535651
@@ -255,6 +255,7 @@ public class MyTracks extends TabActivity implements OnTouchListener,
providerUtils = MyTracksProviderUtils.Factory.get(this);
menuManager = new MenuManager(this);
sharedPreferences = getSharedPreferences(MyTracksSettings.SETTINGS_NAME, 0);
dialogManager = new DialogManager(this);
// The volume we want to control is the Text-To-Speech volume
int volumeStream =