- 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
98 lines
4.0 KiB
Java
98 lines
4.0 KiB
Java
package com.google.android.gms.identitycredentials;
|
|
|
|
import android.os.Bundle;
|
|
import android.os.Parcel;
|
|
import android.os.Parcelable;
|
|
import androidx.annotation.NonNull;
|
|
import com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable;
|
|
import com.google.android.gms.common.internal.safeparcel.SafeParcelable;
|
|
import kotlin.jvm.internal.DefaultConstructorMarker;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
import kotlin.text.StringsKt__StringsJVMKt;
|
|
|
|
@SafeParcelable.Class(creator = "CredentialOptionCreator")
|
|
/* loaded from: classes2.dex */
|
|
public final class CredentialOption extends AbstractSafeParcelable {
|
|
|
|
@SafeParcelable.Field(getter = "getCandidateQueryData", id = 3)
|
|
private final Bundle candidateQueryData;
|
|
|
|
@SafeParcelable.Field(getter = "getCredentialRetrievalData", id = 2)
|
|
private final Bundle credentialRetrievalData;
|
|
|
|
@SafeParcelable.Field(defaultValue = "", getter = "getProtocolType", id = 6)
|
|
private final String protocolType;
|
|
|
|
@SafeParcelable.Field(getter = "getRequestMatcher", id = 4)
|
|
private final String requestMatcher;
|
|
|
|
@SafeParcelable.Field(defaultValue = "", getter = "getRequestType", id = 5)
|
|
private final String requestType;
|
|
|
|
@SafeParcelable.Field(defaultValue = "", getter = "getType", id = 1)
|
|
private final String type;
|
|
public static final Companion Companion = new Companion(null);
|
|
public static final Parcelable.Creator<CredentialOption> CREATOR = new CredentialOptionCreator();
|
|
|
|
public static final class Companion {
|
|
private Companion() {
|
|
}
|
|
|
|
public /* synthetic */ Companion(@NonNull DefaultConstructorMarker defaultConstructorMarker) {
|
|
this();
|
|
}
|
|
}
|
|
|
|
@SafeParcelable.Constructor
|
|
public CredentialOption(@NonNull @SafeParcelable.Param(id = 1) String type, @NonNull @SafeParcelable.Param(id = 2) Bundle credentialRetrievalData, @NonNull @SafeParcelable.Param(id = 3) Bundle candidateQueryData, @NonNull @SafeParcelable.Param(id = 4) String requestMatcher, @NonNull @SafeParcelable.Param(id = 5) String requestType, @NonNull @SafeParcelable.Param(id = 6) String protocolType) {
|
|
Intrinsics.checkNotNullParameter(type, "type");
|
|
Intrinsics.checkNotNullParameter(credentialRetrievalData, "credentialRetrievalData");
|
|
Intrinsics.checkNotNullParameter(candidateQueryData, "candidateQueryData");
|
|
Intrinsics.checkNotNullParameter(requestMatcher, "requestMatcher");
|
|
Intrinsics.checkNotNullParameter(requestType, "requestType");
|
|
Intrinsics.checkNotNullParameter(protocolType, "protocolType");
|
|
this.type = type;
|
|
this.credentialRetrievalData = credentialRetrievalData;
|
|
this.candidateQueryData = candidateQueryData;
|
|
this.requestMatcher = requestMatcher;
|
|
this.requestType = requestType;
|
|
this.protocolType = protocolType;
|
|
boolean z = (StringsKt__StringsJVMKt.isBlank(requestType) || StringsKt__StringsJVMKt.isBlank(protocolType)) ? false : true;
|
|
boolean z2 = !StringsKt__StringsJVMKt.isBlank(type) && requestType.length() == 0 && protocolType.length() == 0;
|
|
if (z || z2) {
|
|
return;
|
|
}
|
|
throw new IllegalArgumentException("Either type: " + type + ", or requestType: " + requestType + " and protocolType: " + protocolType + " must be specified, but at least one contains an invalid blank value.");
|
|
}
|
|
|
|
public final Bundle getCandidateQueryData() {
|
|
return this.candidateQueryData;
|
|
}
|
|
|
|
public final Bundle getCredentialRetrievalData() {
|
|
return this.credentialRetrievalData;
|
|
}
|
|
|
|
public final String getProtocolType() {
|
|
return this.protocolType;
|
|
}
|
|
|
|
public final String getRequestMatcher() {
|
|
return this.requestMatcher;
|
|
}
|
|
|
|
public final String getRequestType() {
|
|
return this.requestType;
|
|
}
|
|
|
|
public final String getType() {
|
|
return this.type;
|
|
}
|
|
|
|
@Override // android.os.Parcelable
|
|
public void writeToParcel(@NonNull Parcel dest, int i) {
|
|
Intrinsics.checkNotNullParameter(dest, "dest");
|
|
CredentialOptionCreator.writeToParcel(this, dest, i);
|
|
}
|
|
}
|