forked from anixart-mod/patcher
init
This commit is contained in:
Binary file not shown.
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector android:height="24.0dip" android:width="24.0dip" android:viewportWidth="24.0" android:viewportHeight="24.0"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="?iconAccentTintColor" android:pathData="M5,16L3,5L8.5,12L12,5L15.5,12L21,5L19,16H5M19,19A1,1 0 0,1 18,20H6A1,1 0 0,1 5,19V18H19V19Z" />
|
||||
</vector>
|
||||
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector android:height="24.0dip" android:width="24.0dip" android:viewportWidth="24.0" android:viewportHeight="24.0"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<path android:fillColor="?iconAccentTintColor" android:pathData="M9.78,18.65L10.06,14.42L17.74,7.5C18.08,7.19 17.67,7.04 17.22,7.31L7.74,13.3L3.64,12C2.76,11.75 2.75,11.14 3.84,10.7L19.81,4.54C20.54,4.21 21.24,4.72 20.96,5.84L18.24,18.65C18.05,19.56 17.5,19.78 16.74,19.36L12.6,16.3L10.61,18.23C10.38,18.46 10.19,18.65 9.78,18.65Z" />
|
||||
</vector>
|
||||
@@ -0,0 +1,87 @@
|
||||
.class public Lcom/wowlikon/about/$1;
|
||||
.super Landroid/graphics/drawable/GradientDrawable;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 1
|
||||
|
||||
.line 7
|
||||
invoke-direct {p0}, Landroid/graphics/drawable/GradientDrawable;-><init>()V
|
||||
|
||||
const/4 v0, -0x1
|
||||
|
||||
.line 8
|
||||
invoke-direct {p0, v0}, Lcom/wowlikon/about/$1;->oooooo(I)V
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
.line 9
|
||||
invoke-direct {p0, v0}, Lcom/wowlikon/about/$1;->oooooo(Z)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method private oooooo(I)V
|
||||
.locals 0
|
||||
|
||||
.line 21
|
||||
invoke-virtual {p0, p1}, Lcom/wowlikon/about/$1;->setTint(I)V
|
||||
|
||||
const/16 p1, 0xff
|
||||
|
||||
.line 22
|
||||
invoke-virtual {p0, p1}, Lcom/wowlikon/about/$1;->setAlpha(I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method private oooooo(Z)V
|
||||
.locals 3
|
||||
|
||||
.line 26
|
||||
invoke-virtual {p0, p1}, Lcom/wowlikon/about/$1;->setAutoMirrored(Z)V
|
||||
|
||||
const/16 p1, 0x7f
|
||||
|
||||
const/16 v0, 0x5f
|
||||
|
||||
const/16 v1, 0x64
|
||||
|
||||
const/16 v2, 0x7d
|
||||
|
||||
.line 27
|
||||
invoke-static {v1, v2, p1, v0}, Landroid/graphics/Color;->argb(IIII)I
|
||||
|
||||
move-result p1
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
invoke-virtual {p0, v0, p1}, Lcom/wowlikon/about/$1;->setStroke(II)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public oooooo(II)Lcom/wowlikon/about/$1;
|
||||
.locals 0
|
||||
|
||||
.line 13
|
||||
invoke-virtual {p0, p1}, Lcom/wowlikon/about/$1;->setColor(I)V
|
||||
|
||||
int-to-float p2, p2
|
||||
|
||||
.line 14
|
||||
invoke-virtual {p0, p2}, Lcom/wowlikon/about/$1;->setCornerRadius(F)V
|
||||
|
||||
.line 15
|
||||
invoke-direct {p0, p1}, Lcom/wowlikon/about/$1;->oooooo(I)V
|
||||
|
||||
const/4 p1, 0x1
|
||||
|
||||
.line 16
|
||||
invoke-direct {p0, p1}, Lcom/wowlikon/about/$1;->oooooo(Z)V
|
||||
|
||||
return-object p0
|
||||
.end method
|
||||
@@ -0,0 +1,633 @@
|
||||
.class public Lcom/wowlikon/about/$2;
|
||||
.super Ljava/lang/Object;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method static constructor <clinit>()V
|
||||
.locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 25
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public static oooooo(Landroid/content/Context;)Ljava/lang/Object;
|
||||
.locals 16
|
||||
|
||||
move-object/from16 v0, p0
|
||||
|
||||
const-string v1, "UTF-8"
|
||||
|
||||
.line 30
|
||||
const/4 v2, 0x0
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
const/4 v4, 0x0
|
||||
|
||||
if-nez v2, :cond_1
|
||||
|
||||
.line 31
|
||||
invoke-virtual/range {p0 .. p0}, Landroid/content/Context;->getPackageName()Ljava/lang/String;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-virtual {v0, v2, v4}, Landroid/content/Context;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
const-string v5, "files_dir"
|
||||
|
||||
const-string v6, ""
|
||||
|
||||
.line 33
|
||||
invoke-interface {v2, v5, v6}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
||||
|
||||
move-result-object v7
|
||||
|
||||
invoke-virtual {v7, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
||||
|
||||
move-result v6
|
||||
|
||||
if-eqz v6, :cond_0
|
||||
|
||||
.line 34
|
||||
invoke-interface {v2}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-virtual/range {p0 .. p0}, Landroid/content/Context;->getFilesDir()Ljava/io/File;
|
||||
|
||||
move-result-object v6
|
||||
|
||||
invoke-virtual {v6}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;
|
||||
|
||||
move-result-object v6
|
||||
|
||||
invoke-interface {v2, v5, v6}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-interface {v2}, Landroid/content/SharedPreferences$Editor;->apply()V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
return-object v3
|
||||
|
||||
.line 40
|
||||
:cond_1
|
||||
:goto_0
|
||||
invoke-virtual/range {p0 .. p0}, Landroid/content/Context;->getAssets()Landroid/content/res/AssetManager;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
const-string v5, "OpenSans-Regular.ttf"
|
||||
|
||||
invoke-static {v2, v5}, Landroid/graphics/Typeface;->createFromAsset(Landroid/content/res/AssetManager;Ljava/lang/String;)Landroid/graphics/Typeface;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
const-string v5, "#FF252525"
|
||||
|
||||
.line 43
|
||||
invoke-static {v5}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I
|
||||
|
||||
move-result v6
|
||||
|
||||
const-string v7, "#FFFFFFFF"
|
||||
|
||||
.line 44
|
||||
invoke-static {v7}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I
|
||||
|
||||
move-result v7
|
||||
|
||||
const-string v8, "#FFCFF04D"
|
||||
|
||||
.line 45
|
||||
invoke-static {v8}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I
|
||||
|
||||
move-result v8
|
||||
|
||||
const-string v9, "#FFFFFFFF"
|
||||
|
||||
.line 46
|
||||
invoke-static {v9}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I
|
||||
|
||||
move-result v9
|
||||
|
||||
.line 47
|
||||
const-string v5, "#FF252525"
|
||||
|
||||
invoke-static {v5}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I
|
||||
|
||||
move-result v5
|
||||
|
||||
const-string v10, "#FFCFF04D"
|
||||
|
||||
.line 48
|
||||
invoke-static {v10}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I
|
||||
|
||||
move-result v10
|
||||
|
||||
.line 61
|
||||
:try_start_0
|
||||
invoke-virtual/range {p0 .. p0}, Landroid/content/Context;->getAssets()Landroid/content/res/AssetManager;
|
||||
|
||||
move-result-object v11
|
||||
|
||||
const-string v12, "wowlikon.png"
|
||||
|
||||
invoke-virtual {v11, v12}, Landroid/content/res/AssetManager;->open(Ljava/lang/String;)Ljava/io/InputStream;
|
||||
|
||||
move-result-object v11
|
||||
|
||||
invoke-static {v11, v3}, Landroid/graphics/drawable/BitmapDrawable;->createFromStream(Ljava/io/InputStream;Ljava/lang/String;)Landroid/graphics/drawable/Drawable;
|
||||
|
||||
move-result-object v11
|
||||
|
||||
check-cast v11, Landroid/graphics/drawable/BitmapDrawable;
|
||||
:try_end_0
|
||||
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
||||
|
||||
move-object v3, v11
|
||||
|
||||
goto :goto_1
|
||||
|
||||
.line 63
|
||||
:catch_0
|
||||
invoke-static {}, Landroid/os/Process;->myPid()I
|
||||
|
||||
move-result v11
|
||||
|
||||
invoke-static {v11}, Landroid/os/Process;->killProcess(I)V
|
||||
|
||||
.line 66
|
||||
:goto_1
|
||||
new-instance v11, Landroid/app/AlertDialog$Builder;
|
||||
|
||||
const v12, 0x103023d
|
||||
|
||||
invoke-direct {v11, v0, v12}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;I)V
|
||||
|
||||
const-string v12, "wowlikon+ID"
|
||||
|
||||
.line 67
|
||||
invoke-virtual {v11, v12}, Landroid/app/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;
|
||||
|
||||
move-result-object v11
|
||||
|
||||
.line 68
|
||||
invoke-virtual {v11, v3}, Landroid/app/AlertDialog$Builder;->setIcon(Landroid/graphics/drawable/Drawable;)Landroid/app/AlertDialog$Builder;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
const-string v11, "%D0%9C%D0%BE%D0%B4+%D1%81%D0%B4%D0%B5%D0%BB%D0%B0%D0%BD+wowlikon+%D1%81+%D0%BD%D0%BE%D0%B2%D1%8B%D1%8B%D0%BC%D0%B8+%D1%84%D1%83%D0%BD%D0%BA%D1%86%D0%B8%D1%8F%D0%BC%D0%B8%21%0A%0A%D0%A1%D0%B4%D0%B5%D0%BB%D0%B0%D0%BD%D0%BE+%D1%81+%E2%9D%A4%EF%B8%8F+%D0%BE%D1%82+wowlikon"
|
||||
|
||||
.line 69
|
||||
invoke-virtual {v3, v11}, Landroid/app/AlertDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
new-instance v11, Lcom/wowlikon/about/$4;
|
||||
|
||||
invoke-direct {v11}, Lcom/wowlikon/about/$4;-><init>()V
|
||||
|
||||
const-string v12, "\u041c\u044b \u0432 Telegram"
|
||||
|
||||
.line 70
|
||||
invoke-virtual {v3, v12, v11}, Landroid/app/AlertDialog$Builder;->setPositiveButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
new-instance v11, Lcom/wowlikon/about/$3;
|
||||
|
||||
invoke-direct {v11}, Lcom/wowlikon/about/$3;-><init>()V
|
||||
|
||||
const-string v12, "\u041f\u043e\u043d\u044f\u0442\u043d\u043e"
|
||||
|
||||
.line 71
|
||||
invoke-virtual {v3, v12, v11}, Landroid/app/AlertDialog$Builder;->setNeutralButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
.line 72
|
||||
invoke-virtual {v3, v4}, Landroid/app/AlertDialog$Builder;->setCancelable(Z)Landroid/app/AlertDialog$Builder;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
.line 73
|
||||
invoke-virtual {v3}, Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
.line 75
|
||||
new-instance v11, Lcom/wowlikon/about/$1;
|
||||
|
||||
invoke-direct {v11}, Lcom/wowlikon/about/$1;-><init>()V
|
||||
|
||||
const/16 v12, 0x14
|
||||
|
||||
invoke-virtual {v11, v5, v12}, Lcom/wowlikon/about/$1;->oooooo(II)Lcom/wowlikon/about/$1;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
.line 77
|
||||
invoke-virtual {v3}, Landroid/app/Dialog;->getWindow()Landroid/view/Window;
|
||||
|
||||
move-result-object v11
|
||||
|
||||
invoke-virtual {v11, v5}, Landroid/view/Window;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V
|
||||
|
||||
.line 78
|
||||
invoke-virtual {v3}, Landroid/app/Dialog;->show()V
|
||||
|
||||
.line 80
|
||||
invoke-virtual {v3}, Landroid/app/Dialog;->isShowing()Z
|
||||
|
||||
move-result v5
|
||||
|
||||
if-nez v5, :cond_2
|
||||
|
||||
.line 81
|
||||
invoke-virtual {v3}, Landroid/app/Dialog;->show()V
|
||||
|
||||
.line 84
|
||||
:cond_2
|
||||
:try_start_1
|
||||
invoke-virtual {v3}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
const-string v11, "isShowing"
|
||||
|
||||
new-array v12, v4, [Ljava/lang/Class;
|
||||
|
||||
invoke-virtual {v5, v11, v12}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
new-array v11, v4, [Ljava/lang/Object;
|
||||
|
||||
invoke-virtual {v5, v3, v11}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
sget-object v11, Ljava/lang/Boolean;->FALSE:Ljava/lang/Boolean;
|
||||
|
||||
if-ne v5, v11, :cond_3
|
||||
|
||||
.line 85
|
||||
invoke-virtual {v3}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
const-string v11, "show"
|
||||
|
||||
new-array v12, v4, [Ljava/lang/Class;
|
||||
|
||||
invoke-virtual {v5, v11, v12}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
new-array v4, v4, [Ljava/lang/Object;
|
||||
|
||||
invoke-virtual {v5, v3, v4}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
||||
:try_end_1
|
||||
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1
|
||||
|
||||
goto :goto_2
|
||||
|
||||
.line 87
|
||||
:catch_1
|
||||
invoke-static {}, Landroid/os/Process;->myPid()I
|
||||
|
||||
move-result v4
|
||||
|
||||
invoke-static {v4}, Landroid/os/Process;->killProcess(I)V
|
||||
|
||||
.line 90
|
||||
:cond_3
|
||||
:goto_2
|
||||
new-instance v4, Landroid/util/DisplayMetrics;
|
||||
|
||||
invoke-direct {v4}, Landroid/util/DisplayMetrics;-><init>()V
|
||||
|
||||
.line 91
|
||||
invoke-virtual {v3}, Landroid/app/Dialog;->getWindow()Landroid/view/Window;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
invoke-virtual {v5}, Landroid/view/Window;->getWindowManager()Landroid/view/WindowManager;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
invoke-interface {v5}, Landroid/view/WindowManager;->getDefaultDisplay()Landroid/view/Display;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
invoke-virtual {v5, v4}, Landroid/view/Display;->getMetrics(Landroid/util/DisplayMetrics;)V
|
||||
|
||||
.line 92
|
||||
iget v5, v4, Landroid/util/DisplayMetrics;->widthPixels:I
|
||||
|
||||
int-to-float v5, v5
|
||||
|
||||
.line 93
|
||||
iget v11, v4, Landroid/util/DisplayMetrics;->densityDpi:I
|
||||
|
||||
const/16 v12, 0x3c0
|
||||
|
||||
if-lt v11, v12, :cond_4
|
||||
|
||||
const/high16 v11, 0x3f000000 # 0.5f
|
||||
|
||||
:goto_3
|
||||
mul-float v5, v5, v11
|
||||
|
||||
goto :goto_4
|
||||
|
||||
:cond_4
|
||||
const/16 v12, 0x280
|
||||
|
||||
if-lt v11, v12, :cond_5
|
||||
|
||||
const v11, 0x3f19999a # 0.6f
|
||||
|
||||
goto :goto_3
|
||||
|
||||
:cond_5
|
||||
const/high16 v11, 0x3f400000 # 0.75f
|
||||
|
||||
goto :goto_3
|
||||
|
||||
.line 102
|
||||
:goto_4
|
||||
invoke-virtual {v3}, Landroid/app/Dialog;->getWindow()Landroid/view/Window;
|
||||
|
||||
move-result-object v11
|
||||
|
||||
float-to-int v5, v5
|
||||
|
||||
const/4 v12, -0x2
|
||||
|
||||
invoke-virtual {v11, v5, v12}, Landroid/view/Window;->setLayout(II)V
|
||||
|
||||
.line 104
|
||||
invoke-virtual/range {p0 .. p0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
const-string v11, "title_template"
|
||||
|
||||
const-string v13, "id"
|
||||
|
||||
const-string v14, "android"
|
||||
|
||||
invoke-virtual {v5, v11, v13, v14}, Landroid/content/res/Resources;->getIdentifier(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)I
|
||||
|
||||
move-result v5
|
||||
|
||||
invoke-virtual {v3, v5}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
check-cast v5, Landroid/widget/LinearLayout;
|
||||
|
||||
const v11, 0x1020006
|
||||
|
||||
.line 105
|
||||
invoke-virtual {v3, v11}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;
|
||||
|
||||
move-result-object v11
|
||||
|
||||
check-cast v11, Landroid/widget/ImageView;
|
||||
|
||||
.line 106
|
||||
invoke-virtual/range {p0 .. p0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const-string v15, "alertTitle"
|
||||
|
||||
invoke-virtual {v0, v15, v13, v14}, Landroid/content/res/Resources;->getIdentifier(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)I
|
||||
|
||||
move-result v0
|
||||
|
||||
invoke-virtual {v3, v0}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, Landroid/widget/TextView;
|
||||
|
||||
const v13, 0x102000b
|
||||
|
||||
.line 107
|
||||
invoke-virtual {v3, v13}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;
|
||||
|
||||
move-result-object v13
|
||||
|
||||
check-cast v13, Landroid/widget/TextView;
|
||||
|
||||
const v14, 0x1020019
|
||||
|
||||
.line 108
|
||||
invoke-virtual {v3, v14}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;
|
||||
|
||||
move-result-object v14
|
||||
|
||||
check-cast v14, Landroid/widget/Button;
|
||||
|
||||
const v15, 0x102001b
|
||||
|
||||
.line 109
|
||||
invoke-virtual {v3, v15}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
check-cast v3, Landroid/widget/Button;
|
||||
|
||||
.line 112
|
||||
:try_start_2
|
||||
invoke-virtual {v13}, Landroid/widget/TextView;->getText()Ljava/lang/CharSequence;
|
||||
|
||||
move-result-object v15
|
||||
|
||||
invoke-interface {v15}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v15
|
||||
|
||||
invoke-static {v15, v1}, Ljava/net/URLDecoder;->decode(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
||||
|
||||
move-result-object v15
|
||||
|
||||
invoke-virtual {v13, v15}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
||||
:try_end_2
|
||||
.catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_2
|
||||
|
||||
goto :goto_5
|
||||
|
||||
:catch_2
|
||||
const-string v15, "Error: failed to decode one or multiple special characters"
|
||||
|
||||
.line 114
|
||||
invoke-virtual {v13, v15}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
||||
|
||||
.line 118
|
||||
:goto_5
|
||||
:try_start_3
|
||||
invoke-virtual {v0}, Landroid/widget/TextView;->getText()Ljava/lang/CharSequence;
|
||||
|
||||
move-result-object v15
|
||||
|
||||
invoke-interface {v15}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;
|
||||
|
||||
move-result-object v15
|
||||
|
||||
invoke-static {v15, v1}, Ljava/net/URLDecoder;->decode(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
||||
:try_end_3
|
||||
.catch Ljava/lang/Exception; {:try_start_3 .. :try_end_3} :catch_3
|
||||
|
||||
goto :goto_6
|
||||
|
||||
:catch_3
|
||||
const-string v1, "Unknown special characters"
|
||||
|
||||
.line 120
|
||||
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
||||
|
||||
:goto_6
|
||||
const/high16 v1, 0x41a00000 # 20.0f
|
||||
|
||||
const/4 v15, 0x1
|
||||
|
||||
.line 123
|
||||
invoke-static {v15, v1, v4}, Landroid/util/TypedValue;->applyDimension(IFLandroid/util/DisplayMetrics;)F
|
||||
|
||||
move-result v1
|
||||
|
||||
float-to-int v1, v1
|
||||
|
||||
const/high16 v12, 0x41700000 # 15.0f
|
||||
|
||||
move-object/from16 p0, v3
|
||||
|
||||
.line 124
|
||||
invoke-static {v15, v12, v4}, Landroid/util/TypedValue;->applyDimension(IFLandroid/util/DisplayMetrics;)F
|
||||
|
||||
move-result v3
|
||||
|
||||
float-to-int v3, v3
|
||||
|
||||
.line 125
|
||||
invoke-virtual {v5, v10}, Landroid/widget/LinearLayout;->setBackgroundColor(I)V
|
||||
|
||||
const/16 v10, 0x11
|
||||
|
||||
.line 126
|
||||
invoke-virtual {v5, v10}, Landroid/widget/LinearLayout;->setGravity(I)V
|
||||
|
||||
.line 127
|
||||
invoke-virtual {v5, v1, v3, v1, v3}, Landroid/widget/LinearLayout;->setPadding(IIII)V
|
||||
|
||||
const/high16 v1, 0x42820000 # 65.0f
|
||||
|
||||
.line 129
|
||||
invoke-static {v15, v1, v4}, Landroid/util/TypedValue;->applyDimension(IFLandroid/util/DisplayMetrics;)F
|
||||
|
||||
move-result v1
|
||||
|
||||
float-to-int v1, v1
|
||||
|
||||
.line 130
|
||||
new-instance v3, Landroid/widget/LinearLayout$LayoutParams;
|
||||
|
||||
invoke-direct {v3, v1, v1}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V
|
||||
|
||||
.line 131
|
||||
invoke-static {v15, v12, v4}, Landroid/util/TypedValue;->applyDimension(IFLandroid/util/DisplayMetrics;)F
|
||||
|
||||
move-result v1
|
||||
|
||||
float-to-int v1, v1
|
||||
|
||||
iput v1, v3, Landroid/widget/LinearLayout$LayoutParams;->rightMargin:I
|
||||
|
||||
.line 133
|
||||
invoke-virtual {v11, v3}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
|
||||
|
||||
.line 134
|
||||
sget-object v1, Landroid/widget/ImageView$ScaleType;->FIT_XY:Landroid/widget/ImageView$ScaleType;
|
||||
|
||||
invoke-virtual {v11, v1}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V
|
||||
|
||||
.line 136
|
||||
invoke-virtual {v13, v15}, Landroid/widget/TextView;->setTextAlignment(I)V
|
||||
|
||||
const/16 v1, 0x11
|
||||
|
||||
.line 137
|
||||
invoke-virtual {v13, v1}, Landroid/widget/TextView;->setGravity(I)V
|
||||
|
||||
.line 138
|
||||
invoke-virtual {v13, v7}, Landroid/widget/TextView;->setTextColor(I)V
|
||||
|
||||
.line 139
|
||||
invoke-virtual {v13, v2}, Landroid/widget/TextView;->setTypeface(Landroid/graphics/Typeface;)V
|
||||
|
||||
.line 141
|
||||
invoke-virtual {v2}, Landroid/graphics/Typeface;->isBold()Z
|
||||
|
||||
move-result v1
|
||||
|
||||
invoke-virtual {v0, v2, v1}, Landroid/widget/TextView;->setTypeface(Landroid/graphics/Typeface;I)V
|
||||
|
||||
.line 142
|
||||
invoke-virtual {v0, v6}, Landroid/widget/TextView;->setTextColor(I)V
|
||||
|
||||
.line 143
|
||||
new-instance v1, Landroid/widget/LinearLayout$LayoutParams;
|
||||
|
||||
const/4 v3, -0x2
|
||||
|
||||
invoke-direct {v1, v3, v3}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V
|
||||
|
||||
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
|
||||
|
||||
const/4 v1, 0x2
|
||||
|
||||
.line 144
|
||||
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setMaxLines(I)V
|
||||
|
||||
.line 145
|
||||
sget-object v1, Landroid/text/TextUtils$TruncateAt;->END:Landroid/text/TextUtils$TruncateAt;
|
||||
|
||||
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setEllipsize(Landroid/text/TextUtils$TruncateAt;)V
|
||||
|
||||
.line 147
|
||||
invoke-virtual {v14, v8}, Landroid/widget/Button;->setTextColor(I)V
|
||||
|
||||
.line 148
|
||||
invoke-virtual {v14, v2}, Landroid/widget/Button;->setTypeface(Landroid/graphics/Typeface;)V
|
||||
|
||||
move-object/from16 v3, p0
|
||||
|
||||
.line 150
|
||||
invoke-virtual {v3, v9}, Landroid/widget/Button;->setTextColor(I)V
|
||||
|
||||
.line 151
|
||||
invoke-virtual {v3, v2}, Landroid/widget/Button;->setTypeface(Landroid/graphics/Typeface;)V
|
||||
|
||||
return-object v2
|
||||
.end method
|
||||
@@ -0,0 +1,83 @@
|
||||
.class public Lcom/wowlikon/about/$3;
|
||||
.super Ljava/lang/Object;
|
||||
|
||||
# interfaces
|
||||
.implements Landroid/content/DialogInterface$OnClickListener;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 11
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public onClick(Landroid/content/DialogInterface;I)V
|
||||
.locals 1
|
||||
|
||||
.line 23
|
||||
invoke-virtual {p0, p1}, Lcom/wowlikon/about/$3;->oooooo(Ljava/lang/Object;)V
|
||||
|
||||
const-string p1, "Dialog"
|
||||
|
||||
const-string p2, "Dismissed"
|
||||
|
||||
.line 24
|
||||
invoke-static {p1, p2}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I
|
||||
|
||||
.line 25
|
||||
invoke-static {}, Ljava/util/logging/Logger;->getGlobal()Ljava/util/logging/Logger;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
sget-object p2, Ljava/util/logging/Level;->INFO:Ljava/util/logging/Level;
|
||||
|
||||
const-string v0, "Dialog Cancelled"
|
||||
|
||||
invoke-virtual {p1, p2, v0}, Ljava/util/logging/Logger;->log(Ljava/util/logging/Level;Ljava/lang/String;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method protected oooooo(Ljava/lang/Object;)V
|
||||
.locals 1
|
||||
|
||||
.line 13
|
||||
instance-of v0, p1, Landroid/app/AlertDialog;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
.line 14
|
||||
check-cast p1, Landroid/app/AlertDialog;
|
||||
|
||||
invoke-virtual {p1}, Landroid/app/AlertDialog;->dismiss()V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
.line 15
|
||||
:cond_0
|
||||
instance-of v0, p1, Landroid/app/Dialog;
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
|
||||
.line 16
|
||||
check-cast p1, Landroid/app/Dialog;
|
||||
|
||||
invoke-virtual {p1}, Landroid/app/Dialog;->dismiss()V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
.line 18
|
||||
:cond_1
|
||||
check-cast p1, Landroid/content/DialogInterface;
|
||||
|
||||
invoke-interface {p1}, Landroid/content/DialogInterface;->dismiss()V
|
||||
|
||||
:goto_0
|
||||
return-void
|
||||
.end method
|
||||
@@ -0,0 +1,66 @@
|
||||
.class public Lcom/wowlikon/about/$4;
|
||||
.super Ljava/lang/Object;
|
||||
|
||||
# interfaces
|
||||
.implements Landroid/content/DialogInterface$OnClickListener;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
.line 12
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public onClick(Landroid/content/DialogInterface;I)V
|
||||
.locals 2
|
||||
|
||||
.line 15
|
||||
invoke-interface {p1}, Landroid/content/DialogInterface;->dismiss()V
|
||||
|
||||
.line 17
|
||||
check-cast p1, Landroid/app/Dialog;
|
||||
|
||||
invoke-virtual {p1}, Landroid/app/Dialog;->getContext()Landroid/content/Context;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
new-instance p2, Landroid/content/Intent;
|
||||
|
||||
const-string v0, "https://t.me/wowlikon"
|
||||
|
||||
invoke-static {v0}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
const-string v1, "android.intent.action.VIEW"
|
||||
|
||||
invoke-direct {p2, v1, v0}, Landroid/content/Intent;-><init>(Ljava/lang/String;Landroid/net/Uri;)V
|
||||
|
||||
invoke-virtual {p1, p2}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V
|
||||
|
||||
const-string p1, "Dialog"
|
||||
|
||||
const-string p2, "Redirected"
|
||||
|
||||
.line 18
|
||||
invoke-static {p1, p2}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I
|
||||
|
||||
.line 19
|
||||
invoke-static {}, Ljava/util/logging/Logger;->getGlobal()Ljava/util/logging/Logger;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
sget-object p2, Ljava/util/logging/Level;->INFO:Ljava/util/logging/Level;
|
||||
|
||||
const-string v0, "Dialog Channel Link Clicked"
|
||||
|
||||
invoke-virtual {p1, p2, v0}, Ljava/util/logging/Logger;->log(Ljava/util/logging/Level;Ljava/lang/String;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
@@ -0,0 +1,2 @@
|
||||
.class public Lcom/wowlikon/authorization/AutoLogin;
|
||||
.super Ljava/lang/Object;
|
||||
@@ -0,0 +1,2 @@
|
||||
.class public Lcom/wowlikon/authorization/FirebaseDB;
|
||||
.super Ljava/lang/Object;
|
||||
@@ -0,0 +1,2 @@
|
||||
.class public Lcom/wowlikon/authorization/Login;
|
||||
.super Ljava/lang/Object;
|
||||
@@ -0,0 +1,2 @@
|
||||
.class public Lcom/wowlikon/authorization/SaveLoginLocal;
|
||||
.super Ljava/lang/Object;
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 4.2 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 26 MiB |
Binary file not shown.
Reference in New Issue
Block a user