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
stub some APIs for Flappy Bird, mostly webview related
This commit is contained in:
@@ -1,13 +1,24 @@
|
||||
package android.webkit;
|
||||
|
||||
import android.content.Context;
|
||||
import android.view.View;
|
||||
|
||||
// the only reason we need to implement this is that some app developers are such scumbags that they try to use this for tracking purposes
|
||||
public class WebView {
|
||||
public class WebView extends View {
|
||||
public WebView (Context context) {
|
||||
super(context);
|
||||
}
|
||||
|
||||
public WebSettings getSettings() {
|
||||
return new WebSettings();
|
||||
}
|
||||
|
||||
public void setDownloadListener(DownloadListener downloadListener) {
|
||||
}
|
||||
|
||||
public void setScrollBarStyle(int scrollBarStyle) {
|
||||
}
|
||||
|
||||
public void setWebViewClient(WebViewClient webViewClient) {
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user