Remove unused
This commit is contained in:
parent
d43cca9436
commit
a334494186
|
@ -65,7 +65,6 @@ import java.util.List;
|
||||||
public class SubsonicFragmentActivity extends SubsonicActivity implements DownloadService.OnSongChangedListener {
|
public class SubsonicFragmentActivity extends SubsonicActivity implements DownloadService.OnSongChangedListener {
|
||||||
private static boolean infoDialogDisplayed;
|
private static boolean infoDialogDisplayed;
|
||||||
private static boolean sessionInitialized = false;
|
private static boolean sessionInitialized = false;
|
||||||
private boolean resuming = false;
|
|
||||||
private NowPlayingFragment nowPlayingFragment;
|
private NowPlayingFragment nowPlayingFragment;
|
||||||
private SubsonicFragment secondaryFragment;
|
private SubsonicFragment secondaryFragment;
|
||||||
private Toolbar mainToolbar;
|
private Toolbar mainToolbar;
|
||||||
|
@ -277,7 +276,6 @@ public class SubsonicFragmentActivity extends SubsonicActivity implements Downlo
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onResume() {
|
public void onResume() {
|
||||||
resuming = true;
|
|
||||||
super.onResume();
|
super.onResume();
|
||||||
|
|
||||||
if (getIntent().hasExtra(Constants.INTENT_EXTRA_VIEW_ALBUM)) {
|
if (getIntent().hasExtra(Constants.INTENT_EXTRA_VIEW_ALBUM)) {
|
||||||
|
@ -301,7 +299,6 @@ public class SubsonicFragmentActivity extends SubsonicActivity implements Downlo
|
||||||
UserUtil.seedCurrentUser(this);
|
UserUtil.seedCurrentUser(this);
|
||||||
createAccount();
|
createAccount();
|
||||||
runWhenServiceAvailable(() -> getDownloadService().addOnSongChangedListener(SubsonicFragmentActivity.this));
|
runWhenServiceAvailable(() -> getDownloadService().addOnSongChangedListener(SubsonicFragmentActivity.this));
|
||||||
resuming = false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue