2020-11-12 02:11:44 +00:00
|
|
|
.class public final Landroidx/appcompat/app/AlertController$ButtonHandler;
|
|
|
|
.super Landroid/os/Handler;
|
|
|
|
.source "AlertController.java"
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
|
|
value = Landroidx/appcompat/app/AlertController;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x19
|
|
|
|
name = "ButtonHandler"
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# static fields
|
2020-11-16 01:00:50 +00:00
|
|
|
.field public static final MSG_DISMISS_DIALOG:I = 0x1
|
2020-11-12 02:11:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2020-11-16 01:00:50 +00:00
|
|
|
.field public mDialog:Ljava/lang/ref/WeakReference;
|
2020-11-12 02:11:44 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/lang/ref/WeakReference<",
|
|
|
|
"Landroid/content/DialogInterface;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(Landroid/content/DialogInterface;)V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
invoke-direct {p0}, Landroid/os/Handler;-><init>()V
|
|
|
|
|
|
|
|
new-instance v0, Ljava/lang/ref/WeakReference;
|
|
|
|
|
|
|
|
invoke-direct {v0, p1}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V
|
|
|
|
|
|
|
|
iput-object v0, p0, Landroidx/appcompat/app/AlertController$ButtonHandler;->mDialog:Ljava/lang/ref/WeakReference;
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public handleMessage(Landroid/os/Message;)V
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
iget v0, p1, Landroid/os/Message;->what:I
|
|
|
|
|
|
|
|
const/4 v1, -0x3
|
|
|
|
|
|
|
|
if-eq v0, v1, :cond_1
|
|
|
|
|
|
|
|
const/4 v1, -0x2
|
|
|
|
|
|
|
|
if-eq v0, v1, :cond_1
|
|
|
|
|
|
|
|
const/4 v1, -0x1
|
|
|
|
|
|
|
|
if-eq v0, v1, :cond_1
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
iget-object p1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;
|
|
|
|
|
|
|
|
check-cast p1, Landroid/content/DialogInterface;
|
|
|
|
|
|
|
|
invoke-interface {p1}, Landroid/content/DialogInterface;->dismiss()V
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;
|
|
|
|
|
|
|
|
check-cast v0, Landroid/content/DialogInterface$OnClickListener;
|
|
|
|
|
|
|
|
iget-object v1, p0, Landroidx/appcompat/app/AlertController$ButtonHandler;->mDialog:Ljava/lang/ref/WeakReference;
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
check-cast v1, Landroid/content/DialogInterface;
|
|
|
|
|
|
|
|
iget p1, p1, Landroid/os/Message;->what:I
|
|
|
|
|
|
|
|
invoke-interface {v0, v1, p1}, Landroid/content/DialogInterface$OnClickListener;->onClick(Landroid/content/DialogInterface;I)V
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
return-void
|
|
|
|
.end method
|