- 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
78 lines
3.2 KiB
Java
78 lines
3.2 KiB
Java
package androidx.credentials;
|
|
|
|
import android.os.Bundle;
|
|
import androidx.credentials.internal.FrameworkClassParsingException;
|
|
import kotlin.jvm.internal.DefaultConstructorMarker;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
import kotlin.jvm.internal.SourceDebugExtension;
|
|
|
|
@SourceDebugExtension({"SMAP\nPasswordCredential.kt\nKotlin\n*S Kotlin\n*F\n+ 1 PasswordCredential.kt\nandroidx/credentials/PasswordCredential\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,78:1\n1#2:79\n*E\n"})
|
|
/* loaded from: classes.dex */
|
|
public final class PasswordCredential extends Credential {
|
|
public static final String BUNDLE_KEY_ID = "androidx.credentials.BUNDLE_KEY_ID";
|
|
public static final String BUNDLE_KEY_PASSWORD = "androidx.credentials.BUNDLE_KEY_PASSWORD";
|
|
public static final Companion Companion = new Companion(null);
|
|
public static final String TYPE_PASSWORD_CREDENTIAL = "android.credentials.TYPE_PASSWORD_CREDENTIAL";
|
|
private final String id;
|
|
private final String password;
|
|
|
|
public /* synthetic */ PasswordCredential(String str, String str2, Bundle bundle, DefaultConstructorMarker defaultConstructorMarker) {
|
|
this(str, str2, bundle);
|
|
}
|
|
|
|
public final String getId() {
|
|
return this.id;
|
|
}
|
|
|
|
public final String getPassword() {
|
|
return this.password;
|
|
}
|
|
|
|
private PasswordCredential(String str, String str2, Bundle bundle) {
|
|
super(TYPE_PASSWORD_CREDENTIAL, bundle);
|
|
this.id = str;
|
|
this.password = str2;
|
|
if (str2.length() <= 0) {
|
|
throw new IllegalArgumentException("password should not be empty".toString());
|
|
}
|
|
}
|
|
|
|
/* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */
|
|
public PasswordCredential(String id, String password) {
|
|
this(id, password, Companion.toBundle$credentials_release(id, password));
|
|
Intrinsics.checkNotNullParameter(id, "id");
|
|
Intrinsics.checkNotNullParameter(password, "password");
|
|
}
|
|
|
|
public static final class Companion {
|
|
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
|
|
this();
|
|
}
|
|
|
|
private Companion() {
|
|
}
|
|
|
|
public final Bundle toBundle$credentials_release(String id, String password) {
|
|
Intrinsics.checkNotNullParameter(id, "id");
|
|
Intrinsics.checkNotNullParameter(password, "password");
|
|
Bundle bundle = new Bundle();
|
|
bundle.putString("androidx.credentials.BUNDLE_KEY_ID", id);
|
|
bundle.putString("androidx.credentials.BUNDLE_KEY_PASSWORD", password);
|
|
return bundle;
|
|
}
|
|
|
|
public final PasswordCredential createFrom$credentials_release(Bundle data) {
|
|
Intrinsics.checkNotNullParameter(data, "data");
|
|
try {
|
|
String string = data.getString("androidx.credentials.BUNDLE_KEY_ID");
|
|
String string2 = data.getString("androidx.credentials.BUNDLE_KEY_PASSWORD");
|
|
Intrinsics.checkNotNull(string);
|
|
Intrinsics.checkNotNull(string2);
|
|
return new PasswordCredential(string, string2, data, null);
|
|
} catch (Exception unused) {
|
|
throw new FrameworkClassParsingException();
|
|
}
|
|
}
|
|
}
|
|
}
|