apkfuckery/com.discord/smali/com/adjust/sdk/o$5.smali
2019-07-31 02:08:31 +02:00

99 lines
2.3 KiB
Smali

.class final Lcom/adjust/sdk/o$5;
.super Ljava/lang/Object;
.source "AttributionHandler.java"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/adjust/sdk/o;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic cl:Lcom/adjust/sdk/p;
.field final synthetic dz:Lcom/adjust/sdk/o;
# direct methods
.method constructor <init>(Lcom/adjust/sdk/o;Lcom/adjust/sdk/p;)V
.locals 0
iput-object p1, p0, Lcom/adjust/sdk/o$5;->dz:Lcom/adjust/sdk/o;
iput-object p2, p0, Lcom/adjust/sdk/o$5;->cl:Lcom/adjust/sdk/p;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final run()V
.locals 5
iget-object v0, p0, Lcom/adjust/sdk/o$5;->dz:Lcom/adjust/sdk/o;
iget-object v0, v0, Lcom/adjust/sdk/o;->dv:Ljava/lang/ref/WeakReference;
invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/adjust/sdk/v;
if-nez v0, :cond_0
return-void
:cond_0
iget-object v1, p0, Lcom/adjust/sdk/o$5;->dz:Lcom/adjust/sdk/o;
iget-object v2, p0, Lcom/adjust/sdk/o$5;->cl:Lcom/adjust/sdk/p;
invoke-virtual {v1, v0, v2}, Lcom/adjust/sdk/o;->a(Lcom/adjust/sdk/v;Lcom/adjust/sdk/ar;)V
iget-object v1, v2, Lcom/adjust/sdk/p;->di:Lorg/json/JSONObject;
if-eqz v1, :cond_1
iget-object v1, v2, Lcom/adjust/sdk/p;->di:Lorg/json/JSONObject;
const-string v3, "attribution"
invoke-virtual {v1, v3}, Lorg/json/JSONObject;->optJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;
move-result-object v1
if-eqz v1, :cond_1
const/4 v3, 0x0
const-string v4, "deeplink"
invoke-virtual {v1, v4, v3}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object v1
if-eqz v1, :cond_1
invoke-static {v1}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;
move-result-object v1
iput-object v1, v2, Lcom/adjust/sdk/p;->dA:Landroid/net/Uri;
:cond_1
invoke-interface {v0, v2}, Lcom/adjust/sdk/v;->a(Lcom/adjust/sdk/p;)V
return-void
.end method