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

84 lines
1.7 KiB
Smali
Raw Normal View History

2019-07-24 11:27:29 +00:00
.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
2019-10-09 23:16:36 +00:00
invoke-static {}, Lcom/adjust/sdk/e;->P()Lcom/adjust/sdk/k;
2019-07-24 11:27:29 +00:00
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
2019-10-07 23:23:22 +00:00
invoke-virtual {p2, v0}, Lcom/adjust/sdk/k;->d(Ljava/lang/String;)Z
2019-07-24 11:27:29 +00:00
move-result p1
if-eqz p1, :cond_2
2019-10-07 23:23:22 +00:00
iget-object p1, p2, Lcom/adjust/sdk/k;->bB:Lcom/adjust/sdk/v;
2019-07-24 11:27:29 +00:00
invoke-interface {p1}, Lcom/adjust/sdk/v;->isEnabled()Z
move-result p1
if-eqz p1, :cond_2
2019-10-07 23:23:22 +00:00
iget-object p1, p2, Lcom/adjust/sdk/k;->bB:Lcom/adjust/sdk/v;
2019-07-24 11:27:29 +00:00
2019-10-09 23:16:36 +00:00
invoke-interface {p1}, Lcom/adjust/sdk/v;->z()V
2019-07-24 11:27:29 +00:00
:cond_2
:goto_0
return-void
.end method