apkfuckery/com.discord/smali/com/adjust/sdk/a$22.smali

153 lines
3.6 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class final Lcom/adjust/sdk/a$22;
.super Ljava/lang/Object;
2019-02-04 20:29:01 +00:00
.source "ActivityHandler.java"
2019-02-04 20:08:30 +00:00
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/adjust/sdk/a;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic cF:Landroid/net/Uri;
.field final synthetic cG:Landroid/content/Intent;
.field final synthetic cv:Lcom/adjust/sdk/a;
# direct methods
.method constructor <init>(Lcom/adjust/sdk/a;Landroid/net/Uri;Landroid/content/Intent;)V
.locals 0
iput-object p1, p0, Lcom/adjust/sdk/a$22;->cv:Lcom/adjust/sdk/a;
iput-object p2, p0, Lcom/adjust/sdk/a$22;->cF:Landroid/net/Uri;
iput-object p3, p0, Lcom/adjust/sdk/a$22;->cG:Landroid/content/Intent;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final run()V
.locals 7
iget-object v0, p0, Lcom/adjust/sdk/a$22;->cv:Lcom/adjust/sdk/a;
iget-object v0, v0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
if-nez v0, :cond_0
return-void
:cond_0
iget-object v0, p0, Lcom/adjust/sdk/a$22;->cv:Lcom/adjust/sdk/a;
iget-object v0, v0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-object v0, v0, Lcom/adjust/sdk/AdjustConfig;->dl:Lcom/adjust/sdk/ag;
const/4 v1, 0x1
if-eqz v0, :cond_1
iget-object v0, p0, Lcom/adjust/sdk/a$22;->cv:Lcom/adjust/sdk/a;
iget-object v0, v0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-object v0, v0, Lcom/adjust/sdk/AdjustConfig;->dl:Lcom/adjust/sdk/ag;
invoke-interface {v0}, Lcom/adjust/sdk/ag;->aq()Z
move-result v0
goto :goto_0
:cond_1
const/4 v0, 0x1
:goto_0
if-eqz v0, :cond_4
iget-object v0, p0, Lcom/adjust/sdk/a$22;->cv:Lcom/adjust/sdk/a;
iget-object v2, p0, Lcom/adjust/sdk/a$22;->cG:Landroid/content/Intent;
iget-object v3, p0, Lcom/adjust/sdk/a$22;->cF:Landroid/net/Uri;
iget-object v4, v0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-object v4, v4, Lcom/adjust/sdk/AdjustConfig;->context:Landroid/content/Context;
invoke-virtual {v4}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
move-result-object v4
const/4 v5, 0x0
invoke-virtual {v4, v2, v5}, Landroid/content/pm/PackageManager;->queryIntentActivities(Landroid/content/Intent;I)Ljava/util/List;
move-result-object v4
invoke-interface {v4}, Ljava/util/List;->size()I
move-result v4
if-lez v4, :cond_2
const/4 v4, 0x1
goto :goto_1
:cond_2
const/4 v4, 0x0
:goto_1
if-nez v4, :cond_3
iget-object v0, v0, Lcom/adjust/sdk/a;->cj:Lcom/adjust/sdk/x;
const-string v2, "Unable to open deferred deep link (%s)"
new-array v1, v1, [Ljava/lang/Object;
aput-object v3, v1, v5
invoke-interface {v0, v2, v1}, Lcom/adjust/sdk/x;->f(Ljava/lang/String;[Ljava/lang/Object;)V
return-void
:cond_3
iget-object v4, v0, Lcom/adjust/sdk/a;->cj:Lcom/adjust/sdk/x;
const-string v6, "Open deferred deep link (%s)"
new-array v1, v1, [Ljava/lang/Object;
aput-object v3, v1, v5
invoke-interface {v4, v6, v1}, Lcom/adjust/sdk/x;->c(Ljava/lang/String;[Ljava/lang/Object;)V
iget-object v0, v0, Lcom/adjust/sdk/a;->cp:Lcom/adjust/sdk/AdjustConfig;
iget-object v0, v0, Lcom/adjust/sdk/AdjustConfig;->context:Landroid/content/Context;
invoke-virtual {v0, v2}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V
:cond_4
return-void
.end method