374 lines
9.0 KiB
Smali
374 lines
9.0 KiB
Smali
.class public final Lwc/t;
|
|
.super Lwc/o;
|
|
.source "SettingLabMenu.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation runtime Lkotlin/Metadata;
|
|
bv = {}
|
|
d1 = {
|
|
"\u0000*\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0002\u0008\u0003\n\u0002\u0010\u0008\n\u0002\u0008\u0004\u0018\u00002\u00020\u0001B\u000f\u0012\u0006\u0010\r\u001a\u00020\u000c\u00a2\u0006\u0004\u0008\u000e\u0010\u000fJ\u001c\u0010\u0007\u001a\u00020\u00062\u0008\u0010\u0003\u001a\u0004\u0018\u00010\u00022\u0008\u0010\u0005\u001a\u0004\u0018\u00010\u0004H\u0016J\u0008\u0010\t\u001a\u00020\u0008H\u0002J\u0010\u0010\u000b\u001a\u00020\u00062\u0006\u0010\n\u001a\u00020\u0008H\u0002\u00a8\u0006\u0010"
|
|
}
|
|
d2 = {
|
|
"Lwc/t;",
|
|
"Lwc/o;",
|
|
"Landroid/os/Bundle;",
|
|
"bundle",
|
|
"",
|
|
"s",
|
|
"Lkotlin/d1;",
|
|
"q",
|
|
"",
|
|
"L",
|
|
"enable",
|
|
"K",
|
|
"",
|
|
"preferenceResource",
|
|
"<init>",
|
|
"(I)V",
|
|
"tmap_android_phoneKUShip"
|
|
}
|
|
k = 0x1
|
|
mv = {
|
|
0x1,
|
|
0x4,
|
|
0x2
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final K0:I
|
|
|
|
.field public V0:Ljava/util/HashMap;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(I)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Lwc/o;-><init>()V
|
|
|
|
iput p1, p0, Lwc/t;->K0:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final synthetic I(Lwc/t;Z)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-virtual {p0, p1}, Lwc/t;->K(Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final synthetic J(Lwc/t;)Z
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Lwc/t;->L()Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public G()V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lwc/t;->V0:Ljava/util/HashMap;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-virtual {v0}, Ljava/util/HashMap;->clear()V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public H(I)Landroid/view/View;
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lwc/t;->V0:Ljava/util/HashMap;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
new-instance v0, Ljava/util/HashMap;
|
|
|
|
invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
|
|
|
|
iput-object v0, p0, Lwc/t;->V0:Ljava/util/HashMap;
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Lwc/t;->V0:Ljava/util/HashMap;
|
|
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/view/View;
|
|
|
|
if-nez v0, :cond_2
|
|
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getView()Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
const/4 p1, 0x0
|
|
|
|
return-object p1
|
|
|
|
:cond_1
|
|
invoke-virtual {v0, p1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, p0, Lwc/t;->V0:Ljava/util/HashMap;
|
|
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {v1, p1, v0}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
:cond_2
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final K(Z)V
|
|
.locals 3
|
|
|
|
if-eqz p1, :cond_3
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0}, Lcom/skt/tmap/util/TmapSharedPreference;->l1(Landroid/content/Context;)Z
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 2
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0, v1}, Lcom/skt/tmap/util/TmapSharedPreference;->S3(Landroid/content/Context;Z)V
|
|
|
|
.line 3
|
|
:cond_0
|
|
invoke-static {}, Lcom/skt/tmap/GlobalDataManager;->a()Lcom/skt/tmap/GlobalDataManager;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v0, v0, Lcom/skt/tmap/GlobalDataManager;->j:Lcom/skt/tmap/util/HiddenSettingData;
|
|
|
|
invoke-virtual {v0}, Lcom/skt/tmap/util/HiddenSettingData;->H0()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
.line 4
|
|
invoke-static {}, Lcom/skt/tmap/GlobalDataManager;->a()Lcom/skt/tmap/GlobalDataManager;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v0, v0, Lcom/skt/tmap/GlobalDataManager;->j:Lcom/skt/tmap/util/HiddenSettingData;
|
|
|
|
invoke-virtual {v0, v1}, Lcom/skt/tmap/util/HiddenSettingData;->A0(Z)V
|
|
|
|
.line 5
|
|
:cond_1
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0}, Lcom/skt/tmap/util/TmapSharedPreference;->Q0(Landroid/content/Context;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_2
|
|
|
|
.line 6
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0, v1}, Lcom/skt/tmap/util/TmapSharedPreference;->y3(Landroid/content/Context;Z)V
|
|
|
|
.line 7
|
|
:cond_2
|
|
invoke-static {}, Lcom/skt/tmap/engine/navigation/util/V2VLibraryWrapper;->getInstance()Lcom/skt/tmap/engine/navigation/util/V2VLibraryWrapper;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v2, "V2VLibraryWrapper.getInstance()"
|
|
|
|
invoke-static {v0, v2}, Lkotlin/jvm/internal/f0;->o(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v0}, Lcom/skt/tmap/engine/navigation/util/V2VLibraryWrapper;->getEnabled()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_3
|
|
|
|
.line 8
|
|
invoke-static {}, Lcom/skt/tmap/engine/navigation/util/V2VLibraryWrapper;->getInstance()Lcom/skt/tmap/engine/navigation/util/V2VLibraryWrapper;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0, v2}, Lkotlin/jvm/internal/f0;->o(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v0, v1}, Lcom/skt/tmap/engine/navigation/util/V2VLibraryWrapper;->setEnabled(Z)V
|
|
|
|
.line 9
|
|
:cond_3
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0, p1}, Lcom/skt/tmap/util/TmapSharedPreference;->x3(Landroid/content/Context;Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final L()Z
|
|
.locals 4
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0}, Lcom/skt/tmap/util/TmapSharedPreference;->l1(Landroid/content/Context;)Z
|
|
|
|
move-result v0
|
|
|
|
.line 2
|
|
invoke-static {}, Lcom/skt/tmap/GlobalDataManager;->a()Lcom/skt/tmap/GlobalDataManager;
|
|
|
|
move-result-object v1
|
|
|
|
iget-object v1, v1, Lcom/skt/tmap/GlobalDataManager;->j:Lcom/skt/tmap/util/HiddenSettingData;
|
|
|
|
invoke-virtual {v1}, Lcom/skt/tmap/util/HiddenSettingData;->H0()Z
|
|
|
|
move-result v1
|
|
|
|
.line 3
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-static {v2}, Lcom/skt/tmap/util/TmapSharedPreference;->P0(Landroid/content/Context;)Z
|
|
|
|
move-result v2
|
|
|
|
.line 4
|
|
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-static {v3}, Lcom/skt/tmap/util/TmapSharedPreference;->Q0(Landroid/content/Context;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
return v0
|
|
.end method
|
|
|
|
.method public synthetic onDestroyView()V
|
|
.locals 0
|
|
|
|
invoke-super {p0}, Landroidx/preference/m;->onDestroyView()V
|
|
|
|
invoke-virtual {p0}, Lwc/t;->G()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public q(Landroid/os/Bundle;Ljava/lang/String;)V
|
|
.locals 0
|
|
.param p1 # Landroid/os/Bundle;
|
|
.annotation build Lorg/jetbrains/annotations/Nullable;
|
|
.end annotation
|
|
.end param
|
|
.param p2 # Ljava/lang/String;
|
|
.annotation build Lorg/jetbrains/annotations/Nullable;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
iget p1, p0, Lwc/t;->K0:I
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/preference/m;->h(I)V
|
|
|
|
const p1, 0x7f130a37
|
|
|
|
.line 2
|
|
invoke-virtual {p0, p1}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/preference/m;->d(Ljava/lang/CharSequence;)Landroidx/preference/Preference;
|
|
|
|
move-result-object p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 3
|
|
instance-of p2, p1, Lcom/skt/tmap/setting/fragment/customPreference/CustomSwitchPreference;
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
.line 4
|
|
check-cast p1, Lcom/skt/tmap/setting/fragment/customPreference/CustomSwitchPreference;
|
|
|
|
invoke-virtual {p0}, Lwc/t;->L()Z
|
|
|
|
move-result p2
|
|
|
|
invoke-virtual {p1, p2}, Lcom/skt/tmap/setting/fragment/customPreference/CustomSwitchPreference;->m1(Z)V
|
|
|
|
.line 5
|
|
new-instance p2, Lwc/t$a;
|
|
|
|
invoke-direct {p2, p0}, Lwc/t$a;-><init>(Lwc/t;)V
|
|
|
|
invoke-virtual {p1, p2}, Lcom/skt/tmap/setting/fragment/customPreference/CustomSwitchPreference;->O1(Lcom/skt/tmap/setting/fragment/customPreference/CustomSwitchPreference$c;)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|