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);
|
mService.registerWatcher(mWatcher);
|
||||||
refreshSongs();
|
refreshSongs();
|
||||||
setState(mService.getState());
|
setState(mService.getState());
|
||||||
|
mDuration = mService.getDuration();
|
||||||
} catch (RemoteException e) {
|
} catch (RemoteException e) {
|
||||||
Log.i("Tumult", "Failed to initialize connection to playback service", e);
|
Log.i("Tumult", "Failed to initialize connection to playback service", e);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user