mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-17 19:37:18 +01:00
36 lines
1.1 KiB
Java
36 lines
1.1 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.RequiresApi;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
@RequiresApi(26)
|
|
/* loaded from: classes14.dex */
|
|
public class ApiHelperForO {
|
|
private ApiHelperForO() {
|
|
}
|
|
|
|
public static PackageInfo getCurrentWebViewPackage() {
|
|
return WebView.getCurrentWebViewPackage();
|
|
}
|
|
|
|
public static boolean getSafeBrowsingEnabled(WebSettings webSettings) {
|
|
return webSettings.getSafeBrowsingEnabled();
|
|
}
|
|
|
|
public static WebChromeClient getWebChromeClient(WebView webView) {
|
|
return webView.getWebChromeClient();
|
|
}
|
|
|
|
public static WebViewClient getWebViewClient(WebView webView) {
|
|
return webView.getWebViewClient();
|
|
}
|
|
|
|
public static void setSafeBrowsingEnabled(WebSettings webSettings, boolean z) {
|
|
webSettings.setSafeBrowsingEnabled(z);
|
|
}
|
|
}
|