From 831e9985e2484665f8cc1159ea30d208d8c71cc1 Mon Sep 17 00:00:00 2001 From: Laurent Arnoud Date: Tue, 18 Feb 2020 21:50:28 +0100 Subject: [PATCH] Migrate annotation to androidx on ReCaptchaActivity --- app/src/main/java/org/schabi/newpipe/ReCaptchaActivity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/org/schabi/newpipe/ReCaptchaActivity.java b/app/src/main/java/org/schabi/newpipe/ReCaptchaActivity.java index d72f729b5..4219638d6 100644 --- a/app/src/main/java/org/schabi/newpipe/ReCaptchaActivity.java +++ b/app/src/main/java/org/schabi/newpipe/ReCaptchaActivity.java @@ -18,7 +18,7 @@ import android.webkit.WebViewClient; import org.schabi.newpipe.util.ThemeHelper; -import javax.annotation.Nonnull; +import androidx.annotation.NonNull; /* * Created by beneth on 06.12.16. @@ -147,7 +147,7 @@ public class ReCaptchaActivity extends AppCompatActivity { // add other methods to extract cookies here } - private void addYoutubeCookies(@Nonnull String cookies) { + private void addYoutubeCookies(@NonNull String cookies) { if (cookies.contains("s_gl=") || cookies.contains("goojf=") || cookies.contains("VISITOR_INFO1_LIVE=")) { // youtube seems to also need the other cookies: addCookie(cookies);