apkfuckery/com.discord/smali/com/discord/views/CheckedSetting$c.smali

53 lines
1.2 KiB
Smali
Raw Normal View History

2019-12-06 03:29:40 +00:00
.class public final Lcom/discord/views/CheckedSetting$c;
2019-07-24 11:27:29 +00:00
.super Ljava/lang/Object;
.source "CheckedSetting.kt"
# interfaces
2020-02-27 22:30:35 +00:00
.implements Landroid/widget/CompoundButton$OnCheckedChangeListener;
2019-07-24 11:27:29 +00:00
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
2020-02-27 22:30:35 +00:00
value = Lcom/discord/views/CheckedSetting;->setOnCheckedListener(Lrx/functions/Action1;)V
2019-07-24 11:27:29 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
2019-12-06 03:29:40 +00:00
accessFlags = 0x19
2019-07-24 11:27:29 +00:00
name = null
.end annotation
# instance fields
2020-02-27 22:30:35 +00:00
.field public final synthetic a:Lrx/functions/Action1;
2019-07-24 11:27:29 +00:00
# direct methods
2020-02-27 22:30:35 +00:00
.method public constructor <init>(Lrx/functions/Action1;)V
2019-07-24 11:27:29 +00:00
.locals 0
2020-02-27 22:30:35 +00:00
iput-object p1, p0, Lcom/discord/views/CheckedSetting$c;->a:Lrx/functions/Action1;
2019-07-24 11:27:29 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
2020-02-27 22:30:35 +00:00
.method public final onCheckedChanged(Landroid/widget/CompoundButton;Z)V
.locals 0
2019-07-24 11:27:29 +00:00
2020-02-27 22:30:35 +00:00
iget-object p1, p0, Lcom/discord/views/CheckedSetting$c;->a:Lrx/functions/Action1;
2019-07-24 11:27:29 +00:00
if-eqz p1, :cond_0
2020-02-27 22:30:35 +00:00
invoke-static {p2}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
2019-11-15 02:21:15 +00:00
2020-02-27 22:30:35 +00:00
move-result-object p2
2019-11-15 02:21:15 +00:00
2020-02-27 22:30:35 +00:00
invoke-interface {p1, p2}, Lrx/functions/Action1;->call(Ljava/lang/Object;)V
2019-07-24 11:27:29 +00:00
:cond_0
return-void
.end method