Query duration on startup
This commit is contained in:
parent
52013ce482
commit
6123a81dfa
@ -154,6 +154,7 @@ public class NowPlayingActivity extends Activity implements CoverViewWatcher, Se
|
||||
mService.registerWatcher(mWatcher);
|
||||
refreshSongs();
|
||||
setState(mService.getState());
|
||||
mDuration = mService.getDuration();
|
||||
} catch (RemoteException e) {
|
||||
Log.i("Tumult", "Failed to initialize connection to playback service", e);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user