62 lines
1.8 KiB
Java
62 lines
1.8 KiB
Java
|
package o;
|
||
|
|
||
|
import android.os.Build;
|
||
|
import android.webkit.WebResourceError;
|
||
|
import java.lang.reflect.InvocationHandler;
|
||
|
import java.lang.reflect.Proxy;
|
||
|
import o.Wwj;
|
||
|
import org.chromium.support_lib_boundary.WebResourceErrorBoundaryInterface;
|
||
|
|
||
|
/* renamed from: o.fIJ, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes.dex */
|
||
|
public final class C12820fIJ extends PFg {
|
||
|
private WebResourceError a;
|
||
|
private WebResourceErrorBoundaryInterface e;
|
||
|
|
||
|
public C12820fIJ(InvocationHandler invocationHandler) {
|
||
|
this.e = (WebResourceErrorBoundaryInterface) C15269glx.d(WebResourceErrorBoundaryInterface.class, invocationHandler);
|
||
|
}
|
||
|
|
||
|
public C12820fIJ(WebResourceError webResourceError) {
|
||
|
this.a = webResourceError;
|
||
|
}
|
||
|
|
||
|
@Override // o.PFg
|
||
|
public final int c() {
|
||
|
OrR a = OrR.a("WEB_RESOURCE_ERROR_GET_CODE");
|
||
|
if (Build.VERSION.SDK_INT >= a.mOsVersion) {
|
||
|
return Cr_().getErrorCode();
|
||
|
}
|
||
|
if (a.e()) {
|
||
|
return a().getErrorCode();
|
||
|
}
|
||
|
throw OrR.c();
|
||
|
}
|
||
|
|
||
|
@Override // o.PFg
|
||
|
public final CharSequence e() {
|
||
|
OrR a = OrR.a("WEB_RESOURCE_ERROR_GET_DESCRIPTION");
|
||
|
if (Build.VERSION.SDK_INT >= a.mOsVersion) {
|
||
|
return Cr_().getDescription();
|
||
|
}
|
||
|
if (a.e()) {
|
||
|
return a().getDescription();
|
||
|
}
|
||
|
throw OrR.c();
|
||
|
}
|
||
|
|
||
|
private WebResourceErrorBoundaryInterface a() {
|
||
|
if (this.e == null) {
|
||
|
this.e = (WebResourceErrorBoundaryInterface) C15269glx.d(WebResourceErrorBoundaryInterface.class, Wwj.IeS.a.Cv_(this.a));
|
||
|
}
|
||
|
return this.e;
|
||
|
}
|
||
|
|
||
|
private WebResourceError Cr_() {
|
||
|
if (this.a == null) {
|
||
|
this.a = Wwj.IeS.a.Cu_(Proxy.getInvocationHandler(this.e));
|
||
|
}
|
||
|
return this.a;
|
||
|
}
|
||
|
}
|