67 lines
1.6 KiB
Smali
67 lines
1.6 KiB
Smali
.class public Lcom/swiftsoft/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
|