ZenIdentityProvider$ConnectTask.smali

.class Lcom/avast/android/account/internal/identity/ZenIdentityProvider$ConnectTask;
.super Lcom/avast/android/utils/async/ThreadPoolTask;


# annotations
.annotation build Landroid/annotation/SuppressLint;
    value = {
        "StaticFieldLeak"
    }
.end annotation

.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/avast/android/account/internal/identity/ZenIdentityProvider;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x2
    name = "ConnectTask"
.end annotation


# instance fields
.field private a:I

.field final synthetic b:Lcom/avast/android/account/internal/identity/ZenIdentityProvider;


# direct methods
.method private constructor <init>(Lcom/avast/android/account/internal/identity/ZenIdentityProvider;)V
    .registers 2

    iput-object p1, p0, Lcom/avast/android/account/internal/identity/ZenIdentityProvider$ConnectTask;->b:Lcom/avast/android/account/internal/identity/ZenIdentityProvider;

    invoke-direct {p0}, Lcom/avast/android/utils/async/ThreadPoolTask;-><init>()V

    return-void
.end method

.method synthetic constructor <init>(Lcom/avast/android/account/internal/identity/ZenIdentityProvider;Lcom/avast/android/account/internal/identity/ZenIdentityProvider$1;)V
    .registers 3

    invoke-direct {p0, p1}, Lcom/avast/android/account/internal/identity/ZenIdentityProvider$ConnectTask;-><init>(Lcom/avast/android/account/internal/identity/ZenIdentityProvider;)V

    return-void
.end method


# virtual methods
.method public b()V
    .registers 4

    :try_start_0
    iget-object v0, p0, Lcom/avast/android/account/internal/identity/ZenIdentityProvider$ConnectTask;->b:Lcom/avast/android/account/internal/identity/ZenIdentityProvider;

    invoke-virtual {v0}, Lcom/avast/android/account/internal/identity/BaseIdentityProvider;->B()I

    move-result v0

    iput v0, p0, Lcom/avast/android/account/internal/identity/ZenIdentityProvider$ConnectTask;->a:I
    :try_end_8
    .catch Lcom/avast/android/account/internal/identity/CaptchaRequiredException; {:try_start_0 .. :try_end_8} :catch_9

    goto :goto_17

    :catch_9
    sget-object v0, Lcom/avast/android/account/internal/util/LH;->a:Lcom/avast/android/logging/Alf;

    const/4 v1, 0x0

    new-array v1, v1, [Ljava/lang/Object;

    const-string v2, "Captcha is required, but not supported for Brand Identity Provider."

    invoke-virtual {v0, v2, v1}, Lcom/avast/android/logging/Alf;->c(Ljava/lang/String;[Ljava/lang/Object;)V

    const/16 v0, 0x12f

    iput v0, p0, Lcom/avast/android/account/internal/identity/ZenIdentityProvider$ConnectTask;->a:I

    :goto_17
    return-void
.end method

.method protected d(Ljava/lang/Void;)V
    .registers 3

    iget-object p1, p0, Lcom/avast/android/account/internal/identity/ZenIdentityProvider$ConnectTask;->b:Lcom/avast/android/account/internal/identity/ZenIdentityProvider;

    iget v0, p0, Lcom/avast/android/account/internal/identity/ZenIdentityProvider$ConnectTask;->a:I

    invoke-virtual {p1, v0}, Lcom/avast/android/account/internal/identity/BaseIdentityProvider;->v(I)V

    return-void
.end method

.method protected bridge synthetic onPostExecute(Ljava/lang/Object;)V
    .registers 2

    check-cast p1, Ljava/lang/Void;

    invoke-virtual {p0, p1}, Lcom/avast/android/account/internal/identity/ZenIdentityProvider$ConnectTask;->d(Ljava/lang/Void;)V

    return-void
.end method