stub some APIs for Flappy Bird, mostly webview related

This commit is contained in:
Julian Winkler
2023-06-18 11:03:43 +02:00
parent c21d8532bc
commit 0454dcbfd5
16 changed files with 150 additions and 6 deletions

View File

@@ -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) {
}
}