AlertController$c.smali
.class public final Landroidx/appcompat/app/AlertController$c;
.super Landroid/os/Handler;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/appcompat/app/AlertController;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "c"
.end annotation
# instance fields
.field public a:Ljava/lang/ref/WeakReference;
.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
.registers 3
.line 1
invoke-direct {p0}, Landroid/os/Handler;-><init>()V
.line 2
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$c;->a:Ljava/lang/ref/WeakReference;
return-void
.end method
# virtual methods
.method public final handleMessage(Landroid/os/Message;)V
.registers 7
const-string v0, "handleMessage"
const-string v1, "androidx/appcompat/app/AlertController$ButtonHandler"
const-string v2, "message"
invoke-static {v0, v1, v2}, Lcom/shopee/monitor/trace/c;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
.line 1
iget v3, p1, Landroid/os/Message;->what:I
const/4 v4, -0x3
if-eq v3, v4, :cond_20
const/4 v4, -0x2
if-eq v3, v4, :cond_20
const/4 v4, -0x1
if-eq v3, v4, :cond_20
const/4 v4, 0x1
if-eq v3, v4, :cond_18
goto :goto_31
.line 2
:cond_18
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_31
.line 3
:cond_20
iget-object v3, p1, Landroid/os/Message;->obj:Ljava/lang/Object;
check-cast v3, Landroid/content/DialogInterface$OnClickListener;
iget-object v4, p0, Landroidx/appcompat/app/AlertController$c;->a:Ljava/lang/ref/WeakReference;
invoke-virtual {v4}, Ljava/lang/ref/Reference;->get()Ljava/lang/Object;
move-result-object v4
check-cast v4, Landroid/content/DialogInterface;
iget p1, p1, Landroid/os/Message;->what:I
invoke-interface {v3, v4, p1}, Landroid/content/DialogInterface$OnClickListener;->onClick(Landroid/content/DialogInterface;I)V
.line 4
:goto_31
invoke-static {v0, v1, v2}, Lcom/shopee/monitor/trace/c;->b(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
return-void
.end method