Files
rr3-apk/decompiled/sources/androidx/webkit/internal/ApiHelperForQ.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

66 lines
2.4 KiB
Java

package androidx.webkit.internal;
import android.webkit.WebSettings;
import android.webkit.WebView;
import android.webkit.WebViewRenderProcess;
import androidx.annotation.DoNotInline;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.annotation.RequiresApi;
import androidx.webkit.WebViewRenderProcessClient;
import java.util.concurrent.Executor;
@RequiresApi(29)
/* loaded from: classes.dex */
public class ApiHelperForQ {
private ApiHelperForQ() {
}
@DoNotInline
@Deprecated
public static void setForceDark(@NonNull WebSettings webSettings, int i) {
webSettings.setForceDark(i);
}
@DoNotInline
@Deprecated
public static int getForceDark(@NonNull WebSettings webSettings) {
int forceDark;
forceDark = webSettings.getForceDark();
return forceDark;
}
@Nullable
@DoNotInline
public static WebViewRenderProcess getWebViewRenderProcess(@NonNull WebView webView) {
WebViewRenderProcess webViewRenderProcess;
webViewRenderProcess = webView.getWebViewRenderProcess();
return webViewRenderProcess;
}
@DoNotInline
public static boolean terminate(@NonNull WebViewRenderProcess webViewRenderProcess) {
boolean terminate;
terminate = webViewRenderProcess.terminate();
return terminate;
}
@DoNotInline
public static void setWebViewRenderProcessClient(@NonNull WebView webView, @NonNull Executor executor, @Nullable WebViewRenderProcessClient webViewRenderProcessClient) {
webView.setWebViewRenderProcessClient(executor, webViewRenderProcessClient != null ? new WebViewRenderProcessClientFrameworkAdapter(webViewRenderProcessClient) : null);
}
@DoNotInline
public static void setWebViewRenderProcessClient(@NonNull WebView webView, @Nullable WebViewRenderProcessClient webViewRenderProcessClient) {
webView.setWebViewRenderProcessClient(webViewRenderProcessClient != null ? new WebViewRenderProcessClientFrameworkAdapter(webViewRenderProcessClient) : null);
}
@Nullable
@DoNotInline
public static android.webkit.WebViewRenderProcessClient getWebViewRenderProcessClient(@NonNull WebView webView) {
android.webkit.WebViewRenderProcessClient webViewRenderProcessClient;
webViewRenderProcessClient = webView.getWebViewRenderProcessClient();
return webViewRenderProcessClient;
}
}