- 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
47 lines
1.3 KiB
Java
47 lines
1.3 KiB
Java
package androidx.webkit.internal;
|
|
|
|
import android.content.pm.PackageInfo;
|
|
import android.webkit.WebChromeClient;
|
|
import android.webkit.WebSettings;
|
|
import android.webkit.WebView;
|
|
import android.webkit.WebViewClient;
|
|
import androidx.annotation.DoNotInline;
|
|
import androidx.annotation.NonNull;
|
|
import androidx.annotation.Nullable;
|
|
import androidx.annotation.RequiresApi;
|
|
|
|
@RequiresApi(26)
|
|
/* loaded from: classes.dex */
|
|
public class ApiHelperForO {
|
|
private ApiHelperForO() {
|
|
}
|
|
|
|
@DoNotInline
|
|
public static void setSafeBrowsingEnabled(@NonNull WebSettings webSettings, boolean z) {
|
|
webSettings.setSafeBrowsingEnabled(z);
|
|
}
|
|
|
|
@DoNotInline
|
|
public static boolean getSafeBrowsingEnabled(@NonNull WebSettings webSettings) {
|
|
return webSettings.getSafeBrowsingEnabled();
|
|
}
|
|
|
|
@Nullable
|
|
@DoNotInline
|
|
public static WebViewClient getWebViewClient(@NonNull WebView webView) {
|
|
return webView.getWebViewClient();
|
|
}
|
|
|
|
@Nullable
|
|
@DoNotInline
|
|
public static WebChromeClient getWebChromeClient(@NonNull WebView webView) {
|
|
return webView.getWebChromeClient();
|
|
}
|
|
|
|
@NonNull
|
|
@DoNotInline
|
|
public static PackageInfo getCurrentWebViewPackage() {
|
|
return WebView.getCurrentWebViewPackage();
|
|
}
|
|
}
|