ChannelHeaderView$e.smali

.class final Lcom/imo/android/imoim/publicchannel/view/ChannelHeaderView$e;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Landroidx/lifecycle/Observer;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/imo/android/imoim/publicchannel/view/ChannelHeaderView;->c()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<",
        "Ljava/lang/Boolean;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic a:Landroidx/lifecycle/LifecycleOwner;


# direct methods
.method constructor <init>(Landroidx/lifecycle/LifecycleOwner;)V
    .registers 2

    iput-object p1, p0, Lcom/imo/android/imoim/publicchannel/view/ChannelHeaderView$e;->a:Landroidx/lifecycle/LifecycleOwner;

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

    return-void
.end method


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

    .line 57
    check-cast p1, Ljava/lang/Boolean;

    const-string v0, "punished"

    .line 1194
    invoke-static {p1, v0}, Lkotlin/f/b/o;->a(Ljava/lang/Object;Ljava/lang/String;)V

    invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z

    move-result p1

    if-eqz p1, :cond_29

    .line 1195
    invoke-static {}, Lcom/imo/android/imoim/IMO;->a()Lcom/imo/android/imoim/IMO;

    move-result-object p1

    check-cast p1, Landroid/content/Context;

    const v0, 0x7f0f0212

    const/16 v1, 0xbb8

    invoke-static {p1, v0, v1}, Lcom/imo/xui/util/e;->a(Landroid/content/Context;II)V

    .line 1196
    iget-object p1, p0, Lcom/imo/android/imoim/publicchannel/view/ChannelHeaderView$e;->a:Landroidx/lifecycle/LifecycleOwner;

    instance-of v0, p1, Landroid/app/Activity;

    if-nez v0, :cond_22

    const/4 p1, 0x0

    :cond_22
    check-cast p1, Landroid/app/Activity;

    if-eqz p1, :cond_29

    invoke-virtual {p1}, Landroid/app/Activity;->finish()V

    :cond_29
    return-void
.end method