a$2.smali
.class final Lcom/masala/share/proto/puller/a$2;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lsg/bigo/common/d/a;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/masala/share/proto/puller/a;->b()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lsg/bigo/common/d/a<",
"Ljava/util/ArrayList<",
"TT;>;>;"
}
.end annotation
# instance fields
.field final synthetic a:Lcom/masala/share/proto/puller/a;
# direct methods
.method constructor <init>(Lcom/masala/share/proto/puller/a;)V
.registers 2
.line 47
iput-object p1, p0, Lcom/masala/share/proto/puller/a$2;->a:Lcom/masala/share/proto/puller/a;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final synthetic accept(Ljava/lang/Object;)V
.registers 5
.line 47
check-cast p1, Ljava/util/ArrayList;
.line 1050
invoke-static {p1}, Lsg/bigo/common/o;->a(Ljava/util/Collection;)Z
move-result v0
if-nez v0, :cond_80
sget-boolean v0, Lcom/masala/share/utils/x;->a:Z
const/4 v1, 0x0
if-nez v0, :cond_1e
.line 1089
invoke-static {}, Lsg/bigo/common/a;->d()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Landroid/preference/PreferenceManager;->getDefaultSharedPreferences(Landroid/content/Context;)Landroid/content/SharedPreferences;
move-result-object v0
const-string v2, "debug_disable_hot_cache"
.line 1090
invoke-interface {v0, v2, v1}, Landroid/content/SharedPreferences;->getBoolean(Ljava/lang/String;Z)Z
move-result v0
if-eqz v0, :cond_1e
goto :goto_80
.line 1054
:cond_1e
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
iget-object v2, p0, Lcom/masala/share/proto/puller/a$2;->a:Lcom/masala/share/proto/puller/a;
invoke-virtual {v2}, Lcom/masala/share/proto/puller/a;->a()Ljava/lang/String;
move-result-object v2
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v2, " apicache load size="
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p1}, Ljava/util/ArrayList;->size()I
move-result v2
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
const-string v2, "BaseCacheVideoPuller"
invoke-static {v2, v0}, Lsg/bigo/log/Log;->i(Ljava/lang/String;Ljava/lang/String;)I
.line 1055
iget-object v0, p0, Lcom/masala/share/proto/puller/a$2;->a:Lcom/masala/share/proto/puller/a;
iget-object v0, v0, Lcom/masala/share/proto/puller/a;->g:Ljava/util/ArrayList;
if-eqz v0, :cond_6c
iget-object v0, p0, Lcom/masala/share/proto/puller/a$2;->a:Lcom/masala/share/proto/puller/a;
iget-object v0, v0, Lcom/masala/share/proto/puller/a;->g:Ljava/util/ArrayList;
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
move-result v0
if-lez v0, :cond_6c
.line 1056
new-instance p1, Ljava/lang/StringBuilder;
invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V
iget-object v0, p0, Lcom/masala/share/proto/puller/a$2;->a:Lcom/masala/share/proto/puller/a;
invoke-virtual {v0}, Lcom/masala/share/proto/puller/a;->a()Ljava/lang/String;
move-result-object v0
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v0, " network loaded"
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
invoke-static {v2, p1}, Lsg/bigo/log/Log;->i(Ljava/lang/String;Ljava/lang/String;)I
return-void
.line 1059
:cond_6c
iget-object v0, p0, Lcom/masala/share/proto/puller/a$2;->a:Lcom/masala/share/proto/puller/a;
const/4 v2, 0x1
invoke-virtual {v0, v2, p1}, Lcom/masala/share/proto/puller/a;->a(ZLjava/util/List;)V
.line 1060
iget-object v0, p0, Lcom/masala/share/proto/puller/a$2;->a:Lcom/masala/share/proto/puller/a;
invoke-virtual {v0, p1, v1}, Lcom/masala/share/proto/puller/a;->c(Ljava/util/List;Z)V
.line 1061
iget-object v0, p0, Lcom/masala/share/proto/puller/a$2;->a:Lcom/masala/share/proto/puller/a;
invoke-static {p1}, Lcom/masala/share/proto/puller/a;->a_(Ljava/util/List;)I
move-result p1
iput p1, v0, Lcom/masala/share/proto/puller/a;->a:I
return-void
.line 1051
:cond_80
:goto_80
iget-object p1, p0, Lcom/masala/share/proto/puller/a$2;->a:Lcom/masala/share/proto/puller/a;
.line 1506
iget-object v0, p1, Lcom/masala/share/proto/puller/o;->j:Ljava/util/ArrayList;
invoke-virtual {v0}, Ljava/util/ArrayList;->isEmpty()Z
move-result v0
if-nez v0, :cond_99
.line 1509
new-instance v0, Ljava/util/ArrayList;
iget-object v1, p1, Lcom/masala/share/proto/puller/o;->j:Ljava/util/ArrayList;
invoke-direct {v0, v1}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V
.line 1510
new-instance v1, Lcom/masala/share/proto/puller/o$6;
invoke-direct {v1, p1, v0}, Lcom/masala/share/proto/puller/o$6;-><init>(Lcom/masala/share/proto/puller/o;Ljava/util/ArrayList;)V
invoke-static {v1}, Lsg/bigo/common/ac;->a(Ljava/lang/Runnable;)V
:cond_99
return-void
.end method