- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
68 lines
2.8 KiB
Java
68 lines
2.8 KiB
Java
package androidx.credentials;
|
|
|
|
import android.os.Bundle;
|
|
import kotlin.jvm.internal.DefaultConstructorMarker;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class GetRestoreCredentialOption extends CredentialOption {
|
|
private static final String BUNDLE_KEY_GET_RESTORE_CREDENTIAL_REQUEST = "androidx.credentials.BUNDLE_KEY_GET_RESTORE_CREDENTIAL_REQUEST";
|
|
private static final Companion Companion = new Companion(null);
|
|
private final String requestJson;
|
|
|
|
public final String getRequestJson() {
|
|
return this.requestJson;
|
|
}
|
|
|
|
/* JADX WARN: Illegal instructions before constructor call */
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public GetRestoreCredentialOption(java.lang.String r10) {
|
|
/*
|
|
r9 = this;
|
|
java.lang.String r0 = "requestJson"
|
|
kotlin.jvm.internal.Intrinsics.checkNotNullParameter(r10, r0)
|
|
java.lang.String r2 = "androidx.credentials.TYPE_RESTORE_CREDENTIAL"
|
|
androidx.credentials.GetRestoreCredentialOption$Companion r0 = androidx.credentials.GetRestoreCredentialOption.Companion
|
|
android.os.Bundle r3 = androidx.credentials.GetRestoreCredentialOption.Companion.access$toRequestDataBundle(r0, r10)
|
|
android.os.Bundle r4 = new android.os.Bundle
|
|
r4.<init>()
|
|
r5 = 0
|
|
r6 = 0
|
|
java.util.Set r7 = kotlin.collections.SetsKt.emptySet()
|
|
r8 = 2000(0x7d0, float:2.803E-42)
|
|
r1 = r9
|
|
r1.<init>(r2, r3, r4, r5, r6, r7, r8)
|
|
r9.requestJson = r10
|
|
androidx.credentials.internal.RequestValidationHelper$Companion r0 = androidx.credentials.internal.RequestValidationHelper.Companion
|
|
boolean r10 = r0.isValidJSON(r10)
|
|
if (r10 == 0) goto L29
|
|
return
|
|
L29:
|
|
java.lang.IllegalArgumentException r10 = new java.lang.IllegalArgumentException
|
|
java.lang.String r0 = "requestJson must not be empty, and must be a valid JSON"
|
|
java.lang.String r0 = r0.toString()
|
|
r10.<init>(r0)
|
|
throw r10
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: androidx.credentials.GetRestoreCredentialOption.<init>(java.lang.String):void");
|
|
}
|
|
|
|
public static final class Companion {
|
|
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
|
|
this();
|
|
}
|
|
|
|
private Companion() {
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: private */
|
|
public final Bundle toRequestDataBundle(String str) {
|
|
Bundle bundle = new Bundle();
|
|
bundle.putString(GetRestoreCredentialOption.BUNDLE_KEY_GET_RESTORE_CREDENTIAL_REQUEST, str);
|
|
return bundle;
|
|
}
|
|
}
|
|
}
|