mirror of
https://github.com/CappielloAntonio/tempo.git
synced 2026-02-01 23:13:36 +00:00
Fix a bug on playNext
This commit is contained in:
@@ -59,13 +59,14 @@ public class MainActivity extends BaseActivity {
|
||||
connectivityStatusBroadcastReceiver = new ConnectivityStatusBroadcastReceiver(this);
|
||||
connectivityStatusReceiverManager(true);
|
||||
|
||||
init();
|
||||
checkConnectionType();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onStart() {
|
||||
super.onStart();
|
||||
init();
|
||||
initServiceContent();
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -94,7 +95,6 @@ public class MainActivity extends BaseActivity {
|
||||
|
||||
initBottomSheet();
|
||||
initNavigation();
|
||||
initServiceContent();
|
||||
|
||||
if (PreferenceUtil.getInstance(this).getToken() != null) {
|
||||
goFromLogin();
|
||||
|
||||
@@ -97,11 +97,6 @@ public class PlayerBottomSheetFragment extends Fragment {
|
||||
|
||||
initializeMediaBrowser();
|
||||
bindMediaController();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onResume() {
|
||||
super.onResume();
|
||||
setMediaBrowserListenableFuture();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user