NobleUpdateComponent$b.smali

.class final Lsg/bigo/live/support64/component/noblecomponent/NobleUpdateComponent$b;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Landroidx/lifecycle/Observer;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lsg/bigo/live/support64/component/noblecomponent/NobleUpdateComponent;->b()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x18
    name = null
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "<T:",
        "Ljava/lang/Object;",
        ">",
        "Ljava/lang/Object;",
        "Landroidx/lifecycle/Observer<",
        "Lcom/imo/android/imoim/noble/data/NobleUpdateMessage;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic a:Lsg/bigo/live/support64/component/noblecomponent/NobleUpdateComponent;


# direct methods
.method constructor <init>(Lsg/bigo/live/support64/component/noblecomponent/NobleUpdateComponent;)V
    .registers 2

    iput-object p1, p0, Lsg/bigo/live/support64/component/noblecomponent/NobleUpdateComponent$b;->a:Lsg/bigo/live/support64/component/noblecomponent/NobleUpdateComponent;

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

    return-void
.end method


# virtual methods
.method public final synthetic onChanged(Ljava/lang/Object;)V
    .registers 8

    .line 34
    check-cast p1, Lcom/imo/android/imoim/noble/data/NobleUpdateMessage;

    if-eqz p1, :cond_67

    .line 1054
    iget-object v0, p0, Lsg/bigo/live/support64/component/noblecomponent/NobleUpdateComponent$b;->a:Lsg/bigo/live/support64/component/noblecomponent/NobleUpdateComponent;

    invoke-static {v0}, Lsg/bigo/live/support64/component/noblecomponent/NobleUpdateComponent;->a(Lsg/bigo/live/support64/component/noblecomponent/NobleUpdateComponent;)Lsg/bigo/core/component/a/d;

    move-result-object v0

    sget-object v1, Lsg/bigo/live/support64/component/a/a;->NOBLE_INFO_LEVEL_UPDATE:Lsg/bigo/live/support64/component/a/a;

    check-cast v1, Lsg/bigo/core/component/a/b;

    const/4 v2, 0x0

    invoke-interface {v0, v1, v2}, Lsg/bigo/core/component/a/d;->a(Lsg/bigo/core/component/a/b;Landroid/util/SparseArray;)V

    .line 1055
    iget-object v0, p0, Lsg/bigo/live/support64/component/noblecomponent/NobleUpdateComponent$b;->a:Lsg/bigo/live/support64/component/noblecomponent/NobleUpdateComponent;

    invoke-static {v0}, Lsg/bigo/live/support64/component/noblecomponent/NobleUpdateComponent;->b(Lsg/bigo/live/support64/component/noblecomponent/NobleUpdateComponent;)Lsg/bigo/live/support64/component/UserExtraInfoViewModel;

    move-result-object v0

    const/4 v1, 0x1

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

    const/4 v3, 0x0

    invoke-static {}, Lsg/bigo/live/support64/k;->a()Lsg/bigo/live/support64/o;

    move-result-object v4

    invoke-virtual {v4}, Lsg/bigo/live/support64/o;->p()J

    move-result-wide v4

    invoke-static {v4, v5}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v4

    aput-object v4, v1, v3

    invoke-static {v1}, Lkotlin/a/k;->c([Ljava/lang/Object;)Ljava/util/List;

    move-result-object v1

    invoke-virtual {v0, v1}, Lsg/bigo/live/support64/component/UserExtraInfoViewModel;->a(Ljava/util/List;)V

    .line 1056
    sget-object v0, Lcom/imo/android/imoim/setting/LiveSettingsDelegate;->INSTANCE:Lcom/imo/android/imoim/setting/LiveSettingsDelegate;

    invoke-virtual {v0}, Lcom/imo/android/imoim/setting/LiveSettingsDelegate;->getNobleSystemOpen()Z

    move-result v0

    if-eqz v0, :cond_60

    .line 1057
    sget-object v0, Lcom/imo/android/imoim/noble/component/levelupcomponent/view/NobleUpdateDialog;->a:Lcom/imo/android/imoim/noble/component/levelupcomponent/view/NobleUpdateDialog$a;

    iget-object v0, p0, Lsg/bigo/live/support64/component/noblecomponent/NobleUpdateComponent$b;->a:Lsg/bigo/live/support64/component/noblecomponent/NobleUpdateComponent;

    invoke-static {v0}, Lsg/bigo/live/support64/component/noblecomponent/NobleUpdateComponent;->c(Lsg/bigo/live/support64/component/noblecomponent/NobleUpdateComponent;)Lsg/bigo/live/support64/component/a;

    move-result-object v0

    instance-of v1, v0, Landroidx/fragment/app/FragmentActivity;

    if-nez v1, :cond_46

    goto :goto_47

    :cond_46
    move-object v2, v0

    :goto_47
    check-cast v2, Landroidx/fragment/app/FragmentActivity;

    invoke-static {v2, p1}, Lcom/imo/android/imoim/noble/component/levelupcomponent/view/NobleUpdateDialog$a;->a(Landroidx/fragment/app/FragmentActivity;Lcom/imo/android/imoim/noble/data/NobleUpdateMessage;)V

    .line 1058
    iget-object p1, p0, Lsg/bigo/live/support64/component/noblecomponent/NobleUpdateComponent$b;->a:Lsg/bigo/live/support64/component/noblecomponent/NobleUpdateComponent;

    invoke-static {p1}, Lsg/bigo/live/support64/component/noblecomponent/NobleUpdateComponent;->d(Lsg/bigo/live/support64/component/noblecomponent/NobleUpdateComponent;)Lsg/bigo/core/component/b/d;

    move-result-object p1

    const-class v0, Lsg/bigolive/revenue64/component/medal/a;

    invoke-interface {p1, v0}, Lsg/bigo/core/component/b/d;->b(Ljava/lang/Class;)Lsg/bigo/core/component/b/b;

    move-result-object p1

    check-cast p1, Lsg/bigolive/revenue64/component/medal/a;

    if-eqz p1, :cond_5f

    invoke-interface {p1}, Lsg/bigolive/revenue64/component/medal/a;->c()V

    :cond_5f
    return-void

    .line 1060
    :cond_60
    iget-object p1, p0, Lsg/bigo/live/support64/component/noblecomponent/NobleUpdateComponent$b;->a:Lsg/bigo/live/support64/component/noblecomponent/NobleUpdateComponent;

    const-string v0, "level dialog not in white list"

    invoke-static {p1, v0}, Lcom/imo/android/imoim/noble/c;->b(Lcom/imo/android/imoim/noble/a;Ljava/lang/String;)V

    :cond_67
    return-void
.end method