diff --git a/src/api-impl/android/webkit/CookieManager.java b/src/api-impl/android/webkit/CookieManager.java index d415190e..664f5f07 100644 --- a/src/api-impl/android/webkit/CookieManager.java +++ b/src/api-impl/android/webkit/CookieManager.java @@ -11,6 +11,10 @@ public class CookieManager { if (Context.this_application.getPackageName().equals("org.schabi.newpipe")) { throw new RuntimeException("CookieManager not yet fully implemented"); } + try { // also handle NewPipe forks which can have a different packagename + Class.forName("org.schabi.newpipe.util.potoken.PoTokenWebView"); + throw new RuntimeException("CookieManager not yet fully implemented"); + } catch (ClassNotFoundException e) {} return new CookieManager(); }