.class public final Landroidx/credentials/CredentialManagerViewHandler; .super Ljava/lang/Object; .source "SourceFile" # static fields .field private static final TAG:Ljava/lang/String; = "ViewHandler" # direct methods .method public static final getPendingGetCredentialRequest(Landroid/view/View;)Landroidx/credentials/PendingGetCredentialRequest; .locals 1 const-string v0, "" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V sget v0, Landroidx/credentials/R$id;->androidx_credential_pendingCredentialRequest:I .line 63 invoke-virtual {p0, v0}, Landroid/view/View;->getTag(I)Ljava/lang/Object; move-result-object p0 instance-of v0, p0, Landroidx/credentials/PendingGetCredentialRequest; if-eqz v0, :cond_0 check-cast p0, Landroidx/credentials/PendingGetCredentialRequest; goto :goto_0 :cond_0 const/4 p0, 0x0 :goto_0 return-object p0 .end method .method public static synthetic getPendingGetCredentialRequest$annotations(Landroid/view/View;)V .locals 0 return-void .end method .method public static final setPendingGetCredentialRequest(Landroid/view/View;Landroidx/credentials/PendingGetCredentialRequest;)V .locals 3 const-string v0, "" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V sget v0, Landroidx/credentials/R$id;->androidx_credential_pendingCredentialRequest:I .line 65 invoke-virtual {p0, v0, p1}, Landroid/view/View;->setTag(ILjava/lang/Object;)V const/16 v0, 0x22 const/16 v1, 0x23 if-eqz p1, :cond_1 sget v2, Landroid/os/Build$VERSION;->SDK_INT:I if-ge v2, v1, :cond_0 if-ne v2, v0, :cond_3 .line 69 sget v0, Landroid/os/Build$VERSION;->PREVIEW_SDK_INT:I if-lez v0, :cond_3 .line 71 :cond_0 sget-object v0, Landroidx/credentials/Api35Impl;->INSTANCE:Landroidx/credentials/Api35Impl; invoke-virtual {p1}, Landroidx/credentials/PendingGetCredentialRequest;->getRequest()Landroidx/credentials/GetCredentialRequest; move-result-object v1 invoke-virtual {p1}, Landroidx/credentials/PendingGetCredentialRequest;->getCallback()Lkotlin/jvm/functions/Function1; move-result-object p1 invoke-virtual {v0, p0, v1, p1}, Landroidx/credentials/Api35Impl;->setPendingGetCredentialRequest(Landroid/view/View;Landroidx/credentials/GetCredentialRequest;Lkotlin/jvm/functions/Function1;)V goto :goto_0 :cond_1 sget p1, Landroid/os/Build$VERSION;->SDK_INT:I if-ge p1, v1, :cond_2 if-ne p1, v0, :cond_3 .line 76 sget p1, Landroid/os/Build$VERSION;->PREVIEW_SDK_INT:I if-lez p1, :cond_3 .line 78 :cond_2 sget-object p1, Landroidx/credentials/Api35Impl;->INSTANCE:Landroidx/credentials/Api35Impl; invoke-virtual {p1, p0}, Landroidx/credentials/Api35Impl;->clearPendingGetCredentialRequest(Landroid/view/View;)V :cond_3 :goto_0 return-void .end method