apkfuckery/com.discord/smali/com/adjust/sdk/l.smali
2019-05-03 20:53:54 +02:00

83 lines
1.7 KiB
Smali

.class public final Lcom/adjust/sdk/l;
.super Landroid/content/BroadcastReceiver;
.source "AdjustReferrerReceiver.java"
# 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 8
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
if-eqz v4, :cond_2
invoke-virtual {v4}, Ljava/lang/String;->length()I
move-result v1
if-nez v1, :cond_1
goto :goto_0
:cond_1
new-instance v7, Lcom/adjust/sdk/k$1;
move-object v1, v7
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
invoke-static {v7}, Lcom/adjust/sdk/az;->a(Ljava/lang/Runnable;)V
invoke-virtual {p2, v0}, Lcom/adjust/sdk/k;->e(Ljava/lang/String;)Z
move-result p1
if-eqz p1, :cond_2
iget-object p1, p2, Lcom/adjust/sdk/k;->di:Lcom/adjust/sdk/v;
invoke-interface {p1}, Lcom/adjust/sdk/v;->isEnabled()Z
move-result p1
if-eqz p1, :cond_2
iget-object p1, p2, Lcom/adjust/sdk/k;->di:Lcom/adjust/sdk/v;
invoke-interface {p1}, Lcom/adjust/sdk/v;->G()V
:cond_2
:goto_0
return-void
.end method