You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
23 lines
564 B
Java
23 lines
564 B
Java
|
|
package android.webkit;
|
||
|
|
|
||
|
|
import android.content.Context;
|
||
|
|
|
||
|
|
class ValueCallback {}
|
||
|
|
|
||
|
|
public class CookieManager {
|
||
|
|
|
||
|
|
public static CookieManager getInstance() {
|
||
|
|
// HACK: disable NewPipe's WebView based PoToken generator for now
|
||
|
|
if (Context.this_application.getPackageName().equals("org.schabi.newpipe")) {
|
||
|
|
throw new RuntimeException("CookieManager not yet fully implemented");
|
||
|
|
}
|
||
|
|
return new CookieManager();
|
||
|
|
}
|
||
|
|
|
||
|
|
public void removeAllCookies(ValueCallback callback) {}
|
||
|
|
|
||
|
|
public void removeSessionCookies(ValueCallback callback) {}
|
||
|
|
|
||
|
|
public void flush() {}
|
||
|
|
}
|