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
add more Java APIs needed for OctoDroid
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
package android.webkit;
|
||||
|
||||
public class WebSettings {
|
||||
|
||||
public static enum LayoutAlgorithm {
|
||||
NORMAL,
|
||||
}
|
||||
|
||||
public String getUserAgentString() {
|
||||
return "GDPR VIOLATION";
|
||||
}
|
||||
@@ -16,4 +21,20 @@ public class WebSettings {
|
||||
public void setGeolocationEnabled(boolean enabled) {}
|
||||
|
||||
public void setCacheMode(int dummy) {}
|
||||
|
||||
public void setLayoutAlgorithm(LayoutAlgorithm layoutAlgorithm) {}
|
||||
|
||||
public void setAllowFileAccess(boolean allowFileAccess) {}
|
||||
|
||||
public void setBuiltInZoomControls(boolean builtInZoomControls) {}
|
||||
|
||||
public void setDisplayZoomControls(boolean displayZoomControls) {}
|
||||
|
||||
public void setLoadsImagesAutomatically(boolean loadsImagesAutomatically) {}
|
||||
|
||||
public void setSupportZoom(boolean supportZoom) {}
|
||||
|
||||
public void setUseWideViewPort(boolean useWideViewPort) {}
|
||||
|
||||
public void setTextZoom(int textZoom) {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user