2020-05-17 12:40:10 +00:00
|
|
|
.class public Lcom/discord/widgets/settings/WidgetSettingsLanguage;
|
|
|
|
.super Lcom/discord/app/AppFragment;
|
|
|
|
.source "WidgetSettingsLanguage.java"
|
|
|
|
|
|
|
|
|
|
|
|
# static fields
|
|
|
|
.field public static final REQUEST_CODE_USER_LOCALE:I = 0xfa5
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public language:Landroid/view/View;
|
|
|
|
|
|
|
|
.field public languageFlag:Landroid/widget/ImageView;
|
|
|
|
|
|
|
|
.field public languageText:Landroid/widget/TextView;
|
|
|
|
|
|
|
|
.field public syncSwitch:Lcom/discord/views/CheckedSetting;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>()V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lcom/discord/app/AppFragment;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private configureUI(Ljava/lang/String;)V
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsLanguage;->languageText:Landroid/widget/TextView;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
invoke-static {p1}, Lcom/discord/widgets/settings/WidgetSettingsLanguage;->getLocaleResId(Ljava/lang/String;)I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
invoke-virtual {p0, v1}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsLanguage;->languageFlag:Landroid/widget/ImageView;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
|
|
|
invoke-static {p1}, Lcom/discord/widgets/settings/WidgetSettingsLanguage;->getLocaleFlagResId(Ljava/lang/String;)I
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Landroid/widget/ImageView;->setImageResource(I)V
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
.method public static synthetic f(Lcom/discord/widgets/settings/WidgetSettingsLanguage;Ljava/lang/String;)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0, p1}, Lcom/discord/widgets/settings/WidgetSettingsLanguage;->configureUI(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
2020-05-17 12:40:10 +00:00
|
|
|
.method public static getAsStringInLocale(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Ljava/lang/String;->hashCode()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
sparse-switch v0, :sswitch_data_0
|
|
|
|
|
|
|
|
goto/16 :goto_0
|
|
|
|
|
|
|
|
:sswitch_0
|
2020-09-08 08:16:32 +00:00
|
|
|
const-string v0, "zh-TW"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0x11
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_1
|
2020-09-08 08:16:32 +00:00
|
|
|
const-string v0, "zh-CN"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0x1a
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_2
|
|
|
|
const-string v0, "sv-SE"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0xa
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_3
|
|
|
|
const-string v0, "pt-BR"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0x9
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_4
|
|
|
|
const-string v0, "es-ES"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/4 p0, 0x4
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_5
|
|
|
|
const-string v0, "en-US"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/4 p0, 0x2
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_6
|
|
|
|
const-string v0, "en-GB"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/4 p0, 0x3
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_7
|
2020-09-08 08:16:32 +00:00
|
|
|
const-string v0, "vi"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0x1b
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_8
|
|
|
|
const-string v0, "uk"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0xf
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_9
|
|
|
|
const-string v0, "tr"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0xb
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_a
|
|
|
|
const-string v0, "th"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0x1c
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_b
|
|
|
|
const-string v0, "ru"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0xe
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_c
|
|
|
|
const-string v0, "ro"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0x19
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_d
|
|
|
|
const-string v0, "pl"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0x8
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_e
|
|
|
|
const-string v0, "no"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0x15
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_f
|
|
|
|
const-string v0, "nl"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/4 p0, 0x7
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_10
|
|
|
|
const-string v0, "lt"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0x17
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_11
|
|
|
|
const-string v0, "ko"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0x12
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_12
|
|
|
|
const-string v0, "ja"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0x10
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_13
|
|
|
|
const-string v0, "it"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/4 p0, 0x6
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:sswitch_14
|
|
|
|
const-string v0, "hu"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0x18
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:sswitch_15
|
|
|
|
const-string v0, "hr"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0x13
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:sswitch_16
|
|
|
|
const-string v0, "fr"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/4 p0, 0x5
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:sswitch_17
|
|
|
|
const-string v0, "fi"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0x14
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:sswitch_18
|
|
|
|
const-string v0, "el"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0x16
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:sswitch_19
|
|
|
|
const-string v0, "de"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/4 p0, 0x1
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:sswitch_1a
|
|
|
|
const-string v0, "da"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:sswitch_1b
|
|
|
|
const-string v0, "cs"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0xc
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:sswitch_1c
|
|
|
|
const-string v0, "bg"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0xd
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
:goto_0
|
|
|
|
const/4 p0, -0x1
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
packed-switch p0, :pswitch_data_0
|
|
|
|
|
|
|
|
:pswitch_0
|
2020-07-08 16:44:49 +00:00
|
|
|
const-string p0, "English, USA"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:pswitch_1
|
2020-09-08 08:16:32 +00:00
|
|
|
const-string p0, "\u0e44\u0e17\u0e22"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:pswitch_2
|
2020-07-08 16:44:49 +00:00
|
|
|
const-string p0, "Ti\u1ebfng Vi\u1ec7t"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:pswitch_3
|
2020-09-08 08:16:32 +00:00
|
|
|
const-string p0, "\u4e2d\u6587"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:pswitch_4
|
2020-07-08 16:44:49 +00:00
|
|
|
const-string p0, "Rom\u00e2n\u0103"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:pswitch_5
|
2020-07-08 16:44:49 +00:00
|
|
|
const-string p0, "Magyar"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:pswitch_6
|
2020-07-08 16:44:49 +00:00
|
|
|
const-string p0, "Lietuvi\u0161kai"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:pswitch_7
|
2020-09-08 08:16:32 +00:00
|
|
|
const-string p0, "\u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:pswitch_8
|
2020-07-08 16:44:49 +00:00
|
|
|
const-string p0, "Norsk"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:pswitch_9
|
2020-07-08 16:44:49 +00:00
|
|
|
const-string p0, "Suomi"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:pswitch_a
|
2020-07-08 16:44:49 +00:00
|
|
|
const-string p0, "Hrvatski"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:pswitch_b
|
2020-09-08 08:16:32 +00:00
|
|
|
const-string p0, "\ud55c\uad6d\uc5b4"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:pswitch_c
|
2020-09-08 08:16:32 +00:00
|
|
|
const-string p0, "\u7e41\u9ad4\u4e2d\u6587"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:pswitch_d
|
2020-09-08 08:16:32 +00:00
|
|
|
const-string p0, "\u65e5\u672c\u8a9e"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:pswitch_e
|
2020-09-08 08:16:32 +00:00
|
|
|
const-string p0, "\u0423\u043a\u0440\u0430\u0457\u043d\u0441\u044c\u043a\u0438\u0439"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:pswitch_f
|
2020-09-08 08:16:32 +00:00
|
|
|
const-string p0, "\u0420\u0443\u0441\u0441\u043a\u0438\u0439"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:pswitch_10
|
2020-09-08 08:16:32 +00:00
|
|
|
const-string p0, "\u0431\u044a\u043b\u0433\u0430\u0440\u0441\u043a\u0438"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:pswitch_11
|
2020-09-08 08:16:32 +00:00
|
|
|
const-string p0, "\u010ce\u0161tina"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:pswitch_12
|
2020-07-08 16:44:49 +00:00
|
|
|
const-string p0, "T\u00fcrk\u00e7e"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:pswitch_13
|
2020-07-08 16:44:49 +00:00
|
|
|
const-string p0, "Svenska"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:pswitch_14
|
2020-07-08 16:44:49 +00:00
|
|
|
const-string p0, "Portugu\u00eas do Brasil"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:pswitch_15
|
2020-07-08 16:44:49 +00:00
|
|
|
const-string p0, "Polski"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:pswitch_16
|
2020-07-08 16:44:49 +00:00
|
|
|
const-string p0, "Nederlands"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:pswitch_17
|
2020-07-08 16:44:49 +00:00
|
|
|
const-string p0, "Italiano"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:pswitch_18
|
2020-07-08 16:44:49 +00:00
|
|
|
const-string p0, "Fran\u00e7ais"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:pswitch_19
|
2020-07-08 16:44:49 +00:00
|
|
|
const-string p0, "Espa\u00f1ol"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:pswitch_1a
|
2020-07-08 16:44:49 +00:00
|
|
|
const-string p0, "English, UK"
|
|
|
|
|
|
|
|
return-object p0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
:pswitch_1b
|
|
|
|
const-string p0, "Deutsch"
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:pswitch_1c
|
|
|
|
const-string p0, "Dansk"
|
|
|
|
|
|
|
|
return-object p0
|
|
|
|
|
|
|
|
:sswitch_data_0
|
|
|
|
.sparse-switch
|
|
|
|
0xc45 -> :sswitch_1c
|
|
|
|
0xc70 -> :sswitch_1b
|
|
|
|
0xc7d -> :sswitch_1a
|
|
|
|
0xc81 -> :sswitch_19
|
|
|
|
0xca7 -> :sswitch_18
|
|
|
|
0xcc3 -> :sswitch_17
|
|
|
|
0xccc -> :sswitch_16
|
|
|
|
0xd0a -> :sswitch_15
|
|
|
|
0xd0d -> :sswitch_14
|
|
|
|
0xd2b -> :sswitch_13
|
|
|
|
0xd37 -> :sswitch_12
|
|
|
|
0xd64 -> :sswitch_11
|
|
|
|
0xd88 -> :sswitch_10
|
|
|
|
0xdbe -> :sswitch_f
|
|
|
|
0xdc1 -> :sswitch_e
|
|
|
|
0xdfc -> :sswitch_d
|
|
|
|
0xe3d -> :sswitch_c
|
|
|
|
0xe43 -> :sswitch_b
|
|
|
|
0xe74 -> :sswitch_a
|
|
|
|
0xe7e -> :sswitch_9
|
|
|
|
0xe96 -> :sswitch_8
|
|
|
|
0xeb3 -> :sswitch_7
|
|
|
|
0x5c1f87f -> :sswitch_6
|
|
|
|
0x5c1fa42 -> :sswitch_5
|
|
|
|
0x5c43e2d -> :sswitch_4
|
|
|
|
0x65fb4b9 -> :sswitch_3
|
|
|
|
0x68ae5fc -> :sswitch_2
|
|
|
|
0x6e72b6a -> :sswitch_1
|
|
|
|
0x6e72d82 -> :sswitch_0
|
|
|
|
.end sparse-switch
|
|
|
|
|
|
|
|
:pswitch_data_0
|
|
|
|
.packed-switch 0x0
|
|
|
|
:pswitch_1c
|
|
|
|
:pswitch_1b
|
2020-07-08 16:44:49 +00:00
|
|
|
:pswitch_0
|
2020-05-17 12:40:10 +00:00
|
|
|
:pswitch_1a
|
|
|
|
:pswitch_19
|
|
|
|
:pswitch_18
|
|
|
|
:pswitch_17
|
|
|
|
:pswitch_16
|
|
|
|
:pswitch_15
|
|
|
|
:pswitch_14
|
|
|
|
:pswitch_13
|
|
|
|
:pswitch_12
|
|
|
|
:pswitch_11
|
|
|
|
:pswitch_10
|
|
|
|
:pswitch_f
|
|
|
|
:pswitch_e
|
|
|
|
:pswitch_d
|
|
|
|
:pswitch_c
|
|
|
|
:pswitch_b
|
|
|
|
:pswitch_a
|
|
|
|
:pswitch_9
|
|
|
|
:pswitch_8
|
|
|
|
:pswitch_7
|
|
|
|
:pswitch_6
|
|
|
|
:pswitch_5
|
|
|
|
:pswitch_4
|
|
|
|
:pswitch_3
|
|
|
|
:pswitch_2
|
|
|
|
:pswitch_1
|
|
|
|
.end packed-switch
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static getLocaleFlagResId(Ljava/lang/String;)I
|
|
|
|
.locals 1
|
|
|
|
.annotation build Landroidx/annotation/DrawableRes;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Ljava/lang/String;->hashCode()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
sparse-switch v0, :sswitch_data_0
|
|
|
|
|
|
|
|
goto/16 :goto_0
|
|
|
|
|
|
|
|
:sswitch_0
|
2020-09-08 08:16:32 +00:00
|
|
|
const-string v0, "zh-TW"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0x11
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_1
|
2020-09-08 08:16:32 +00:00
|
|
|
const-string v0, "zh-CN"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0x19
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_2
|
|
|
|
const-string v0, "sv-SE"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0xa
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_3
|
|
|
|
const-string v0, "pt-BR"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0x9
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_4
|
|
|
|
const-string v0, "es-ES"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/4 p0, 0x4
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_5
|
|
|
|
const-string v0, "en-US"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/4 p0, 0x2
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_6
|
|
|
|
const-string v0, "en-GB"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/4 p0, 0x3
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_7
|
2020-09-08 08:16:32 +00:00
|
|
|
const-string v0, "vi"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0x1a
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_8
|
|
|
|
const-string v0, "uk"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0xf
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_9
|
|
|
|
const-string v0, "tr"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0xb
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_a
|
|
|
|
const-string v0, "th"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0x1b
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_b
|
|
|
|
const-string v0, "ru"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0xe
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_c
|
|
|
|
const-string v0, "ro"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0x18
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_d
|
|
|
|
const-string v0, "pl"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0x8
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_e
|
|
|
|
const-string v0, "no"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0x14
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_f
|
|
|
|
const-string v0, "nl"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/4 p0, 0x7
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_10
|
|
|
|
const-string v0, "lt"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0x16
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_11
|
|
|
|
const-string v0, "ko"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0x12
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_12
|
|
|
|
const-string v0, "ja"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0x10
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_13
|
|
|
|
const-string v0, "it"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/4 p0, 0x6
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:sswitch_14
|
|
|
|
const-string v0, "hu"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0x17
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:sswitch_15
|
|
|
|
const-string v0, "hr"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0x1c
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:sswitch_16
|
|
|
|
const-string v0, "fr"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/4 p0, 0x5
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:sswitch_17
|
|
|
|
const-string v0, "fi"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0x13
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:sswitch_18
|
|
|
|
const-string v0, "el"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0x15
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:sswitch_19
|
|
|
|
const-string v0, "de"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/4 p0, 0x1
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:sswitch_1a
|
|
|
|
const-string v0, "da"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:sswitch_1b
|
|
|
|
const-string v0, "cs"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0xc
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:sswitch_1c
|
|
|
|
const-string v0, "bg"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0xd
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
:goto_0
|
|
|
|
const/4 p0, -0x1
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
packed-switch p0, :pswitch_data_0
|
|
|
|
|
|
|
|
:pswitch_0
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f080473
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:pswitch_1
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f08047a
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:pswitch_2
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f080488
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:pswitch_3
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f08048c
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:pswitch_4
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f08048d
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:pswitch_5
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f080484
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:pswitch_6
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f08047b
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:pswitch_7
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f08047f
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:pswitch_8
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f080471
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:pswitch_9
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f080481
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:pswitch_a
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f080476
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:pswitch_b
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f08047e
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:pswitch_c
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f08048e
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:pswitch_d
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f08047d
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:pswitch_e
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f08048a
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:pswitch_f
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f080485
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:pswitch_10
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f08046d
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:pswitch_11
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f08046e
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:pswitch_12
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f080489
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:pswitch_13
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f080487
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:pswitch_14
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f080483
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:pswitch_15
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f080482
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:pswitch_16
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f080480
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:pswitch_17
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f08047c
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:pswitch_18
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f080477
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:pswitch_19
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f080474
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:pswitch_1a
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f080472
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
return p0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
:pswitch_1b
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f080470
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:pswitch_1c
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f08046f
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
2020-09-08 08:16:32 +00:00
|
|
|
nop
|
|
|
|
|
2020-05-17 12:40:10 +00:00
|
|
|
:sswitch_data_0
|
|
|
|
.sparse-switch
|
|
|
|
0xc45 -> :sswitch_1c
|
|
|
|
0xc70 -> :sswitch_1b
|
|
|
|
0xc7d -> :sswitch_1a
|
|
|
|
0xc81 -> :sswitch_19
|
|
|
|
0xca7 -> :sswitch_18
|
|
|
|
0xcc3 -> :sswitch_17
|
|
|
|
0xccc -> :sswitch_16
|
|
|
|
0xd0a -> :sswitch_15
|
|
|
|
0xd0d -> :sswitch_14
|
|
|
|
0xd2b -> :sswitch_13
|
|
|
|
0xd37 -> :sswitch_12
|
|
|
|
0xd64 -> :sswitch_11
|
|
|
|
0xd88 -> :sswitch_10
|
|
|
|
0xdbe -> :sswitch_f
|
|
|
|
0xdc1 -> :sswitch_e
|
|
|
|
0xdfc -> :sswitch_d
|
|
|
|
0xe3d -> :sswitch_c
|
|
|
|
0xe43 -> :sswitch_b
|
|
|
|
0xe74 -> :sswitch_a
|
|
|
|
0xe7e -> :sswitch_9
|
|
|
|
0xe96 -> :sswitch_8
|
|
|
|
0xeb3 -> :sswitch_7
|
|
|
|
0x5c1f87f -> :sswitch_6
|
|
|
|
0x5c1fa42 -> :sswitch_5
|
|
|
|
0x5c43e2d -> :sswitch_4
|
|
|
|
0x65fb4b9 -> :sswitch_3
|
|
|
|
0x68ae5fc -> :sswitch_2
|
|
|
|
0x6e72b6a -> :sswitch_1
|
|
|
|
0x6e72d82 -> :sswitch_0
|
|
|
|
.end sparse-switch
|
|
|
|
|
|
|
|
:pswitch_data_0
|
|
|
|
.packed-switch 0x0
|
|
|
|
:pswitch_1c
|
|
|
|
:pswitch_1b
|
2020-07-08 16:44:49 +00:00
|
|
|
:pswitch_0
|
2020-05-17 12:40:10 +00:00
|
|
|
:pswitch_1a
|
|
|
|
:pswitch_19
|
|
|
|
:pswitch_18
|
|
|
|
:pswitch_17
|
|
|
|
:pswitch_16
|
|
|
|
:pswitch_15
|
|
|
|
:pswitch_14
|
|
|
|
:pswitch_13
|
|
|
|
:pswitch_12
|
|
|
|
:pswitch_11
|
|
|
|
:pswitch_10
|
|
|
|
:pswitch_f
|
|
|
|
:pswitch_e
|
|
|
|
:pswitch_d
|
|
|
|
:pswitch_c
|
|
|
|
:pswitch_b
|
|
|
|
:pswitch_a
|
|
|
|
:pswitch_9
|
|
|
|
:pswitch_8
|
|
|
|
:pswitch_7
|
|
|
|
:pswitch_6
|
|
|
|
:pswitch_5
|
|
|
|
:pswitch_4
|
|
|
|
:pswitch_3
|
|
|
|
:pswitch_2
|
|
|
|
:pswitch_1
|
|
|
|
.end packed-switch
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static getLocaleResId(Ljava/lang/String;)I
|
|
|
|
.locals 1
|
|
|
|
.annotation build Landroidx/annotation/StringRes;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Ljava/lang/String;->hashCode()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
sparse-switch v0, :sswitch_data_0
|
|
|
|
|
|
|
|
goto/16 :goto_0
|
|
|
|
|
|
|
|
:sswitch_0
|
2020-09-08 08:16:32 +00:00
|
|
|
const-string v0, "zh-TW"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0x11
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_1
|
2020-09-08 08:16:32 +00:00
|
|
|
const-string v0, "zh-CN"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0x1a
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_2
|
|
|
|
const-string v0, "sv-SE"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0xa
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_3
|
|
|
|
const-string v0, "pt-BR"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0x9
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_4
|
|
|
|
const-string v0, "es-ES"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/4 p0, 0x4
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_5
|
|
|
|
const-string v0, "en-US"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/4 p0, 0x2
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_6
|
|
|
|
const-string v0, "en-GB"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/4 p0, 0x3
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_7
|
2020-09-08 08:16:32 +00:00
|
|
|
const-string v0, "vi"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0x1b
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_8
|
|
|
|
const-string v0, "uk"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0xf
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_9
|
|
|
|
const-string v0, "tr"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0xb
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_a
|
|
|
|
const-string v0, "th"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0x1c
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_b
|
|
|
|
const-string v0, "ru"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0xe
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_c
|
|
|
|
const-string v0, "ro"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0x19
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_d
|
|
|
|
const-string v0, "pl"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0x8
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_e
|
|
|
|
const-string v0, "no"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0x15
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_f
|
|
|
|
const-string v0, "nl"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/4 p0, 0x7
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_10
|
|
|
|
const-string v0, "lt"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0x17
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_11
|
|
|
|
const-string v0, "ko"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0x12
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_12
|
|
|
|
const-string v0, "ja"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0x10
|
|
|
|
|
|
|
|
goto/16 :goto_1
|
|
|
|
|
|
|
|
:sswitch_13
|
|
|
|
const-string v0, "it"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/4 p0, 0x6
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:sswitch_14
|
|
|
|
const-string v0, "hu"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0x18
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:sswitch_15
|
|
|
|
const-string v0, "hr"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0x13
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:sswitch_16
|
|
|
|
const-string v0, "fr"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/4 p0, 0x5
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:sswitch_17
|
|
|
|
const-string v0, "fi"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0x14
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:sswitch_18
|
|
|
|
const-string v0, "el"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0x16
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:sswitch_19
|
|
|
|
const-string v0, "de"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/4 p0, 0x1
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:sswitch_1a
|
|
|
|
const-string v0, "da"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/4 p0, 0x0
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:sswitch_1b
|
|
|
|
const-string v0, "cs"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0xc
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:sswitch_1c
|
|
|
|
const-string v0, "bg"
|
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p0
|
|
|
|
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
|
|
|
|
const/16 p0, 0xd
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
:goto_0
|
|
|
|
const/4 p0, -0x1
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
packed-switch p0, :pswitch_data_0
|
|
|
|
|
|
|
|
:pswitch_0
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f120638
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:pswitch_1
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f12167e
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:pswitch_2
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f121863
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:pswitch_3
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f121910
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:pswitch_4
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f1213f5
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:pswitch_5
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f120c42
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:pswitch_6
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f120ec4
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:pswitch_7
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f120601
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:pswitch_8
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f121003
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:pswitch_9
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f1206c3
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:pswitch_a
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f120c41
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:pswitch_b
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f120e53
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:pswitch_c
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f121911
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:pswitch_d
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f120de5
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:pswitch_e
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f121715
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:pswitch_f
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f12140e
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:pswitch_10
|
2020-09-16 23:45:23 +00:00
|
|
|
const p0, 0x7f12029f
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:pswitch_11
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f12053d
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:pswitch_12
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f1216cb
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:pswitch_13
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f12160f
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:pswitch_14
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f12134f
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:pswitch_15
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f1211c2
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:pswitch_16
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f121002
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:pswitch_17
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f120de3
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:pswitch_18
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f1207c4
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:pswitch_19
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f12066e
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:pswitch_1a
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f120637
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
return p0
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
:pswitch_1b
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f120571
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
|
|
|
:pswitch_1c
|
2020-09-22 07:09:10 +00:00
|
|
|
const p0, 0x7f120552
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return p0
|
|
|
|
|
2020-09-08 08:16:32 +00:00
|
|
|
nop
|
|
|
|
|
2020-05-17 12:40:10 +00:00
|
|
|
:sswitch_data_0
|
|
|
|
.sparse-switch
|
|
|
|
0xc45 -> :sswitch_1c
|
|
|
|
0xc70 -> :sswitch_1b
|
|
|
|
0xc7d -> :sswitch_1a
|
|
|
|
0xc81 -> :sswitch_19
|
|
|
|
0xca7 -> :sswitch_18
|
|
|
|
0xcc3 -> :sswitch_17
|
|
|
|
0xccc -> :sswitch_16
|
|
|
|
0xd0a -> :sswitch_15
|
|
|
|
0xd0d -> :sswitch_14
|
|
|
|
0xd2b -> :sswitch_13
|
|
|
|
0xd37 -> :sswitch_12
|
|
|
|
0xd64 -> :sswitch_11
|
|
|
|
0xd88 -> :sswitch_10
|
|
|
|
0xdbe -> :sswitch_f
|
|
|
|
0xdc1 -> :sswitch_e
|
|
|
|
0xdfc -> :sswitch_d
|
|
|
|
0xe3d -> :sswitch_c
|
|
|
|
0xe43 -> :sswitch_b
|
|
|
|
0xe74 -> :sswitch_a
|
|
|
|
0xe7e -> :sswitch_9
|
|
|
|
0xe96 -> :sswitch_8
|
|
|
|
0xeb3 -> :sswitch_7
|
|
|
|
0x5c1f87f -> :sswitch_6
|
|
|
|
0x5c1fa42 -> :sswitch_5
|
|
|
|
0x5c43e2d -> :sswitch_4
|
|
|
|
0x65fb4b9 -> :sswitch_3
|
|
|
|
0x68ae5fc -> :sswitch_2
|
|
|
|
0x6e72b6a -> :sswitch_1
|
|
|
|
0x6e72d82 -> :sswitch_0
|
|
|
|
.end sparse-switch
|
|
|
|
|
|
|
|
:pswitch_data_0
|
|
|
|
.packed-switch 0x0
|
|
|
|
:pswitch_1c
|
|
|
|
:pswitch_1b
|
2020-07-08 16:44:49 +00:00
|
|
|
:pswitch_0
|
2020-05-17 12:40:10 +00:00
|
|
|
:pswitch_1a
|
|
|
|
:pswitch_19
|
|
|
|
:pswitch_18
|
|
|
|
:pswitch_17
|
|
|
|
:pswitch_16
|
|
|
|
:pswitch_15
|
|
|
|
:pswitch_14
|
|
|
|
:pswitch_13
|
|
|
|
:pswitch_12
|
|
|
|
:pswitch_11
|
|
|
|
:pswitch_10
|
|
|
|
:pswitch_f
|
|
|
|
:pswitch_e
|
|
|
|
:pswitch_d
|
|
|
|
:pswitch_c
|
|
|
|
:pswitch_b
|
|
|
|
:pswitch_a
|
|
|
|
:pswitch_9
|
|
|
|
:pswitch_8
|
|
|
|
:pswitch_7
|
|
|
|
:pswitch_6
|
|
|
|
:pswitch_5
|
|
|
|
:pswitch_4
|
|
|
|
:pswitch_3
|
|
|
|
:pswitch_2
|
|
|
|
:pswitch_1
|
|
|
|
.end packed-switch
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static launch(Landroid/content/Context;)V
|
|
|
|
.locals 3
|
|
|
|
|
|
|
|
const-class v0, Lcom/discord/widgets/settings/WidgetSettingsLanguage;
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
const/4 v2, 0x4
|
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
invoke-static {p0, v0, v1, v2}, Lf/a/b/m;->f(Landroid/content/Context;Ljava/lang/Class;Landroid/content/Intent;I)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2020-07-08 16:44:49 +00:00
|
|
|
.method public synthetic g(Ljava/lang/String;Ljava/lang/Integer;)Lkotlin/Unit;
|
2020-05-17 12:40:10 +00:00
|
|
|
.locals 1
|
|
|
|
|
|
|
|
invoke-static {}, Lcom/discord/stores/StoreStream;->getUserSettings()Lcom/discord/stores/StoreUserSettings;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lcom/discord/app/AppFragment;->getAppActivity()Lcom/discord/app/AppActivity;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {p2, v0, p1}, Lcom/discord/stores/StoreUserSettings;->setLocale(Lcom/discord/app/AppActivity;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
.method public getContentViewResId()I
|
|
|
|
.locals 1
|
|
|
|
|
2020-09-22 07:09:10 +00:00
|
|
|
const v0, 0x7f0d028e
|
2020-07-08 16:44:49 +00:00
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public synthetic h(Landroid/view/View;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
.locals 0
|
|
|
|
|
|
|
|
const/16 p1, 0xfa5
|
|
|
|
|
|
|
|
invoke-static {p0, p1}, Lcom/discord/widgets/settings/WidgetSettingsLanguageSelect;->show(Landroidx/fragment/app/Fragment;I)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public onActivityResult(IILandroid/content/Intent;)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-super {p0, p1, p2, p3}, Lcom/discord/app/AppFragment;->onActivityResult(IILandroid/content/Intent;)V
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
new-instance p2, Lf/a/o/f/d;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-direct {p2, p0}, Lf/a/o/f/d;-><init>(Lcom/discord/widgets/settings/WidgetSettingsLanguage;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-static {p1, p3, p2}, Lcom/discord/widgets/settings/WidgetSettingsLanguageSelect;->handleResult(ILandroid/content/Intent;Lkotlin/jvm/functions/Function2;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public onViewBound(Landroid/view/View;)V
|
|
|
|
.locals 1
|
|
|
|
.param p1 # Landroid/view/View;
|
|
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
|
|
.end annotation
|
|
|
|
.end param
|
|
|
|
|
|
|
|
invoke-super {p0, p1}, Lcom/discord/app/AppFragment;->onViewBound(Landroid/view/View;)V
|
|
|
|
|
2020-09-22 07:09:10 +00:00
|
|
|
const v0, 0x7f1217cc
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Lcom/discord/app/AppFragment;->setActionBarSubtitle(I)Lkotlin/Unit;
|
|
|
|
|
2020-09-22 07:09:10 +00:00
|
|
|
const v0, 0x7f120e56
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Lcom/discord/app/AppFragment;->setActionBarTitle(I)Lkotlin/Unit;
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lcom/discord/app/AppFragment;->setActionBarDisplayHomeAsUpEnabled()Landroidx/appcompat/widget/Toolbar;
|
|
|
|
|
2020-09-22 07:09:10 +00:00
|
|
|
const v0, 0x7f0a094a
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsLanguage;->language:Landroid/view/View;
|
|
|
|
|
2020-09-22 07:09:10 +00:00
|
|
|
const v0, 0x7f0a094c
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Landroid/widget/TextView;
|
|
|
|
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsLanguage;->languageText:Landroid/widget/TextView;
|
|
|
|
|
2020-09-22 07:09:10 +00:00
|
|
|
const v0, 0x7f0a094b
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Landroid/widget/ImageView;
|
|
|
|
|
|
|
|
iput-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsLanguage;->languageFlag:Landroid/widget/ImageView;
|
|
|
|
|
2020-09-22 07:09:10 +00:00
|
|
|
const v0, 0x7f0a0950
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
check-cast p1, Lcom/discord/views/CheckedSetting;
|
|
|
|
|
|
|
|
iput-object p1, p0, Lcom/discord/widgets/settings/WidgetSettingsLanguage;->syncSwitch:Lcom/discord/views/CheckedSetting;
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public onViewBoundOrOnResume()V
|
|
|
|
.locals 4
|
|
|
|
|
|
|
|
invoke-super {p0}, Lcom/discord/app/AppFragment;->onViewBoundOrOnResume()V
|
|
|
|
|
|
|
|
invoke-static {}, Lcom/discord/stores/StoreStream;->getUserSettings()Lcom/discord/stores/StoreUserSettings;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/discord/stores/StoreUserSettings;->getLocaleObservable()Lrx/Observable;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
invoke-static {p0}, Lf/a/b/s;->r(Lcom/discord/app/AppComponent;)Lrx/Observable$c;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {v1, v2}, Lrx/Observable;->k(Lrx/Observable$c;)Lrx/Observable;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
new-instance v2, Lf/a/o/f/b;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-direct {v2, p0}, Lf/a/o/f/b;-><init>(Lcom/discord/widgets/settings/WidgetSettingsLanguage;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
const-class v3, Lcom/discord/widgets/settings/WidgetSettingsLanguage;
|
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
invoke-static {v2, v3}, Lf/a/b/s;->g(Lrx/functions/Action1;Ljava/lang/Class;)Lrx/Observable$c;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {v1, v2}, Lrx/Observable;->k(Lrx/Observable$c;)Lrx/Observable;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/settings/WidgetSettingsLanguage;->syncSwitch:Lcom/discord/views/CheckedSetting;
|
|
|
|
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lcom/discord/stores/StoreUserSettings;->getLocaleSync()Z
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
invoke-virtual {v1, v2}, Lcom/discord/views/CheckedSetting;->setChecked(Z)V
|
|
|
|
|
|
|
|
iget-object v1, p0, Lcom/discord/widgets/settings/WidgetSettingsLanguage;->syncSwitch:Lcom/discord/views/CheckedSetting;
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
|
|
|
|
new-instance v2, Lf/a/o/f/a;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-direct {v2, v0}, Lf/a/o/f/a;-><init>(Lcom/discord/stores/StoreUserSettings;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-virtual {v1, v2}, Lcom/discord/views/CheckedSetting;->setOnCheckedListener(Lrx/functions/Action1;)V
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
iget-object v0, p0, Lcom/discord/widgets/settings/WidgetSettingsLanguage;->language:Landroid/view/View;
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
new-instance v1, Lf/a/o/f/c;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-direct {v1, p0}, Lf/a/o/f/c;-><init>(Lcom/discord/widgets/settings/WidgetSettingsLanguage;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
return-void
|
|
|
|
.end method
|