mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-13 09:27:16 +01:00
49 lines
2.8 KiB
Java
49 lines
2.8 KiB
Java
package androidx.credentials;
|
|
|
|
import android.os.Build;
|
|
import android.view.View;
|
|
import com.dee.app.contacts.common.constants.Constants;
|
|
import kotlin.Metadata;
|
|
import kotlin.jvm.JvmName;
|
|
import org.jetbrains.annotations.NotNull;
|
|
import org.jetbrains.annotations.Nullable;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
@Metadata(d1 = {"\u0000\u0016\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0007\"\u000e\u0010\u0000\u001a\u00020\u0001X\u0082T¢\u0006\u0002\n\u0000\"2\u0010\u0004\u001a\u0004\u0018\u00010\u0003*\u00020\u00052\b\u0010\u0002\u001a\u0004\u0018\u00010\u00038F@FX\u0086\u000e¢\u0006\u0012\u0012\u0004\b\u0006\u0010\u0007\u001a\u0004\b\b\u0010\t\"\u0004\b\n\u0010\u000b¨\u0006\f"}, d2 = {Constants.LOG_TAG, "", "value", "Landroidx/credentials/PendingGetCredentialRequest;", "pendingGetCredentialRequest", "Landroid/view/View;", "getPendingGetCredentialRequest$annotations", "(Landroid/view/View;)V", "getPendingGetCredentialRequest", "(Landroid/view/View;)Landroidx/credentials/PendingGetCredentialRequest;", "setPendingGetCredentialRequest", "(Landroid/view/View;Landroidx/credentials/PendingGetCredentialRequest;)V", "credentials_release"}, k = 2, mv = {1, 8, 0}, xi = 48)
|
|
@JvmName(name = "CredentialManagerViewHandler")
|
|
/* loaded from: classes13.dex */
|
|
public final class CredentialManagerViewHandler {
|
|
|
|
@NotNull
|
|
private static final String TAG = "ViewHandler";
|
|
|
|
@Nullable
|
|
public static final PendingGetCredentialRequest getPendingGetCredentialRequest(@NotNull View view) {
|
|
view.getClass();
|
|
Object tag = view.getTag(R.id.androidx_credential_pendingCredentialRequest);
|
|
if (tag instanceof PendingGetCredentialRequest) {
|
|
return (PendingGetCredentialRequest) tag;
|
|
}
|
|
return null;
|
|
}
|
|
|
|
public static final void setPendingGetCredentialRequest(@NotNull View view, @Nullable PendingGetCredentialRequest pendingGetCredentialRequest) {
|
|
view.getClass();
|
|
view.setTag(R.id.androidx_credential_pendingCredentialRequest, pendingGetCredentialRequest);
|
|
if (pendingGetCredentialRequest != null) {
|
|
int i = Build.VERSION.SDK_INT;
|
|
if (i >= 35 || (i == 34 && Build.VERSION.PREVIEW_SDK_INT > 0)) {
|
|
Api35Impl.INSTANCE.setPendingGetCredentialRequest(view, pendingGetCredentialRequest.getRequest(), pendingGetCredentialRequest.getCallback());
|
|
return;
|
|
}
|
|
return;
|
|
}
|
|
int i2 = Build.VERSION.SDK_INT;
|
|
if (i2 >= 35 || (i2 == 34 && Build.VERSION.PREVIEW_SDK_INT > 0)) {
|
|
Api35Impl.INSTANCE.clearPendingGetCredentialRequest(view);
|
|
}
|
|
}
|
|
|
|
public static /* synthetic */ void getPendingGetCredentialRequest$annotations(View view) {
|
|
}
|
|
}
|