From 6e382c64a4e8d18b724b94bf331bc1f9a6db1bb0 Mon Sep 17 00:00:00 2001 From: Christian Schabesberger Date: Tue, 4 Sep 2018 13:07:39 +0200 Subject: [PATCH] Reciever not registered --- app/src/main/java/org/schabi/newpipe/player/BasePlayer.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/src/main/java/org/schabi/newpipe/player/BasePlayer.java b/app/src/main/java/org/schabi/newpipe/player/BasePlayer.java index d87df3666..06f2e9721 100644 --- a/app/src/main/java/org/schabi/newpipe/player/BasePlayer.java +++ b/app/src/main/java/org/schabi/newpipe/player/BasePlayer.java @@ -366,10 +366,7 @@ public abstract class BasePlayer implements try { context.unregisterReceiver(broadcastReceiver); } catch (final IllegalArgumentException unregisteredException) { - ErrorActivity.reportError(context, unregisteredException, null, null, - ErrorActivity.ErrorInfo.make(PLAY_STREAM, - "none", - "play stream", R.string.general_error)); + Log.e(TAG, "Broadcast receiver already unregistered.", unregisteredException); } }