a.smali

.class public final synthetic Lcom/facebook/appevents/iap/a;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Ljava/lang/Runnable;


# static fields
.field public static final synthetic b:Lcom/facebook/appevents/iap/a;

.field public static final synthetic c:Lcom/facebook/appevents/iap/a;

.field public static final synthetic d:Lcom/facebook/appevents/iap/a;


# instance fields
.field public final synthetic a:I


# direct methods
.method static synthetic constructor <clinit>()V
    .registers 2

    new-instance v0, Lcom/facebook/appevents/iap/a;

    const/4 v1, 0x0

    invoke-direct {v0, v1}, Lcom/facebook/appevents/iap/a;-><init>(I)V

    sput-object v0, Lcom/facebook/appevents/iap/a;->b:Lcom/facebook/appevents/iap/a;

    new-instance v0, Lcom/facebook/appevents/iap/a;

    const/4 v1, 0x1

    invoke-direct {v0, v1}, Lcom/facebook/appevents/iap/a;-><init>(I)V

    sput-object v0, Lcom/facebook/appevents/iap/a;->c:Lcom/facebook/appevents/iap/a;

    new-instance v0, Lcom/facebook/appevents/iap/a;

    const/4 v1, 0x2

    invoke-direct {v0, v1}, Lcom/facebook/appevents/iap/a;-><init>(I)V

    sput-object v0, Lcom/facebook/appevents/iap/a;->d:Lcom/facebook/appevents/iap/a;

    return-void
.end method

.method public synthetic constructor <init>(I)V
    .registers 2

    iput p1, p0, Lcom/facebook/appevents/iap/a;->a:I

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public final run()V
    .registers 5

    iget v0, p0, Lcom/facebook/appevents/iap/a;->a:I

    const/4 v1, 0x1

    packed-switch v0, :pswitch_data_48

    goto :goto_3b

    .line 1
    :pswitch_7
    sget-object v0, Lcom/shopee/core/servicerouter/a;->a:Lcom/shopee/core/servicerouter/a;

    .line 2
    invoke-static {}, Lcom/shopee/app/application/n2;->e()Lcom/shopee/app/application/n2;

    move-result-object v2

    .line 3
    iget-object v2, v2, Lcom/shopee/app/application/n2;->g:Lcom/shopee/core/context/a;

    .line 4
    const-class v3, Lcom/shopee/friendcommon/external/decouple_api/b;

    .line 5
    invoke-virtual {v0, v2, v3}, Lcom/shopee/core/servicerouter/a;->b(Lcom/shopee/core/context/a;Ljava/lang/Class;)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/shopee/friendcommon/external/decouple_api/b;

    if-eqz v2, :cond_20

    .line 6
    invoke-interface {v2}, Lcom/shopee/friendcommon/external/decouple_api/b;->isFriendsContactsByAccountEnabled()Z

    move-result v2

    if-ne v2, v1, :cond_20

    goto :goto_21

    :cond_20
    const/4 v1, 0x0

    :goto_21
    if-eqz v1, :cond_36

    .line 7
    invoke-static {}, Lcom/shopee/app/application/n2;->e()Lcom/shopee/app/application/n2;

    move-result-object v1

    .line 8
    iget-object v1, v1, Lcom/shopee/app/application/n2;->g:Lcom/shopee/core/context/a;

    .line 9
    const-class v2, Lcom/shopee/friendcommon/external/decouple_api/c;

    .line 10
    invoke-virtual {v0, v1, v2}, Lcom/shopee/core/servicerouter/a;->b(Lcom/shopee/core/context/a;Ljava/lang/Class;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/shopee/friendcommon/external/decouple_api/c;

    if-eqz v0, :cond_36

    .line 11
    invoke-interface {v0}, Lcom/shopee/friendcommon/external/decouple_api/c;->syncShopeeFriends()V

    :cond_36
    return-void

    .line 12
    :pswitch_37
    invoke-static {}, Lcom/facebook/appevents/iap/InAppPurchaseActivityLifecycleTracker$initializeIfNotInitialized$2;->a()V

    return-void

    .line 13
    :goto_3b
    sget-object v0, Lcom/shopee/live/livewrapper/autofullscreen/a;->a:Lcom/shopee/live/livewrapper/autofullscreen/a$b;

    sput-boolean v1, Lcom/shopee/live/livewrapper/autofullscreen/a;->h:Z

    .line 14
    sget-boolean v2, Lcom/shopee/live/livewrapper/autofullscreen/a;->g:Z

    if-eqz v2, :cond_46

    .line 15
    invoke-virtual {v0, v1}, Lcom/shopee/live/livewrapper/autofullscreen/a$b;->f(Z)V

    :cond_46
    return-void

    nop

    :pswitch_data_48
    .packed-switch 0x0
        :pswitch_37
        :pswitch_7
    .end packed-switch
.end method