apkfuckery/com.discord/smali/f/c/a/a$d.smali

152 lines
3.5 KiB
Smali
Raw Normal View History

2020-07-08 16:44:49 +00:00
.class public Lf/c/a/a$d;
.super Ljava/lang/Object;
.source "ActivityHandler.java"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
2020-07-25 02:57:47 +00:00
value = Lf/c/a/a;->j(Lf/c/a/n0;)V
2020-07-08 16:44:49 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
2020-07-25 02:57:47 +00:00
.field public final synthetic d:Lf/c/a/n0;
2020-07-08 16:44:49 +00:00
.field public final synthetic e:Lf/c/a/a;
# direct methods
2020-07-25 02:57:47 +00:00
.method public constructor <init>(Lf/c/a/a;Lf/c/a/n0;)V
2020-07-08 16:44:49 +00:00
.locals 0
iput-object p1, p0, Lf/c/a/a$d;->e:Lf/c/a/a;
2020-07-25 02:57:47 +00:00
iput-object p2, p0, Lf/c/a/a$d;->d:Lf/c/a/n0;
2020-07-08 16:44:49 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 7
iget-object v0, p0, Lf/c/a/a$d;->e:Lf/c/a/a;
2020-07-25 02:57:47 +00:00
iget-object v1, p0, Lf/c/a/a$d;->d:Lf/c/a/n0;
2020-07-08 16:44:49 +00:00
if-eqz v0, :cond_3
2020-07-25 02:57:47 +00:00
iget-object v2, v1, Lf/c/a/r1;->c:Ljava/lang/String;
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
invoke-virtual {v0, v2}, Lf/c/a/a;->K(Ljava/lang/String;)V
2020-07-08 16:44:49 +00:00
new-instance v2, Landroid/os/Handler;
2020-07-25 02:57:47 +00:00
iget-object v3, v0, Lf/c/a/a;->m:Lf/c/a/w;
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
iget-object v3, v3, Lf/c/a/w;->d:Landroid/content/Context;
2020-07-08 16:44:49 +00:00
invoke-virtual {v3}, Landroid/content/Context;->getMainLooper()Landroid/os/Looper;
move-result-object v3
invoke-direct {v2, v3}, Landroid/os/Handler;-><init>(Landroid/os/Looper;)V
2020-07-25 02:57:47 +00:00
iget-object v3, v1, Lf/c/a/r1;->h:Lcom/adjust/sdk/AdjustAttribution;
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
invoke-virtual {v0, v3}, Lf/c/a/a;->L(Lcom/adjust/sdk/AdjustAttribution;)Z
2020-07-08 16:44:49 +00:00
move-result v3
if-eqz v3, :cond_0
2020-07-25 02:57:47 +00:00
invoke-virtual {v0, v2}, Lf/c/a/a;->v(Landroid/os/Handler;)V
2020-07-08 16:44:49 +00:00
:cond_0
2020-07-25 02:57:47 +00:00
iget-object v1, v1, Lf/c/a/n0;->i:Landroid/net/Uri;
2020-07-08 16:44:49 +00:00
if-nez v1, :cond_1
goto :goto_1
:cond_1
2020-07-25 02:57:47 +00:00
iget-object v3, v0, Lf/c/a/a;->d:Lf/c/a/w0;
2020-07-08 16:44:49 +00:00
const/4 v4, 0x1
new-array v4, v4, [Ljava/lang/Object;
const/4 v5, 0x0
aput-object v1, v4, v5
const-string v5, "Deferred deeplink received (%s)"
2020-07-25 02:57:47 +00:00
invoke-interface {v3, v5, v4}, Lf/c/a/w0;->h(Ljava/lang/String;[Ljava/lang/Object;)V
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
iget-object v3, v0, Lf/c/a/a;->m:Lf/c/a/w;
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
iget-object v3, v3, Lf/c/a/w;->m:Ljava/lang/Class;
2020-07-08 16:44:49 +00:00
const-string v4, "android.intent.action.VIEW"
if-nez v3, :cond_2
new-instance v3, Landroid/content/Intent;
invoke-direct {v3, v4, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;Landroid/net/Uri;)V
goto :goto_0
:cond_2
new-instance v3, Landroid/content/Intent;
2020-07-25 02:57:47 +00:00
iget-object v5, v0, Lf/c/a/a;->m:Lf/c/a/w;
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
iget-object v6, v5, Lf/c/a/w;->d:Landroid/content/Context;
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
iget-object v5, v5, Lf/c/a/w;->m:Ljava/lang/Class;
2020-07-08 16:44:49 +00:00
invoke-direct {v3, v4, v1, v6, v5}, Landroid/content/Intent;-><init>(Ljava/lang/String;Landroid/net/Uri;Landroid/content/Context;Ljava/lang/Class;)V
:goto_0
const/high16 v4, 0x10000000
invoke-virtual {v3, v4}, Landroid/content/Intent;->setFlags(I)Landroid/content/Intent;
2020-07-25 02:57:47 +00:00
iget-object v4, v0, Lf/c/a/a;->m:Lf/c/a/w;
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
iget-object v4, v4, Lf/c/a/w;->d:Landroid/content/Context;
2020-07-08 16:44:49 +00:00
invoke-virtual {v4}, Landroid/content/Context;->getPackageName()Ljava/lang/String;
move-result-object v4
invoke-virtual {v3, v4}, Landroid/content/Intent;->setPackage(Ljava/lang/String;)Landroid/content/Intent;
2020-07-25 02:57:47 +00:00
new-instance v4, Lf/c/a/r;
2020-07-08 16:44:49 +00:00
2020-07-25 02:57:47 +00:00
invoke-direct {v4, v0, v1, v3}, Lf/c/a/r;-><init>(Lf/c/a/a;Landroid/net/Uri;Landroid/content/Intent;)V
2020-07-08 16:44:49 +00:00
invoke-virtual {v2, v4}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
:goto_1
return-void
:cond_3
const/4 v0, 0x0
throw v0
.end method