p$a.smali

.class final Lcom/appsflyer/internal/p$a;
.super Landroid/os/AsyncTask;
.source "SourceFile"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/appsflyer/internal/p;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = "a"
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Landroid/os/AsyncTask<",
        "Ljava/lang/Void;",
        "Ljava/lang/Void;",
        "Ljava/lang/Void;",
        ">;"
    }
.end annotation


# instance fields
.field private synthetic ˋ:Lcom/appsflyer/internal/p;

.field private ˏ:Ljava/lang/ref/WeakReference;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/lang/ref/WeakReference<",
            "Landroid/content/Context;",
            ">;"
        }
    .end annotation
.end field


# direct methods
.method public constructor <init>(Lcom/appsflyer/internal/p;Ljava/lang/ref/WeakReference;)V
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/ref/WeakReference<",
            "Landroid/content/Context;",
            ">;)V"
        }
    .end annotation

    .line 187
    iput-object p1, p0, Lcom/appsflyer/internal/p$a;->ˋ:Lcom/appsflyer/internal/p;

    invoke-direct {p0}, Landroid/os/AsyncTask;-><init>()V

    .line 188
    iput-object p2, p0, Lcom/appsflyer/internal/p$a;->ˏ:Ljava/lang/ref/WeakReference;

    return-void
.end method

.method private varargs ॱ()Ljava/lang/Void;
    .registers 3

    const-wide/16 v0, 0x1f4

    .line 193
    :try_start_2
    invoke-static {v0, v1}, Ljava/lang/Thread;->sleep(J)V
    :try_end_5
    .catch Ljava/lang/InterruptedException; {:try_start_2 .. :try_end_5} :catch_6

    goto :goto_c

    :catch_6
    move-exception v0

    const-string v1, "Sleeping attempt failed (essential for background state verification)\n"

    .line 195
    invoke-static {v1, v0}, Lcom/appsflyer/AFLogger;->afErrorLog(Ljava/lang/String;Ljava/lang/Throwable;)V

    .line 197
    :goto_c
    iget-object v0, p0, Lcom/appsflyer/internal/p$a;->ˋ:Lcom/appsflyer/internal/p;

    .line 1048
    iget-boolean v0, v0, Lcom/appsflyer/internal/p;->ˊ:Z

    if-eqz v0, :cond_31

    .line 197
    iget-object v0, p0, Lcom/appsflyer/internal/p$a;->ˋ:Lcom/appsflyer/internal/p;

    .line 2048
    iget-boolean v0, v0, Lcom/appsflyer/internal/p;->ˋ:Z

    if-eqz v0, :cond_31

    .line 198
    iget-object v0, p0, Lcom/appsflyer/internal/p$a;->ˋ:Lcom/appsflyer/internal/p;

    const/4 v1, 0x0

    .line 3048
    iput-boolean v1, v0, Lcom/appsflyer/internal/p;->ˊ:Z

    .line 200
    :try_start_1d
    iget-object v0, p0, Lcom/appsflyer/internal/p$a;->ˋ:Lcom/appsflyer/internal/p;

    .line 4048
    iget-object v0, v0, Lcom/appsflyer/internal/p;->ॱ:Lcom/appsflyer/internal/p$b;

    .line 200
    iget-object v1, p0, Lcom/appsflyer/internal/p$a;->ˏ:Ljava/lang/ref/WeakReference;

    invoke-interface {v0, v1}, Lcom/appsflyer/internal/p$b;->ˎ(Ljava/lang/ref/WeakReference;)V
    :try_end_26
    .catch Ljava/lang/Exception; {:try_start_1d .. :try_end_26} :catch_27

    goto :goto_31

    :catch_27
    move-exception v0

    const-string v1, "Listener threw exception! "

    .line 202
    invoke-static {v1, v0}, Lcom/appsflyer/AFLogger;->afErrorLog(Ljava/lang/String;Ljava/lang/Throwable;)V

    const/4 v0, 0x1

    .line 203
    invoke-virtual {p0, v0}, Landroid/os/AsyncTask;->cancel(Z)Z

    .line 206
    :cond_31
    :goto_31
    iget-object v0, p0, Lcom/appsflyer/internal/p$a;->ˏ:Ljava/lang/ref/WeakReference;

    invoke-virtual {v0}, Ljava/lang/ref/Reference;->clear()V

    const/4 v0, 0x0

    return-object v0
.end method


# virtual methods
.method protected final synthetic doInBackground([Ljava/lang/Object;)Ljava/lang/Object;
    .registers 2

    .line 183
    invoke-direct {p0}, Lcom/appsflyer/internal/p$a;->ॱ()Ljava/lang/Void;

    move-result-object p1

    return-object p1
.end method