From 58147e9e12d893bb623da3f87abae5f3f527ec45 Mon Sep 17 00:00:00 2001 From: Adam Howard Date: Sun, 3 Jan 2016 19:44:04 +0000 Subject: [PATCH] removed commented code in BackgroundPlayer --- app/src/main/java/org/schabi/newpipe/BackgroundPlayer.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/src/main/java/org/schabi/newpipe/BackgroundPlayer.java b/app/src/main/java/org/schabi/newpipe/BackgroundPlayer.java index 5573e2771..88e5fad9f 100644 --- a/app/src/main/java/org/schabi/newpipe/BackgroundPlayer.java +++ b/app/src/main/java/org/schabi/newpipe/BackgroundPlayer.java @@ -135,9 +135,6 @@ public class BackgroundPlayer extends Service /*implements MediaPlayer.OnPrepare //so calling the blocking prepare() method should be ok mediaPlayer.prepare(); - //alternatively: - //mediaPlayer.setOnPreparedListener(this); - //mediaPlayer.prepareAsync(); //prepare async to not block main thread } catch (IOException ioe) { ioe.printStackTrace(); Log.e(TAG, "video source:" + source);