.class Lcom/baidu/mobads/utils/i;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field final synthetic a:Ljava/lang/String;

.field final synthetic b:Lcom/baidu/mobads/utils/h;


# direct methods
.method constructor <init>(Lcom/baidu/mobads/utils/h;Ljava/lang/String;)V
    .locals 0

    .line 34
    iput-object p1, p0, Lcom/baidu/mobads/utils/i;->b:Lcom/baidu/mobads/utils/h;

    iput-object p2, p0, Lcom/baidu/mobads/utils/i;->a:Ljava/lang/String;

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

    return-void
.end method


# virtual methods
.method public run()V
    .locals 8

    .line 38
    new-instance v0, Ljava/io/File;

    iget-object v1, p0, Lcom/baidu/mobads/utils/i;->a:Ljava/lang/String;

    invoke-direct {v0, v1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Ljava/io/File;->list()[Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_1

    .line 39
    array-length v1, v0

    if-lez v1, :cond_1

    const/4 v1, 0x0

    .line 40
    :goto_0
    array-length v2, v0

    if-ge v1, v2, :cond_1

    .line 41
    new-instance v2, Ljava/io/File;

    aget-object v3, v0, v1

    invoke-direct {v2, v3}, Ljava/io/File;-><init>(Ljava/lang/String;)V

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

    move-result-wide v3

    invoke-virtual {v2}, Ljava/io/File;->lastModified()J

    move-result-wide v5

    sub-long/2addr v3, v5

    .line 43
    invoke-virtual {v2}, Ljava/io/File;->exists()Z

    move-result v5

    if-eqz v5, :cond_0

    const-wide/32 v5, 0x240c8400

    cmp-long v7, v3, v5

    if-lez v7, :cond_0

    .line 44
    invoke-virtual {v2}, Ljava/io/File;->delete()Z

    :cond_0
    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    :cond_1
    return-void
.end method
