LiveViewerPresenterImpl$1.smali

.class final Lsg/bigo/live/support64/component/liveviewer/mvp/presenter/LiveViewerPresenterImpl$1;
.super Lsg/bigo/live/support64/b;
.source "SourceFile"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lsg/bigo/live/support64/component/liveviewer/mvp/presenter/LiveViewerPresenterImpl;
.end annotation

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


# instance fields
.field final synthetic a:Lsg/bigo/live/support64/component/liveviewer/mvp/presenter/LiveViewerPresenterImpl;


# direct methods
.method constructor <init>(Lsg/bigo/live/support64/component/liveviewer/mvp/presenter/LiveViewerPresenterImpl;)V
    .registers 2

    .line 59
    iput-object p1, p0, Lsg/bigo/live/support64/component/liveviewer/mvp/presenter/LiveViewerPresenterImpl$1;->a:Lsg/bigo/live/support64/component/liveviewer/mvp/presenter/LiveViewerPresenterImpl;

    invoke-direct {p0}, Lsg/bigo/live/support64/b;-><init>()V

    return-void
.end method


# virtual methods
.method public final a()V
    .registers 3

    .line 75
    iget-object v0, p0, Lsg/bigo/live/support64/component/liveviewer/mvp/presenter/LiveViewerPresenterImpl$1;->a:Lsg/bigo/live/support64/component/liveviewer/mvp/presenter/LiveViewerPresenterImpl;

    invoke-static {v0}, Lsg/bigo/live/support64/component/liveviewer/mvp/presenter/LiveViewerPresenterImpl;->b(Lsg/bigo/live/support64/component/liveviewer/mvp/presenter/LiveViewerPresenterImpl;)V

    .line 76
    iget-object v0, p0, Lsg/bigo/live/support64/component/liveviewer/mvp/presenter/LiveViewerPresenterImpl$1;->a:Lsg/bigo/live/support64/component/liveviewer/mvp/presenter/LiveViewerPresenterImpl;

    invoke-static {v0}, Lsg/bigo/live/support64/component/liveviewer/mvp/presenter/LiveViewerPresenterImpl;->c(Lsg/bigo/live/support64/component/liveviewer/mvp/presenter/LiveViewerPresenterImpl;)Lrx/h/b;

    move-result-object v0

    const-string v1, "onRoomMediaLogined"

    invoke-virtual {v0, v1}, Lrx/h/b;->a(Ljava/lang/Object;)V

    return-void
.end method

