2022-06-10 21:38:30 +09:00

134 lines
2.8 KiB
Smali

.class public Lwc/m$w;
.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$w;->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 2
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"buttonView",
"isChecked"
}
.end annotation
.line 1
iget-object p1, p0, Lwc/m$w;->a:Lwc/m;
invoke-virtual {p1}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;
move-result-object p1
check-cast p1, Lcom/skt/tmap/activity/BaseActivity;
invoke-virtual {p1}, Lcom/skt/tmap/activity/BaseActivity;->getBasePresenter()Lcom/skt/tmap/mvp/presenter/BasePresenter;
move-result-object p1
invoke-virtual {p1}, Lcom/skt/tmap/mvp/presenter/BasePresenter;->v()Ldc/d;
move-result-object p1
if-eqz p2, :cond_0
const-wide/16 v0, 0x1
goto :goto_0
:cond_0
const-wide/16 v0, 0x0
:goto_0
const-string/jumbo p2, "tap.study_name"
invoke-virtual {p1, p2, v0, v1}, Ldc/d;->T(Ljava/lang/String;J)V
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
const/4 v0, 0x1
if-nez p2, :cond_0
xor-int/2addr p2, v0
.line 1
invoke-virtual {p1, p2}, Landroid/widget/CompoundButton;->setChecked(Z)V
.line 2
iget-object p1, p0, Lwc/m$w;->a:Lwc/m;
invoke-virtual {p1}, Lwc/m;->o0()V
const/4 p1, 0x0
return p1
.line 3
:cond_0
invoke-static {}, Lcom/skt/tmap/engine/TmapAiManager;->l2()Lcom/skt/tmap/engine/TmapAiManager;
move-result-object p1
invoke-virtual {p1}, Lcom/skt/tmap/engine/TmapAiManager;->L6()V
return v0
.end method