829 lines
19 KiB
Smali
829 lines
19 KiB
Smali
.class public Landroidx/biometric/k;
|
|
.super Landroidx/fragment/app/d;
|
|
.source "FingerprintDialogFragment.java"
|
|
|
|
|
|
# annotations
|
|
.annotation build Landroidx/annotation/RestrictTo;
|
|
value = {
|
|
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY:Landroidx/annotation/RestrictTo$Scope;
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Landroidx/biometric/k$e;,
|
|
Landroidx/biometric/k$f;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final h:Ljava/lang/String; = "FingerprintFragment"
|
|
|
|
.field public static final i:I = 0x0
|
|
|
|
.field public static final j:I = 0x1
|
|
|
|
.field public static final k:I = 0x2
|
|
|
|
.field public static final l:I = 0x3
|
|
|
|
.field public static final p:I = 0x7d0
|
|
|
|
|
|
# instance fields
|
|
.field public final a:Landroid/os/Handler;
|
|
|
|
.field public final b:Ljava/lang/Runnable;
|
|
|
|
.field public c:Landroidx/biometric/f;
|
|
|
|
.field public d:I
|
|
|
|
.field public e:I
|
|
|
|
.field public f:Landroid/widget/ImageView;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public g:Landroid/widget/TextView;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 2
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Landroidx/fragment/app/d;-><init>()V
|
|
|
|
.line 2
|
|
new-instance v0, Landroid/os/Handler;
|
|
|
|
.line 3
|
|
invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-direct {v0, v1}, Landroid/os/Handler;-><init>(Landroid/os/Looper;)V
|
|
|
|
iput-object v0, p0, Landroidx/biometric/k;->a:Landroid/os/Handler;
|
|
|
|
.line 4
|
|
new-instance v0, Landroidx/biometric/k$a;
|
|
|
|
invoke-direct {v0, p0}, Landroidx/biometric/k$a;-><init>(Landroidx/biometric/k;)V
|
|
|
|
iput-object v0, p0, Landroidx/biometric/k;->b:Ljava/lang/Runnable;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static k()Landroidx/biometric/k;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
new-instance v0, Landroidx/biometric/k;
|
|
|
|
invoke-direct {v0}, Landroidx/biometric/k;-><init>()V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final h()V
|
|
.locals 2
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;
|
|
|
|
move-result-object v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 2
|
|
:cond_0
|
|
new-instance v1, Landroidx/lifecycle/ViewModelProvider;
|
|
|
|
invoke-direct {v1, v0}, Landroidx/lifecycle/ViewModelProvider;-><init>(Landroidx/lifecycle/ViewModelStoreOwner;)V
|
|
|
|
const-class v0, Landroidx/biometric/f;
|
|
|
|
invoke-virtual {v1, v0}, Landroidx/lifecycle/ViewModelProvider;->get(Ljava/lang/Class;)Landroidx/lifecycle/ViewModel;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroidx/biometric/f;
|
|
|
|
iput-object v0, p0, Landroidx/biometric/k;->c:Landroidx/biometric/f;
|
|
|
|
.line 3
|
|
invoke-virtual {v0}, Landroidx/biometric/f;->n()Landroidx/lifecycle/LiveData;
|
|
|
|
move-result-object v0
|
|
|
|
new-instance v1, Landroidx/biometric/k$c;
|
|
|
|
invoke-direct {v1, p0}, Landroidx/biometric/k$c;-><init>(Landroidx/biometric/k;)V
|
|
|
|
invoke-virtual {v0, p0, v1}, Landroidx/lifecycle/LiveData;->observe(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Observer;)V
|
|
|
|
.line 4
|
|
iget-object v0, p0, Landroidx/biometric/k;->c:Landroidx/biometric/f;
|
|
|
|
invoke-virtual {v0}, Landroidx/biometric/f;->l()Landroidx/lifecycle/LiveData;
|
|
|
|
move-result-object v0
|
|
|
|
new-instance v1, Landroidx/biometric/k$d;
|
|
|
|
invoke-direct {v1, p0}, Landroidx/biometric/k$d;-><init>(Landroidx/biometric/k;)V
|
|
|
|
invoke-virtual {v0, p0, v1}, Landroidx/lifecycle/LiveData;->observe(Landroidx/lifecycle/LifecycleOwner;Landroidx/lifecycle/Observer;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final i(II)Landroid/graphics/drawable/Drawable;
|
|
.locals 4
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const-string p1, "FingerprintFragment"
|
|
|
|
const-string p2, "Unable to get asset. Context is null."
|
|
|
|
.line 2
|
|
invoke-static {p1, p2}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
return-object v1
|
|
|
|
:cond_0
|
|
const/4 v2, 0x1
|
|
|
|
if-nez p1, :cond_1
|
|
|
|
if-ne p2, v2, :cond_1
|
|
|
|
.line 3
|
|
sget p1, Landroidx/biometric/R$drawable;->fingerprint_dialog_fp_icon:I
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
const/4 v3, 0x2
|
|
|
|
if-ne p1, v2, :cond_2
|
|
|
|
if-ne p2, v3, :cond_2
|
|
|
|
.line 4
|
|
sget p1, Landroidx/biometric/R$drawable;->fingerprint_dialog_error:I
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
if-ne p1, v3, :cond_3
|
|
|
|
if-ne p2, v2, :cond_3
|
|
|
|
.line 5
|
|
sget p1, Landroidx/biometric/R$drawable;->fingerprint_dialog_fp_icon:I
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
if-ne p1, v2, :cond_4
|
|
|
|
const/4 p1, 0x3
|
|
|
|
if-ne p2, p1, :cond_4
|
|
|
|
.line 6
|
|
sget p1, Landroidx/biometric/R$drawable;->fingerprint_dialog_fp_icon:I
|
|
|
|
.line 7
|
|
:goto_0
|
|
invoke-static {v0, p1}, Landroidx/core/content/d;->i(Landroid/content/Context;I)Landroid/graphics/drawable/Drawable;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
|
|
:cond_4
|
|
return-object v1
|
|
.end method
|
|
|
|
.method public final j(I)I
|
|
.locals 5
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
.line 2
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;
|
|
|
|
move-result-object v1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
.line 3
|
|
:cond_0
|
|
new-instance v3, Landroid/util/TypedValue;
|
|
|
|
invoke-direct {v3}, Landroid/util/TypedValue;-><init>()V
|
|
|
|
.line 4
|
|
invoke-virtual {v0}, Landroid/content/Context;->getTheme()Landroid/content/res/Resources$Theme;
|
|
|
|
move-result-object v0
|
|
|
|
const/4 v4, 0x1
|
|
|
|
.line 5
|
|
invoke-virtual {v0, p1, v3, v4}, Landroid/content/res/Resources$Theme;->resolveAttribute(ILandroid/util/TypedValue;Z)Z
|
|
|
|
.line 6
|
|
iget v0, v3, Landroid/util/TypedValue;->data:I
|
|
|
|
new-array v3, v4, [I
|
|
|
|
aput p1, v3, v2
|
|
|
|
invoke-virtual {v1, v0, v3}, Landroid/app/Activity;->obtainStyledAttributes(I[I)Landroid/content/res/TypedArray;
|
|
|
|
move-result-object p1
|
|
|
|
.line 7
|
|
invoke-virtual {p1, v2, v2}, Landroid/content/res/TypedArray;->getColor(II)I
|
|
|
|
move-result v0
|
|
|
|
.line 8
|
|
invoke-virtual {p1}, Landroid/content/res/TypedArray;->recycle()V
|
|
|
|
return v0
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const-string p1, "FingerprintFragment"
|
|
|
|
const-string v0, "Unable to get themed color. Context or activity is null."
|
|
|
|
.line 9
|
|
invoke-static {p1, v0}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
return v2
|
|
.end method
|
|
|
|
.method public l()V
|
|
.locals 3
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const-string v0, "FingerprintFragment"
|
|
|
|
const-string v1, "Not resetting the dialog. Context is null."
|
|
|
|
.line 2
|
|
invoke-static {v0, v1}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
return-void
|
|
|
|
.line 3
|
|
:cond_0
|
|
iget-object v1, p0, Landroidx/biometric/k;->c:Landroidx/biometric/f;
|
|
|
|
const/4 v2, 0x1
|
|
|
|
invoke-virtual {v1, v2}, Landroidx/biometric/f;->T(I)V
|
|
|
|
.line 4
|
|
iget-object v1, p0, Landroidx/biometric/k;->c:Landroidx/biometric/f;
|
|
|
|
sget v2, Landroidx/biometric/R$string;->fingerprint_dialog_touch_sensor:I
|
|
|
|
.line 5
|
|
invoke-virtual {v0, v2}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
.line 6
|
|
invoke-virtual {v1, v0}, Landroidx/biometric/f;->R(Ljava/lang/CharSequence;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final m(II)Z
|
|
.locals 3
|
|
|
|
const/4 v0, 0x0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
if-ne p2, v1, :cond_0
|
|
|
|
return v0
|
|
|
|
:cond_0
|
|
const/4 v2, 0x2
|
|
|
|
if-ne p1, v1, :cond_1
|
|
|
|
if-ne p2, v2, :cond_1
|
|
|
|
return v1
|
|
|
|
:cond_1
|
|
if-ne p1, v2, :cond_2
|
|
|
|
if-ne p2, v1, :cond_2
|
|
|
|
return v1
|
|
|
|
:cond_2
|
|
return v0
|
|
.end method
|
|
|
|
.method public n(I)V
|
|
.locals 3
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/biometric/k;->f:Landroid/widget/ImageView;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 2
|
|
:cond_0
|
|
iget-object v0, p0, Landroidx/biometric/k;->c:Landroidx/biometric/f;
|
|
|
|
invoke-virtual {v0}, Landroidx/biometric/f;->m()I
|
|
|
|
move-result v0
|
|
|
|
.line 3
|
|
invoke-virtual {p0, v0, p1}, Landroidx/biometric/k;->i(II)Landroid/graphics/drawable/Drawable;
|
|
|
|
move-result-object v1
|
|
|
|
if-nez v1, :cond_1
|
|
|
|
return-void
|
|
|
|
.line 4
|
|
:cond_1
|
|
iget-object v2, p0, Landroidx/biometric/k;->f:Landroid/widget/ImageView;
|
|
|
|
invoke-virtual {v2, v1}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 5
|
|
invoke-virtual {p0, v0, p1}, Landroidx/biometric/k;->m(II)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
.line 6
|
|
invoke-static {v1}, Landroidx/biometric/k$e;->a(Landroid/graphics/drawable/Drawable;)V
|
|
|
|
.line 7
|
|
:cond_2
|
|
iget-object v0, p0, Landroidx/biometric/k;->c:Landroidx/biometric/f;
|
|
|
|
invoke-virtual {v0, p1}, Landroidx/biometric/f;->S(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public o(I)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/biometric/k;->g:Landroid/widget/TextView;
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
const/4 v1, 0x2
|
|
|
|
if-ne p1, v1, :cond_0
|
|
|
|
const/4 p1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
:goto_0
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 2
|
|
iget p1, p0, Landroidx/biometric/k;->d:I
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
iget p1, p0, Landroidx/biometric/k;->e:I
|
|
|
|
:goto_1
|
|
invoke-virtual {v0, p1}, Landroid/widget/TextView;->setTextColor(I)V
|
|
|
|
:cond_2
|
|
return-void
|
|
.end method
|
|
|
|
.method public onCancel(Landroid/content/DialogInterface;)V
|
|
.locals 1
|
|
.param p1 # Landroid/content/DialogInterface;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
invoke-super {p0, p1}, Landroidx/fragment/app/d;->onCancel(Landroid/content/DialogInterface;)V
|
|
|
|
.line 2
|
|
iget-object p1, p0, Landroidx/biometric/k;->c:Landroidx/biometric/f;
|
|
|
|
const/4 v0, 0x1
|
|
|
|
invoke-virtual {p1, v0}, Landroidx/biometric/f;->P(Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onCreate(Landroid/os/Bundle;)V
|
|
.locals 1
|
|
.param p1 # Landroid/os/Bundle;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
invoke-super {p0, p1}, Landroidx/fragment/app/d;->onCreate(Landroid/os/Bundle;)V
|
|
|
|
.line 2
|
|
invoke-virtual {p0}, Landroidx/biometric/k;->h()V
|
|
|
|
.line 3
|
|
sget p1, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v0, 0x1a
|
|
|
|
if-lt p1, v0, :cond_0
|
|
|
|
.line 4
|
|
invoke-static {}, Landroidx/biometric/k$f;->a()I
|
|
|
|
move-result p1
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/biometric/k;->j(I)I
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Landroidx/biometric/k;->d:I
|
|
|
|
goto :goto_1
|
|
|
|
.line 5
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object p1
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 6
|
|
sget v0, Landroidx/biometric/R$color;->biometric_error_color:I
|
|
|
|
invoke-static {p1, v0}, Landroidx/core/content/d;->f(Landroid/content/Context;I)I
|
|
|
|
move-result p1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
const/4 p1, 0x0
|
|
|
|
.line 7
|
|
:goto_0
|
|
iput p1, p0, Landroidx/biometric/k;->d:I
|
|
|
|
:goto_1
|
|
const p1, 0x1010038
|
|
|
|
.line 8
|
|
invoke-virtual {p0, p1}, Landroidx/biometric/k;->j(I)I
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Landroidx/biometric/k;->e:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onCreateDialog(Landroid/os/Bundle;)Landroid/app/Dialog;
|
|
.locals 6
|
|
.param p1 # Landroid/os/Bundle;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
new-instance p1, Landroidx/appcompat/app/c$a;
|
|
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->requireContext()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-direct {p1, v0}, Landroidx/appcompat/app/c$a;-><init>(Landroid/content/Context;)V
|
|
|
|
.line 2
|
|
iget-object v0, p0, Landroidx/biometric/k;->c:Landroidx/biometric/f;
|
|
|
|
invoke-virtual {v0}, Landroidx/biometric/f;->s()Ljava/lang/CharSequence;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p1, v0}, Landroidx/appcompat/app/c$a;->setTitle(Ljava/lang/CharSequence;)Landroidx/appcompat/app/c$a;
|
|
|
|
.line 3
|
|
invoke-virtual {p1}, Landroidx/appcompat/app/c$a;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;
|
|
|
|
move-result-object v0
|
|
|
|
sget v1, Landroidx/biometric/R$layout;->fingerprint_dialog_layout:I
|
|
|
|
const/4 v2, 0x0
|
|
|
|
.line 4
|
|
invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
.line 5
|
|
sget v1, Landroidx/biometric/R$id;->fingerprint_subtitle:I
|
|
|
|
invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Landroid/widget/TextView;
|
|
|
|
const/16 v2, 0x8
|
|
|
|
const/4 v3, 0x0
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
.line 6
|
|
iget-object v4, p0, Landroidx/biometric/k;->c:Landroidx/biometric/f;
|
|
|
|
invoke-virtual {v4}, Landroidx/biometric/f;->r()Ljava/lang/CharSequence;
|
|
|
|
move-result-object v4
|
|
|
|
.line 7
|
|
invoke-static {v4}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v5
|
|
|
|
if-eqz v5, :cond_0
|
|
|
|
.line 8
|
|
invoke-virtual {v1, v2}, Landroid/widget/TextView;->setVisibility(I)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 9
|
|
:cond_0
|
|
invoke-virtual {v1, v3}, Landroid/widget/TextView;->setVisibility(I)V
|
|
|
|
.line 10
|
|
invoke-virtual {v1, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
|
|
|
.line 11
|
|
:cond_1
|
|
:goto_0
|
|
sget v1, Landroidx/biometric/R$id;->fingerprint_description:I
|
|
|
|
invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Landroid/widget/TextView;
|
|
|
|
if-eqz v1, :cond_3
|
|
|
|
.line 12
|
|
iget-object v4, p0, Landroidx/biometric/k;->c:Landroidx/biometric/f;
|
|
|
|
invoke-virtual {v4}, Landroidx/biometric/f;->k()Ljava/lang/CharSequence;
|
|
|
|
move-result-object v4
|
|
|
|
.line 13
|
|
invoke-static {v4}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v5
|
|
|
|
if-eqz v5, :cond_2
|
|
|
|
.line 14
|
|
invoke-virtual {v1, v2}, Landroid/widget/TextView;->setVisibility(I)V
|
|
|
|
goto :goto_1
|
|
|
|
.line 15
|
|
:cond_2
|
|
invoke-virtual {v1, v3}, Landroid/widget/TextView;->setVisibility(I)V
|
|
|
|
.line 16
|
|
invoke-virtual {v1, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
|
|
|
.line 17
|
|
:cond_3
|
|
:goto_1
|
|
sget v1, Landroidx/biometric/R$id;->fingerprint_icon:I
|
|
|
|
invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Landroid/widget/ImageView;
|
|
|
|
iput-object v1, p0, Landroidx/biometric/k;->f:Landroid/widget/ImageView;
|
|
|
|
.line 18
|
|
sget v1, Landroidx/biometric/R$id;->fingerprint_error:I
|
|
|
|
invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Landroid/widget/TextView;
|
|
|
|
iput-object v1, p0, Landroidx/biometric/k;->g:Landroid/widget/TextView;
|
|
|
|
.line 19
|
|
iget-object v1, p0, Landroidx/biometric/k;->c:Landroidx/biometric/f;
|
|
|
|
invoke-virtual {v1}, Landroidx/biometric/f;->a()I
|
|
|
|
move-result v1
|
|
|
|
invoke-static {v1}, Landroidx/biometric/b;->c(I)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_4
|
|
|
|
.line 20
|
|
sget v1, Landroidx/biometric/R$string;->confirm_device_credential_password:I
|
|
|
|
invoke-virtual {p0, v1}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
goto :goto_2
|
|
|
|
.line 21
|
|
:cond_4
|
|
iget-object v1, p0, Landroidx/biometric/k;->c:Landroidx/biometric/f;
|
|
|
|
invoke-virtual {v1}, Landroidx/biometric/f;->q()Ljava/lang/CharSequence;
|
|
|
|
move-result-object v1
|
|
|
|
.line 22
|
|
:goto_2
|
|
new-instance v2, Landroidx/biometric/k$b;
|
|
|
|
invoke-direct {v2, p0}, Landroidx/biometric/k$b;-><init>(Landroidx/biometric/k;)V
|
|
|
|
invoke-virtual {p1, v1, v2}, Landroidx/appcompat/app/c$a;->setNegativeButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroidx/appcompat/app/c$a;
|
|
|
|
.line 23
|
|
invoke-virtual {p1, v0}, Landroidx/appcompat/app/c$a;->setView(Landroid/view/View;)Landroidx/appcompat/app/c$a;
|
|
|
|
.line 24
|
|
invoke-virtual {p1}, Landroidx/appcompat/app/c$a;->create()Landroidx/appcompat/app/c;
|
|
|
|
move-result-object p1
|
|
|
|
.line 25
|
|
invoke-virtual {p1, v3}, Landroid/app/Dialog;->setCanceledOnTouchOutside(Z)V
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public onPause()V
|
|
.locals 2
|
|
|
|
.line 1
|
|
invoke-super {p0}, Landroidx/fragment/app/Fragment;->onPause()V
|
|
|
|
.line 2
|
|
iget-object v0, p0, Landroidx/biometric/k;->a:Landroid/os/Handler;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-virtual {v0, v1}, Landroid/os/Handler;->removeCallbacksAndMessages(Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onResume()V
|
|
.locals 2
|
|
|
|
.line 1
|
|
invoke-super {p0}, Landroidx/fragment/app/Fragment;->onResume()V
|
|
|
|
.line 2
|
|
iget-object v0, p0, Landroidx/biometric/k;->c:Landroidx/biometric/f;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-virtual {v0, v1}, Landroidx/biometric/f;->S(I)V
|
|
|
|
.line 3
|
|
iget-object v0, p0, Landroidx/biometric/k;->c:Landroidx/biometric/f;
|
|
|
|
const/4 v1, 0x1
|
|
|
|
invoke-virtual {v0, v1}, Landroidx/biometric/f;->T(I)V
|
|
|
|
.line 4
|
|
iget-object v0, p0, Landroidx/biometric/k;->c:Landroidx/biometric/f;
|
|
|
|
sget v1, Landroidx/biometric/R$string;->fingerprint_dialog_touch_sensor:I
|
|
|
|
.line 5
|
|
invoke-virtual {p0, v1}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
.line 6
|
|
invoke-virtual {v0, v1}, Landroidx/biometric/f;->R(Ljava/lang/CharSequence;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public p(Ljava/lang/CharSequence;)V
|
|
.locals 1
|
|
.param p1 # Ljava/lang/CharSequence;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
iget-object v0, p0, Landroidx/biometric/k;->g:Landroid/widget/TextView;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 2
|
|
invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|