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