refactor: adress formatting issues

This commit is contained in:
Jakob Kukla 2021-06-05 14:08:44 +02:00
commit 016dacfb29

View file

@ -89,7 +89,10 @@ public class LocalPlayer implements Playback {
.setContentType(C.CONTENT_TYPE_MUSIC) .setContentType(C.CONTENT_TYPE_MUSIC)
.build(); .build();
exoPlayer = new SimpleExoPlayer.Builder(context).setMediaSourceFactory(mediaSourceFactory).setAudioAttributes(audioAttributes, true).build(); exoPlayer = new SimpleExoPlayer.Builder(context)
.setMediaSourceFactory(mediaSourceFactory)
.setAudioAttributes(audioAttributes, true)
.build();
exoPlayer.addListener(eventListener); exoPlayer.addListener(eventListener);
exoPlayer.prepare(); exoPlayer.prepare();