.method public final a(I)V
    .registers 6

    .line 98
    invoke-static {}, Lsg/bigo/live/support64/k;->g()Lsg/bigo/live/support64/controllers/micconnect/a;

    move-result-object v0

    invoke-virtual {v0}, Lsg/bigo/live/support64/controllers/micconnect/a;->t()Z

    move-result v0

    const/4 v1, 0x0

    if-eqz v0, :cond_39

    const/4 v0, 0x5

    if-ne p1, v0, :cond_22

    .line 100
    invoke-static {}, Lsg/bigo/live/support64/k;->g()Lsg/bigo/live/support64/controllers/micconnect/a;

    move-result-object p1

    invoke-virtual {p1}, Lsg/bigo/live/support64/controllers/micconnect/a;->m()V

    const p1, 0x7f0f01e8

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

    .line 101
    invoke-static {p1, v0}, Lsg/bigo/mobile/android/aab/c/b;->a(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object p1

    .line 102
    invoke-static {p1, v1}, Lsg/bigo/common/ae;->a(Ljava/lang/CharSequence;I)V

    return-void

    :cond_22
    const/4 v0, 0x4

    if-ne p1, v0, :cond_39

    .line 105
    invoke-static {}, Lsg/bigo/live/support64/k;->g()Lsg/bigo/live/support64/controllers/micconnect/a;

    move-result-object p1

    invoke-virtual {p1}, Lsg/bigo/live/support64/controllers/micconnect/a;->m()V

    const p1, 0x7f0f0783

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

    .line 106
    invoke-static {p1, v0}, Lsg/bigo/mobile/android/aab/c/b;->a(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object p1

    .line 107
    invoke-static {p1, v1}, Lsg/bigo/common/ae;->a(Ljava/lang/CharSequence;I)V

    return-void

    .line 111
    :cond_39
    iget-object v0, p0, Lsg/bigo/live/support64/component/liveviewer/mvp/presenter/LiveViewerPresenterImpl$1;->a:Lsg/bigo/live/support64/component/liveviewer/mvp/presenter/LiveViewerPresenterImpl;

    invoke-static {v0}, Lsg/bigo/live/support64/component/liveviewer/mvp/presenter/LiveViewerPresenterImpl;->d(Lsg/bigo/live/support64/component/liveviewer/mvp/presenter/LiveViewerPresenterImpl;)V

    .line 112
    new-instance v0, Landroid/util/SparseArray;

    invoke-direct {v0}, Landroid/util/SparseArray;-><init>()V

    .line 113
    invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/util/SparseArray;->put(ILjava/lang/Object;)V

    .line 114
    iget-object v2, p0, Lsg/bigo/live/support64/component/liveviewer/mvp/presenter/LiveViewerPresenterImpl$1;->a:Lsg/bigo/live/support64/component/liveviewer/mvp/presenter/LiveViewerPresenterImpl;

    invoke-static {v2}, Lsg/bigo/live/support64/component/liveviewer/mvp/presenter/LiveViewerPresenterImpl;->e(Lsg/bigo/live/support64/component/liveviewer/mvp/presenter/LiveViewerPresenterImpl;)Lsg/bigo/core/component/a/d;

    move-result-object v2

    sget-object v3, Lsg/bigo/live/support64/component/liveviewer/a;->LIVE_END:Lsg/bigo/live/support64/component/liveviewer/a;

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

    const/16 v0, 0x15

    if-ne p1, v0, :cond_5e

    .line 116
    iget-object v0, p0, Lsg/bigo/live/support64/component/liveviewer/mvp/presenter/LiveViewerPresenterImpl$1;->a:Lsg/bigo/live/support64/component/liveviewer/mvp/presenter/LiveViewerPresenterImpl;

    invoke-static {v0}, Lsg/bigo/live/support64/component/liveviewer/mvp/presenter/LiveViewerPresenterImpl;->f(Lsg/bigo/live/support64/component/liveviewer/mvp/presenter/LiveViewerPresenterImpl;)V

    :cond_5e
    const/16 v0, 0xc

    if-ne p1, v0, :cond_6e

    const v0, 0x7d0c0053

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

    .line 119
    invoke-static {v0, v2}, Lsg/bigo/mobile/android/aab/c/b;->a(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    .line 1026
    invoke-static {v0, v1}, Lsg/bigo/common/ae;->a(Ljava/lang/CharSequence;I)V

    :cond_6e
    const/4 v0, 0x2

    if-eq p1, v0, :cond_74

    const/4 v0, 0x1

    if-ne p1, v0, :cond_85

    .line 2012
    :cond_74
    sget-object v0, Lcom/imo/android/imoim/ad/e$a;->a:Lcom/imo/android/imoim/ad/e;

    .line 122
    iget-object v0, v0, Lcom/imo/android/imoim/ad/e;->a:Ljava/util/Map;

    const-string v1, "LiveViewerNetChan"

    invoke-interface {v0, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/imo/android/imoim/ad/b;

    if-eqz v0, :cond_85

    .line 124
    invoke-virtual {v0}, Lcom/imo/android/imoim/ad/b;->d()V

    .line 127
    :cond_85
    invoke-static {p1}, Lsg/bigo/live/support64/component/liveviewer/mvp/presenter/LiveViewerPresenterImpl;->a(I)V

    return-void
.end method

.method public final a(Lsg/bigo/live/support64/data/RoomDetail;Z)V
    .registers 3

    .line 66
    iget-object p1, p0, Lsg/bigo/live/support64/component/liveviewer/mvp/presenter/LiveViewerPresenterImpl$1;->a:Lsg/bigo/live/support64/component/liveviewer/mvp/presenter/LiveViewerPresenterImpl;

    invoke-static {p1}, Lsg/bigo/live/support64/component/liveviewer/mvp/presenter/LiveViewerPresenterImpl;->a(Lsg/bigo/live/support64/component/liveviewer/mvp/presenter/LiveViewerPresenterImpl;)V

    .line 67
    invoke-static {}, Lsg/bigo/live/support64/report/o;->a()Ljava/lang/String;

    move-result-object p1

    const-string p2, "14"

    invoke-virtual {p2, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_16

    const-string p1, "15"

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

    .line 70
    :cond_16
    new-instance p1, Lsg/bigo/live/support64/report/o$m;

    invoke-direct {p1}, Lsg/bigo/live/support64/report/o$m;-><init>()V

    invoke-virtual {p1}, Lsg/bigo/live/support64/report/o$m;->a()V

    return-void
.end method

.method public final c()V
    .registers 3

    .line 82
    iget-object v0, p0, Lsg/bigo/live/support64/component/liveviewer/mvp/presenter/LiveViewerPresenterImpl$1;->a:Lsg/bigo/live/support64/component/liveviewer/mvp/presenter/LiveViewerPresenterImpl;

    invoke-static {v0}, Lsg/bigo/live/support64/component/liveviewer/mvp/presenter/LiveViewerPresenterImpl;->c(Lsg/bigo/live/support64/component/liveviewer/mvp/presenter/LiveViewerPresenterImpl;)Lrx/h/b;

    move-result-object v0

    const-string v1, "onFirstVideoIFrameArrived"

    invoke-virtual {v0, v1}, Lrx/h/b;->a(Ljava/lang/Object;)V

    .line 83
    invoke-static {}, Lsg/bigo/live/support64/component/liveviewer/mvp/presenter/LiveViewerPresenterImpl;->f()V

    .line 1012
    sget-object v0, Lcom/imo/android/imoim/ad/e$a;->a:Lcom/imo/android/imoim/ad/e;

    .line 84
    iget-object v0, v0, Lcom/imo/android/imoim/ad/e;->a:Ljava/util/Map;

    const-string v1, "LiveViewerNetChan"

    invoke-interface {v0, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/imo/android/imoim/ad/b;

    if-eqz v0, :cond_1f

    .line 86
    invoke-virtual {v0}, Lcom/imo/android/imoim/ad/b;->c()V

    :cond_1f
    return-void
.end method

.method public final h()V
    .registers 3

    const-string v0, "LiveViewer"

    const-string v1, "onMediaSdkPrepared"

    .line 92
    invoke-static {v0, v1}, Lsg/bigo/log/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 93
    iget-object v0, p0, Lsg/bigo/live/support64/component/liveviewer/mvp/presenter/LiveViewerPresenterImpl$1;->a:Lsg/bigo/live/support64/component/liveviewer/mvp/presenter/LiveViewerPresenterImpl;

    invoke-virtual {v0}, Lsg/bigo/live/support64/component/liveviewer/mvp/presenter/LiveViewerPresenterImpl;->aQ_()V

    return-void
.end method

.method public final n()V
    .registers 4

    .line 132
    iget-object v0, p0, Lsg/bigo/live/support64/component/liveviewer/mvp/presenter/LiveViewerPresenterImpl$1;->a:Lsg/bigo/live/support64/component/liveviewer/mvp/presenter/LiveViewerPresenterImpl;

    invoke-static {v0}, Lsg/bigo/live/support64/component/liveviewer/mvp/presenter/LiveViewerPresenterImpl;->e(Lsg/bigo/live/support64/component/liveviewer/mvp/presenter/LiveViewerPresenterImpl;)Lsg/bigo/core/component/a/d;

    move-result-object v0

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

    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

    return-void
.end method