114 lines
2.2 KiB
Smali
114 lines
2.2 KiB
Smali
.class public Lwc/m$r;
|
|
.super Ljava/lang/Object;
|
|
.source "SettingAi.java"
|
|
|
|
# interfaces
|
|
.implements Lcom/skt/tmap/setting/fragment/customPreference/CustomSwitchPreference$c;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lwc/m;->q(Landroid/os/Bundle;Ljava/lang/String;)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x1
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic a:Lwc/m;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lwc/m;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x8010
|
|
}
|
|
names = {
|
|
"this$0"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
iput-object p1, p0, Lwc/m$r;->a:Lwc/m;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a(Landroid/widget/CompoundButton;Z)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0,
|
|
0x0
|
|
}
|
|
names = {
|
|
"buttonView",
|
|
"isChecked"
|
|
}
|
|
.end annotation
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onCheckedChanged(Landroid/widget/CompoundButton;Z)Z
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/MethodParameters;
|
|
accessFlags = {
|
|
0x0,
|
|
0x0
|
|
}
|
|
names = {
|
|
"buttonView",
|
|
"isChecked"
|
|
}
|
|
.end annotation
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lwc/m$r;->a:Lwc/m;
|
|
|
|
.line 2
|
|
invoke-virtual {v0}, Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0}, Lcom/skt/tmap/util/TmapSharedPreference;->s1(Landroid/content/Context;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
xor-int/lit8 p2, p2, 0x1
|
|
|
|
.line 3
|
|
invoke-virtual {p1, p2}, Landroid/widget/CompoundButton;->setChecked(Z)V
|
|
|
|
.line 4
|
|
iget-object p1, p0, Lwc/m$r;->a:Lwc/m;
|
|
|
|
invoke-virtual {p1}, Lwc/m;->m0()V
|
|
|
|
goto :goto_0
|
|
|
|
.line 5
|
|
:cond_0
|
|
iget-object p1, p0, Lwc/m$r;->a:Lwc/m;
|
|
|
|
invoke-virtual {p1, p2}, Lwc/m;->n0(Z)V
|
|
|
|
:goto_0
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
.end method
|