m.smali

.class public Lcom/fulishe/fs/l/m;
.super Ljava/lang/Object;
.source ""

# interfaces
.implements Lcom/xinmeng/shadow/interfaces/j;


# instance fields
.field public final synthetic a:Lcom/fulishe/fs/l/e;

.field public final synthetic b:Lcom/fulishe/fs/l/j;


# direct methods
.method public constructor <init>(Lcom/fulishe/fs/l/j;Lcom/fulishe/fs/l/e;)V
    .registers 3

    iput-object p1, p0, Lcom/fulishe/fs/l/m;->b:Lcom/fulishe/fs/l/j;

    iput-object p2, p0, Lcom/fulishe/fs/l/m;->a:Lcom/fulishe/fs/l/e;

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

    return-void
.end method


# virtual methods
.method public j()Ljava/lang/String;
    .registers 2

    const-string v0, "download-progress-notify"

    return-object v0
.end method

.method public k()Lcom/xinmeng/shadow/interfaces/l;
    .registers 2

    sget-object v0, Lcom/xinmeng/shadow/interfaces/l;->d:Lcom/xinmeng/shadow/interfaces/l;

    return-object v0
.end method

.method public run()V
    .registers 4

    iget-object v0, p0, Lcom/fulishe/fs/l/m;->a:Lcom/fulishe/fs/l/e;

    invoke-virtual {v0}, Lcom/fulishe/fs/l/e;->i()Z

    move-result v0

    if-nez v0, :cond_14

    invoke-static {}, Lcom/fulishe/fs/k/ag;->a()Lcom/fulishe/fs/k/ag;

    move-result-object v0

    new-instance v1, Lcom/fulishe/fs/l/n;

    invoke-direct {v1, p0}, Lcom/fulishe/fs/l/n;-><init>(Lcom/fulishe/fs/l/m;)V

    invoke-virtual {v0, v1}, Lcom/fulishe/fs/k/ag;->a(Ljava/lang/Runnable;)V

    :cond_14
    iget-object v0, p0, Lcom/fulishe/fs/l/m;->b:Lcom/fulishe/fs/l/j;

    iget-object v1, p0, Lcom/fulishe/fs/l/m;->a:Lcom/fulishe/fs/l/e;

    invoke-static {v0, v1}, Lcom/fulishe/fs/l/j;->a(Lcom/fulishe/fs/l/j;Lcom/fulishe/fs/l/e;)Lcom/fulishe/fs/l/e;

    iget-object v0, p0, Lcom/fulishe/fs/l/m;->b:Lcom/fulishe/fs/l/j;

    invoke-static {v0}, Lcom/fulishe/fs/l/j;->a(Lcom/fulishe/fs/l/j;)Ljava/util/HashSet;

    move-result-object v0

    if-nez v0, :cond_24

    :cond_23
    return-void

    :cond_24
    iget-object v0, p0, Lcom/fulishe/fs/l/m;->b:Lcom/fulishe/fs/l/j;

    invoke-static {v0}, Lcom/fulishe/fs/l/j;->a(Lcom/fulishe/fs/l/j;)Ljava/util/HashSet;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/HashSet;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :cond_2e
    :goto_2e
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_23

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/fulishe/shadow/base/k;

    invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/fulishe/fs/k/a;

    if-eqz v0, :cond_2e

    iget-object v2, p0, Lcom/fulishe/fs/l/m;->a:Lcom/fulishe/fs/l/e;

    invoke-interface {v0, v2}, Lcom/fulishe/fs/k/y;->b(Lcom/fulishe/fs/l/e;)V

    goto :goto_2e
.end method