apkfuckery/com.discord/smali/com/adjust/sdk/l.smali

89 lines
1.8 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class public final Lcom/adjust/sdk/l;
.super Landroid/content/BroadcastReceiver;
2019-02-04 20:29:01 +00:00
.source "AdjustReferrerReceiver.java"
2019-02-04 20:08:30 +00:00
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V
return-void
.end method
# virtual methods
.method public final onReceive(Landroid/content/Context;Landroid/content/Intent;)V
.locals 7
const-string v0, "referrer"
invoke-virtual {p2, v0}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
move-result-object v4
if-nez v4, :cond_0
return-void
:cond_0
invoke-static {}, Lcom/adjust/sdk/e;->W()Lcom/adjust/sdk/k;
move-result-object p2
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v5
2019-02-04 20:29:01 +00:00
if-eqz v4, :cond_3
2019-02-04 20:08:30 +00:00
invoke-virtual {v4}, Ljava/lang/String;->length()I
move-result v0
if-nez v0, :cond_1
goto :goto_0
:cond_1
new-instance v0, Lcom/adjust/sdk/k$1;
move-object v1, v0
move-object v2, p2
move-object v3, p1
invoke-direct/range {v1 .. v6}, Lcom/adjust/sdk/k$1;-><init>(Lcom/adjust/sdk/k;Landroid/content/Context;Ljava/lang/String;J)V
2019-02-17 02:24:41 +00:00
invoke-static {v0}, Lcom/adjust/sdk/az;->a(Ljava/lang/Runnable;)V
2019-02-04 20:08:30 +00:00
const-string p1, "referrer"
invoke-virtual {p2, p1}, Lcom/adjust/sdk/k;->e(Ljava/lang/String;)Z
move-result p1
if-eqz p1, :cond_2
2019-02-21 02:16:48 +00:00
iget-object p1, p2, Lcom/adjust/sdk/k;->dz:Lcom/adjust/sdk/v;
2019-02-04 20:08:30 +00:00
invoke-interface {p1}, Lcom/adjust/sdk/v;->isEnabled()Z
move-result p1
if-eqz p1, :cond_2
2019-02-21 02:16:48 +00:00
iget-object p1, p2, Lcom/adjust/sdk/k;->dz:Lcom/adjust/sdk/v;
2019-02-04 20:08:30 +00:00
invoke-interface {p1}, Lcom/adjust/sdk/v;->G()V
:cond_2
2019-02-04 20:29:01 +00:00
return-void
:cond_3
2019-02-04 20:08:30 +00:00
:goto_0
return-void
.end method