Audio stream type is set, to get rid of an annoying repetitive system log message :)

This commit is contained in:
Aidan Follestad 2015-04-21 13:14:09 -05:00
commit 6564986f52

View file

@ -298,6 +298,7 @@ public class MusicService extends Service implements MediaPlayer.OnPreparedListe
if (position != -1) {
try {
Uri trackUri = getCurrentPositionTrackUri();
player.setAudioStreamType(AudioManager.STREAM_MUSIC);
player.setDataSource(getApplicationContext(), trackUri);
player.prepareAsync();
} catch (Exception e) {