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
api-impl: add misc APIs needed for AntennaPod
This commit is contained in:
@@ -17,4 +17,8 @@ public class URLUtil {
|
||||
&& (url.length() > 7)
|
||||
&& url.substring(0, 8).equalsIgnoreCase("https://");
|
||||
}
|
||||
|
||||
public static boolean isContentUrl(String url) {
|
||||
return url.startsWith("content://");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -52,4 +52,6 @@ public class WebSettings {
|
||||
public void setRenderPriority(RenderPriority priority) {}
|
||||
|
||||
public void setBlockNetworkLoads(boolean block) {}
|
||||
|
||||
public void setMixedContentMode(int mode) {}
|
||||
}
|
||||
|
||||
@@ -4,9 +4,9 @@ import android.content.Context;
|
||||
import android.content.res.AssetManager;
|
||||
import android.util.AttributeSet;
|
||||
import android.util.Base64;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
|
||||
public class WebView extends View {
|
||||
public class WebView extends ViewGroup {
|
||||
|
||||
private WebViewClient webViewClient;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user