b.smali

.class public final Lcom/masala/share/proto/puller/b;
.super Lcom/masala/share/proto/puller/j;
.source "SourceFile"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/masala/share/proto/puller/j<",
        "Lcom/masala/share/proto/model/VideoSimpleItem;",
        ">;"
    }
.end annotation


# instance fields
.field private a:I


# direct methods
.method public constructor <init>()V
    .registers 5

    .line 28
    invoke-direct {p0}, Lcom/masala/share/proto/puller/j;-><init>()V

    .line 29
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    const-wide/16 v2, 0x2710

    rem-long/2addr v0, v2

    long-to-int v1, v0

    iput v1, p0, Lcom/masala/share/proto/puller/b;->a:I

    const-string v0, "hot_list"

    .line 1243
    iput-object v0, p0, Lcom/masala/share/proto/puller/o;->f:Ljava/lang/String;

    return-void
.end method


# virtual methods
.method protected final a(ZLcom/imo/android/imoim/feeds/c/a;)V
    .registers 4

    const/4 v0, 0x0

    .line 45
    invoke-virtual {p0, p1, v0, p2}, Lcom/masala/share/proto/puller/b;->a(ZLjava/lang/Object;Lcom/imo/android/imoim/feeds/c/a;)V

    return-void
.end method

.method protected final a(ZLjava/lang/Object;Lcom/imo/android/imoim/feeds/c/a;)V
    .registers 8
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<R:",
            "Ljava/lang/Object;",
            ">(ZTR;",
            "Lcom/imo/android/imoim/feeds/c/a;",
            ")V"
        }
    .end annotation

    .line 50
    invoke-static {p1}, Ljava/lang/String;->valueOf(Z)Ljava/lang/String;

    move-result-object v0

    const-string v1, "doPull(): isReload="

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

    move-result-object v0

    const-string v1, "FeedRecommendPuller"

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

    .line 51
    invoke-static {}, Lsg/bigo/common/p;->b()Z

    move-result v0

    const/4 v2, 0x2

    if-nez v0, :cond_1f

    const-string p2, "doPull no network"

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

    .line 53
    invoke-virtual {p0, p3, v2, p1}, Lcom/masala/share/proto/puller/b;->a(Lcom/imo/android/imoim/feeds/c/a;IZ)V

    return-void

    :cond_1f
    if-eqz p1, :cond_28

    .line 61
    :try_start_21
    sget-object v0, Lcom/imo/android/imoim/feeds/setting/FeedsSettingsDelegate;->INSTANCE:Lcom/imo/android/imoim/feeds/setting/FeedsSettingsDelegate;

    invoke-virtual {v0}, Lcom/imo/android/imoim/feeds/setting/FeedsSettingsDelegate;->getDouleFlowFirstCount()I

    move-result v0

    goto :goto_2e

    .line 63
    :cond_28
    sget-object v0, Lcom/imo/android/imoim/feeds/setting/FeedsSettingsDelegate;->INSTANCE:Lcom/imo/android/imoim/feeds/setting/FeedsSettingsDelegate;

    invoke-virtual {v0}, Lcom/imo/android/imoim/feeds/setting/FeedsSettingsDelegate;->getDouleFlowLoadMoreCount()I

    move-result v0

    .line 65
    :goto_2e
    instance-of v3, p2, Lcom/masala/share/proto/p;

    if-nez v3, :cond_38

    .line 66
    new-instance p2, Lcom/masala/share/proto/p;

    invoke-direct {p2}, Lcom/masala/share/proto/p;-><init>()V

    goto :goto_3a

    .line 68
    :cond_38
    check-cast p2, Lcom/masala/share/proto/p;

    :goto_3a
    const/16 v3, 0x3e

    .line 70
    iput v3, p2, Lcom/masala/share/proto/p;->a:I

    .line 71
    invoke-static {}, Lsg/bigo/sdk/blivestat/utils/SessionUtils;->getSessionId()Ljava/lang/String;

    move-result-object v3

    iput-object v3, p2, Lcom/masala/share/proto/p;->b:Ljava/lang/String;

    .line 72
    iput v0, p2, Lcom/masala/share/proto/p;->c:I

    .line 73
    iget v0, p0, Lcom/masala/share/proto/puller/b;->a:I

    add-int/lit8 v3, v0, 0x1

    iput v3, p0, Lcom/masala/share/proto/puller/b;->a:I

    iput v0, p2, Lcom/masala/share/proto/p;->e:I

    .line 74
    iput v2, p2, Lcom/masala/share/proto/p;->d:I

    const/4 v0, 0x0

    .line 75
    iput-object v0, p2, Lcom/masala/share/proto/p;->f:Ljava/lang/String;

    const-string v0, "INDIGO_DETAIL"

    .line 76
    iput-object v0, p2, Lcom/masala/share/proto/p;->g:Ljava/lang/String;

    .line 77
    invoke-static {}, Lsg/bigo/common/a;->d()Landroid/content/Context;

    move-result-object v0

    invoke-virtual {p0}, Lcom/masala/share/proto/puller/b;->f()I

    move-result v2

    invoke-virtual {p2, v0, v2}, Lcom/masala/share/proto/p;->a(Landroid/content/Context;I)V

    .line 1247
    iget-object v0, p0, Lcom/masala/share/proto/puller/o;->f:Ljava/lang/String;

    .line 78
    new-instance v2, Lcom/masala/share/proto/puller/b$1;

    invoke-direct {v2, p0, p3, p1}, Lcom/masala/share/proto/puller/b$1;-><init>(Lcom/masala/share/proto/puller/b;Lcom/imo/android/imoim/feeds/c/a;Z)V

    invoke-static {p2, v0, v2}, Lcom/masala/share/proto/puller/m;->a(Lcom/masala/share/proto/p;Ljava/lang/String;Lcom/masala/share/proto/a/e;)V
    :try_end_6c
    .catch Lcom/masala/share/proto/YYServiceUnboundException; {:try_start_21 .. :try_end_6c} :catch_6d

    return-void

    :catch_6d
    const-string p2, "onGetVideoPostRecomFailed error : YYServiceUnboundException"

    .line 105
    invoke-static {v1, p2}, Lsg/bigo/log/Log;->w(Ljava/lang/String;Ljava/lang/String;)I

    const/4 p2, 0x1

    .line 106
    iput-boolean p2, p0, Lcom/masala/share/proto/puller/b;->e:Z

    const/16 p2, 0x9

    .line 107
    invoke-virtual {p0, p3, p2, p1}, Lcom/masala/share/proto/puller/b;->a(Lcom/imo/android/imoim/feeds/c/a;IZ)V

    return-void
.end method

.method public final b()V
    .registers 1

    return-void
.end method

.method public final c()V
    .registers 1

    return-void
.end method