Files
rr3-apk/decompiled-community/sources/androidx/credentials/exceptions/publickeycredential/GetPublicKeyCredentialException.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

72 lines
3.2 KiB
Java

package androidx.credentials.exceptions.publickeycredential;
import androidx.annotation.RestrictTo;
import androidx.credentials.exceptions.GetCredentialCustomException;
import androidx.credentials.exceptions.GetCredentialException;
import androidx.credentials.internal.FrameworkClassParsingException;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.internal.SourceDebugExtension;
import kotlin.text.StringsKt__StringsJVMKt;
@SourceDebugExtension({"SMAP\nGetPublicKeyCredentialException.kt\nKotlin\n*S Kotlin\n*F\n+ 1 GetPublicKeyCredentialException.kt\nandroidx/credentials/exceptions/publickeycredential/GetPublicKeyCredentialException\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,67:1\n1#2:68\n*E\n"})
/* loaded from: classes.dex */
public class GetPublicKeyCredentialException extends GetCredentialException {
public static final Companion Companion = new Companion(null);
private final String type;
/* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */
/* JADX WARN: Multi-variable type inference failed */
public GetPublicKeyCredentialException(String type) {
this(type, null, 2, 0 == true ? 1 : 0);
Intrinsics.checkNotNullParameter(type, "type");
}
@RestrictTo({RestrictTo.Scope.LIBRARY})
public static final GetCredentialException createFrom(String str, String str2) {
return Companion.createFrom(str, str2);
}
@Override // androidx.credentials.exceptions.GetCredentialException
@RestrictTo({RestrictTo.Scope.LIBRARY_GROUP})
public String getType() {
return this.type;
}
public /* synthetic */ GetPublicKeyCredentialException(String str, CharSequence charSequence, int i, DefaultConstructorMarker defaultConstructorMarker) {
this(str, (i & 2) != 0 ? null : charSequence);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public GetPublicKeyCredentialException(String type, CharSequence charSequence) {
super(type, charSequence);
Intrinsics.checkNotNullParameter(type, "type");
this.type = type;
if (getType().length() <= 0) {
throw new IllegalArgumentException("type must not be empty".toString());
}
}
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
@RestrictTo({RestrictTo.Scope.LIBRARY})
public final GetCredentialException createFrom(String type, String str) {
Intrinsics.checkNotNullParameter(type, "type");
try {
if (StringsKt__StringsJVMKt.startsWith$default(type, GetPublicKeyCredentialDomException.TYPE_GET_PUBLIC_KEY_CREDENTIAL_DOM_EXCEPTION, false, 2, null)) {
return GetPublicKeyCredentialDomException.Companion.createFrom(type, str);
}
throw new FrameworkClassParsingException();
} catch (FrameworkClassParsingException unused) {
return new GetCredentialCustomException(type, str);
}
}
}
}