mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-11-18 07:44:56 +00:00
Reciever not registered
This commit is contained in:
parent
81e76f260c
commit
6e382c64a4
@ -366,10 +366,7 @@ public abstract class BasePlayer implements
|
|||||||
try {
|
try {
|
||||||
context.unregisterReceiver(broadcastReceiver);
|
context.unregisterReceiver(broadcastReceiver);
|
||||||
} catch (final IllegalArgumentException unregisteredException) {
|
} catch (final IllegalArgumentException unregisteredException) {
|
||||||
ErrorActivity.reportError(context, unregisteredException, null, null,
|
Log.e(TAG, "Broadcast receiver already unregistered.", unregisteredException);
|
||||||
ErrorActivity.ErrorInfo.make(PLAY_STREAM,
|
|
||||||
"none",
|
|
||||||
"play stream", R.string.general_error));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user