Files
android_translation_layer/src/api-impl/android/webkit/WebView.java
Mis012 0a9591c474 src/api-impl: fix up code style, mainly for code imported from AOSP
used the following (plus manual edits):
`clang-format --style="{BasedOnStyle: LLVM, IndentWidth: 8, UseTab: Always, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: true, ColumnLimit: 0}`
2023-06-22 11:45:46 +02:00

25 lines
581 B
Java

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