Make sure we are actually starting up in onCreate
Not just changing configurations
This commit is contained in:
1 parent
85876e1b0f
commit
124780de98
1 file changed
+5
-3
@@ -70,9 +70,11 @@ public class FullPlaybackActivity extends PlaybackActivity implements View.OnCli
|
||||
{
|
||||
super.onCreate(icicle);
|
||||
|
||||
SharedPreferences settings = PreferenceManager.getDefaultSharedPreferences(this);
|
||||
if (settings.getBoolean("selector_on_startup", false))
|
||||
showDialog(SONG_SELECTOR);
|
||||
if (icicle == null) {
|
||||
SharedPreferences settings = PreferenceManager.getDefaultSharedPreferences(this);
|
||||
if (settings.getBoolean("selector_on_startup", false))
|
||||
showDialog(SONG_SELECTOR);
|
||||
}
|
||||
|
||||
setContentView(R.layout.full_playback);
|
||||
|
||||
|
||||
Reference in new issue
Block a user