- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
53 lines
1.6 KiB
Java
53 lines
1.6 KiB
Java
package androidx.webkit.internal;
|
|
|
|
import android.content.Context;
|
|
import android.net.Uri;
|
|
import android.webkit.SafeBrowsingResponse;
|
|
import android.webkit.ValueCallback;
|
|
import android.webkit.WebView;
|
|
import androidx.annotation.DoNotInline;
|
|
import androidx.annotation.NonNull;
|
|
import androidx.annotation.Nullable;
|
|
import androidx.annotation.RequiresApi;
|
|
import java.util.List;
|
|
|
|
@RequiresApi(27)
|
|
/* loaded from: classes.dex */
|
|
public class ApiHelperForOMR1 {
|
|
private ApiHelperForOMR1() {
|
|
}
|
|
|
|
@DoNotInline
|
|
public static void showInterstitial(@NonNull SafeBrowsingResponse safeBrowsingResponse, boolean z) {
|
|
safeBrowsingResponse.showInterstitial(z);
|
|
}
|
|
|
|
@DoNotInline
|
|
public static void proceed(@NonNull SafeBrowsingResponse safeBrowsingResponse, boolean z) {
|
|
safeBrowsingResponse.proceed(z);
|
|
}
|
|
|
|
@DoNotInline
|
|
public static void backToSafety(@NonNull SafeBrowsingResponse safeBrowsingResponse, boolean z) {
|
|
safeBrowsingResponse.backToSafety(z);
|
|
}
|
|
|
|
@DoNotInline
|
|
public static void startSafeBrowsing(@NonNull Context context, @Nullable ValueCallback<Boolean> valueCallback) {
|
|
WebView.startSafeBrowsing(context, valueCallback);
|
|
}
|
|
|
|
@DoNotInline
|
|
public static void setSafeBrowsingWhitelist(@NonNull List<String> list, @Nullable ValueCallback<Boolean> valueCallback) {
|
|
WebView.setSafeBrowsingWhitelist(list, valueCallback);
|
|
}
|
|
|
|
@NonNull
|
|
@DoNotInline
|
|
public static Uri getSafeBrowsingPrivacyPolicyUrl() {
|
|
Uri safeBrowsingPrivacyPolicyUrl;
|
|
safeBrowsingPrivacyPolicyUrl = WebView.getSafeBrowsingPrivacyPolicyUrl();
|
|
return safeBrowsingPrivacyPolicyUrl;
|
|
}
|
|
}
|