File tree Expand file tree Collapse file tree
app/src/main/java/org/schabi/newpipe/error Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ package org.schabi.newpipe.error
33import android.content.Context
44import android.os.Parcelable
55import androidx.annotation.StringRes
6- import androidx.core.content.ContextCompat
76import com.google.android.exoplayer2.ExoPlaybackException
87import com.google.android.exoplayer2.upstream.HttpDataSource
98import com.google.android.exoplayer2.upstream.Loader
@@ -275,6 +274,9 @@ class ErrorInfo private constructor(
275274 // we don't have an exception, so this is a manually built error, which likely
276275 // indicates that it's important and is thus reportable
277276 null -> true
277+ // a recaptcha was detected, and the user needs to solve it, there is no use in
278+ // letting users report it
279+ is ReCaptchaException -> false
278280 // the service explicitly said that content is not available (e.g. age restrictions,
279281 // video deleted, etc.), there is no use in letting users report it
280282 is ContentNotAvailableException -> false
You can’t perform that action at this time.
0 commit comments