Skip to content

Commit c116b87

Browse files
committed
Restore aed4278
1 parent 25e96d5 commit c116b87

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

app/src/main/java/org/schabi/newpipe/error/ErrorInfo.kt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package org.schabi.newpipe.error
33
import android.content.Context
44
import android.os.Parcelable
55
import androidx.annotation.StringRes
6+
import androidx.core.content.ContextCompat
67
import com.google.android.exoplayer2.ExoPlaybackException
78
import com.google.android.exoplayer2.upstream.HttpDataSource
89
import com.google.android.exoplayer2.upstream.Loader
@@ -274,9 +275,6 @@ class ErrorInfo private constructor(
274275
// we don't have an exception, so this is a manually built error, which likely
275276
// indicates that it's important and is thus reportable
276277
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
280278
// the service explicitly said that content is not available (e.g. age restrictions,
281279
// video deleted, etc.), there is no use in letting users report it
282280
is ContentNotAvailableException -> false

app/src/main/res/layout/fragment_video_detail.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@
214214
android:layout_marginTop="@dimen/video_item_detail_error_panel_margin"
215215
android:visibility="gone"
216216
tools:visibility="gone" />
217+
217218
<!--HIDING ROOT-->
218219
<LinearLayout
219220
android:id="@+id/detail_content_root_hiding"

0 commit comments

Comments
 (0)