Query duration on startup

This commit is contained in:
Christopher Eby 2010-02-19 22:19:56 -06:00
parent 52013ce482
commit 6123a81dfa

View File

@ -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);
}