LiveSubmodule$2.smali

.class final Lcom/live/share64/LiveSubmodule$2;
.super Llive/sg/bigo/svcapi/r;
.source "SourceFile"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/live/share64/LiveSubmodule;
.end annotation

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

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Llive/sg/bigo/svcapi/r<",
        "Lcom/live/share64/proto/g/d;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic val$context:Landroid/content/Context;

.field final synthetic val$entrance:Ljava/lang/String;

.field final synthetic val$finalLoadingDialog:Lsg/bigo/live/support64/widget/a/b;

.field final synthetic val$shortUrl:Ljava/lang/String;


# direct methods
.method constructor <init>(Ljava/lang/String;Ljava/lang/String;Landroid/content/Context;Lsg/bigo/live/support64/widget/a/b;)V
    .registers 5

    .line 404
    iput-object p1, p0, Lcom/live/share64/LiveSubmodule$2;->val$shortUrl:Ljava/lang/String;

    iput-object p2, p0, Lcom/live/share64/LiveSubmodule$2;->val$entrance:Ljava/lang/String;

    iput-object p3, p0, Lcom/live/share64/LiveSubmodule$2;->val$context:Landroid/content/Context;

    iput-object p4, p0, Lcom/live/share64/LiveSubmodule$2;->val$finalLoadingDialog:Lsg/bigo/live/support64/widget/a/b;

    invoke-direct {p0}, Llive/sg/bigo/svcapi/r;-><init>()V

    return-void
.end method


# virtual methods
.method public final onUIResponse(Lcom/live/share64/proto/g/d;)V
    .registers 10

    .line 408
    iget v0, p1, Lcom/live/share64/proto/g/d;->b:I

    const/16 v1, 0xc8

    if-ne v0, v1, :cond_74

    .line 410
    iget-object v0, p0, Lcom/live/share64/LiveSubmodule$2;->val$shortUrl:Ljava/lang/String;

    if-eqz v0, :cond_18

    const-string v1, "enter_from="

    invoke-virtual {v0, v1}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_18

    const-string v0, "13"

    .line 411
    invoke-static {v0}, Lsg/bigo/live/support64/report/o;->b(Ljava/lang/String;)V

    goto :goto_1d

    .line 413
    :cond_18
    iget-object v0, p0, Lcom/live/share64/LiveSubmodule$2;->val$entrance:Ljava/lang/String;

    invoke-static {v0}, Lsg/bigo/live/support64/report/o;->b(Ljava/lang/String;)V

    .line 416
    :goto_1d
    invoke-static {}, Lcom/live/share64/proto/b/c;->b()J

    move-result-wide v0

    iget-wide v2, p1, Lcom/live/share64/proto/g/d;->c:J

    cmp-long v4, v0, v2

    if-nez v4, :cond_52

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

    move-result-object v0

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

    move-result-wide v0

    invoke-static {}, Lcom/live/share64/proto/b/c;->b()J

    move-result-wide v2

    cmp-long v4, v0, v2

    if-eqz v4, :cond_52

    .line 417
    invoke-static {}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->h()Z

    move-result v0

    if-eqz v0, :cond_4a

    invoke-static {}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->i()Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;

    move-result-object v0

    if-eqz v0, :cond_4a

    .line 418
    invoke-static {}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->i()Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;

    move-result-object v0

    invoke-virtual {v0}, Lsg/bigo/live/support64/floatwindow/RoomFloatWindowService;->e()V

    .line 420
    :cond_4a
    invoke-static {}, Lsg/bigo/live/support64/k;->b()Lsg/bigo/live/support64/m;

    move-result-object v0

    const/4 v1, 0x0

    invoke-interface {v0, v1}, Lsg/bigo/live/support64/m;->a(Z)V

    .line 423
    :cond_52
    iget-object v0, p0, Lcom/live/share64/LiveSubmodule$2;->val$context:Landroid/content/Context;

    instance-of v1, v0, Lcom/imo/android/imoim/biggroup/view/chat/BigGroupChatActivity;

    if-eqz v1, :cond_60

    check-cast v0, Lcom/imo/android/imoim/biggroup/view/chat/BigGroupChatActivity;

    invoke-virtual {v0}, Lcom/imo/android/imoim/biggroup/view/chat/BigGroupChatActivity;->isFinished()Z

    move-result v0

    if-nez v0, :cond_6c

    .line 424
    :cond_60
    iget-object v1, p0, Lcom/live/share64/LiveSubmodule$2;->val$context:Landroid/content/Context;

    iget-wide v2, p1, Lcom/live/share64/proto/g/d;->d:J

    iget-wide v4, p1, Lcom/live/share64/proto/g/d;->c:J

    const/4 v7, 0x0

    const-string v6, "default"

    invoke-static/range {v1 .. v7}, Lsg/bigo/live/support64/y;->a(Landroid/content/Context;JJLjava/lang/String;Ljava/lang/String;)V

    .line 428
    :cond_6c
    iget-wide v0, p1, Lcom/live/share64/proto/g/d;->c:J

    iget-wide v2, p1, Lcom/live/share64/proto/g/d;->d:J

    const/4 p1, 0x3

    invoke-static {v0, v1, v2, v3, p1}, Lsg/bigo/live/support64/report/i;->a(JJI)V

    .line 431
    :cond_74
    iget-object p1, p0, Lcom/live/share64/LiveSubmodule$2;->val$finalLoadingDialog:Lsg/bigo/live/support64/widget/a/b;

    if-eqz p1, :cond_83

    invoke-virtual {p1}, Lsg/bigo/live/support64/widget/a/b;->isShowing()Z

    move-result p1

    if-eqz p1, :cond_83

    .line 432
    iget-object p1, p0, Lcom/live/share64/LiveSubmodule$2;->val$finalLoadingDialog:Lsg/bigo/live/support64/widget/a/b;

    invoke-virtual {p1}, Lsg/bigo/live/support64/widget/a/b;->dismiss()V

    :cond_83
    return-void
.end method

.method public final bridge synthetic onUIResponse(Lsg/bigo/svcapi/IProtocol;)V
    .registers 2

    .line 404
    check-cast p1, Lcom/live/share64/proto/g/d;

    invoke-virtual {p0, p1}, Lcom/live/share64/LiveSubmodule$2;->onUIResponse(Lcom/live/share64/proto/g/d;)V

    return-void
.end method

.method public final onUITimeout()V
    .registers 2

    .line 439
    iget-object v0, p0, Lcom/live/share64/LiveSubmodule$2;->val$finalLoadingDialog:Lsg/bigo/live/support64/widget/a/b;

    if-eqz v0, :cond_f

    invoke-virtual {v0}, Lsg/bigo/live/support64/widget/a/b;->isShowing()Z

    move-result v0

    if-eqz v0, :cond_f

    .line 440
    iget-object v0, p0, Lcom/live/share64/LiveSubmodule$2;->val$finalLoadingDialog:Lsg/bigo/live/support64/widget/a/b;

    invoke-virtual {v0}, Lsg/bigo/live/support64/widget/a/b;->dismiss()V

    :cond_f
    return-void
.end method