Files
rr3-apk/decompiled-community/sources/androidx/webkit/internal/ApiHelperForQ.java
Daniel Elliott c080f0d97f Add Discord community version (64-bit only)
- Added realracing3-community.apk (71.57 MB)
- Removed 32-bit support (armeabi-v7a)
- Only includes arm64-v8a libraries
- Decompiled source code included
- Added README-community.md with analysis
2026-02-18 15:48:36 -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;
}
}