bqy$1.smali

.class final Ldxoptimizer/bqy$1;
.super Ljava/lang/Object;
.source "SDCardAppTrashReporter.java"

# interfaces
.implements Ljava/io/FileFilter;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Ldxoptimizer/bqy;
.end annotation

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


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


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

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

    .line 59
    const/4 v0, 0x7

    new-array v0, v0, [Ljava/lang/String;

    const/4 v1, 0x0

    const-string v2, "LOST.DIR"

    aput-object v2, v0, v1

    const/4 v1, 0x1

    const-string v2, ".android_secure"

    aput-object v2, v0, v1

    const/4 v1, 0x2

    const-string v2, "DCIM"

    aput-object v2, v0, v1

    const/4 v1, 0x3

    const-string v2, "bluetooth"

    aput-object v2, v0, v1

    const/4 v1, 0x4

    const-string v2, "Bluetooth"

    aput-object v2, v0, v1

    const/4 v1, 0x5

    const-string v2, "external_sd"

    aput-object v2, v0, v1

    const/4 v1, 0x6

    const-string v2, "Camera"

    aput-object v2, v0, v1

    iput-object v0, p0, Ldxoptimizer/bqy$1;->a:[Ljava/lang/String;

    return-void
.end method


# virtual methods
.method public accept(Ljava/io/File;)Z
    .registers 8

    .prologue
    const/4 v0, 0x0

    .line 66
    if-eqz p1, :cond_21

    invoke-virtual {p1}, Ljava/io/File;->exists()Z

    move-result v1

    if-eqz v1, :cond_21

    invoke-virtual {p1}, Ljava/io/File;->isDirectory()Z

    move-result v1

    if-eqz v1, :cond_21

    .line 67
    iget-object v2, p0, Ldxoptimizer/bqy$1;->a:[Ljava/lang/String;

    .line 68
    invoke-virtual {p1}, Ljava/io/File;->getName()Ljava/lang/String;

    move-result-object v3

    .line 69
    array-length v4, v2

    move v1, v0

    :goto_17
    if-ge v1, v4, :cond_25

    aget-object v5, v2, v1

    .line 70
    invoke-virtual {v3, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v5

    if-eqz v5, :cond_22

    .line 75
    :cond_21
    :goto_21
    return v0

    .line 69
    :cond_22
    add-int/lit8 v1, v1, 0x1

    goto :goto_17

    .line 73
    :cond_25
    const/4 v0, 0x1

    goto :goto_21
.end method