apkfuckery/com.discord/smali/com/adjust/sdk/o$5.smali

100 lines
2.3 KiB
Smali
Raw Normal View History

2019-07-24 11:27:29 +00:00
.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
2019-10-09 23:16:36 +00:00
.field final synthetic aB:Lcom/adjust/sdk/p;
2019-07-24 11:27:29 +00:00
2019-10-23 04:50:18 +00:00
.field final synthetic bQ:Lcom/adjust/sdk/o;
2019-07-24 11:27:29 +00:00
# direct methods
.method constructor <init>(Lcom/adjust/sdk/o;Lcom/adjust/sdk/p;)V
.locals 0
2019-10-23 04:50:18 +00:00
iput-object p1, p0, Lcom/adjust/sdk/o$5;->bQ:Lcom/adjust/sdk/o;
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
iput-object p2, p0, Lcom/adjust/sdk/o$5;->aB:Lcom/adjust/sdk/p;
2019-07-24 11:27:29 +00:00
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final run()V
.locals 5
2019-10-23 04:50:18 +00:00
iget-object v0, p0, Lcom/adjust/sdk/o$5;->bQ:Lcom/adjust/sdk/o;
2019-07-24 11:27:29 +00:00
2019-10-07 23:23:22 +00:00
iget-object v0, v0, Lcom/adjust/sdk/o;->bM:Ljava/lang/ref/WeakReference;
2019-07-24 11:27:29 +00:00
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
2019-10-23 04:50:18 +00:00
iget-object v1, p0, Lcom/adjust/sdk/o$5;->bQ:Lcom/adjust/sdk/o;
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
iget-object v2, p0, Lcom/adjust/sdk/o$5;->aB:Lcom/adjust/sdk/p;
2019-07-24 11:27:29 +00:00
invoke-virtual {v1, v0, v2}, Lcom/adjust/sdk/o;->a(Lcom/adjust/sdk/v;Lcom/adjust/sdk/ar;)V
2019-10-07 23:23:22 +00:00
iget-object v1, v2, Lcom/adjust/sdk/p;->bz:Lorg/json/JSONObject;
2019-07-24 11:27:29 +00:00
if-eqz v1, :cond_1
2019-10-07 23:23:22 +00:00
iget-object v1, v2, Lcom/adjust/sdk/p;->bz:Lorg/json/JSONObject;
2019-07-24 11:27:29 +00:00
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
2019-10-23 04:50:18 +00:00
iput-object v1, v2, Lcom/adjust/sdk/p;->bR:Landroid/net/Uri;
2019-07-24 11:27:29 +00:00
:cond_1
invoke-interface {v0, v2}, Lcom/adjust/sdk/v;->a(Lcom/adjust/sdk/p;)V
return-void
.end method