FileUtils$1.smali

.class final Lcom/sandboxol/center/utils/FileUtils$1;
.super Lcom/sandboxol/common/base/web/OnResponseListener;
.source "FileUtils.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/sandboxol/center/utils/FileUtils;->loadSensitiveWordConfig(Landroid/content/Context;Lio/reactivex/b/a;)V
.end annotation

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

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/sandboxol/common/base/web/OnResponseListener<",
        "Ljava/util/List<",
        "Ljava/lang/String;",
        ">;>;"
    }
.end annotation


# instance fields
.field final synthetic val$action:Lio/reactivex/b/a;

.field final synthetic val$context:Landroid/content/Context;

.field final synthetic val$oldEngineName:Ljava/lang/String;

.field final synthetic val$oldEnginePath:Ljava/lang/String;

.field final synthetic val$serverVersion:I

.field final synthetic val$tempOldEngineName:Ljava/lang/String;


# direct methods
.method constructor <init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILio/reactivex/b/a;)V
    .registers 7

    .line 1
    iput-object p1, p0, Lcom/sandboxol/center/utils/FileUtils$1;->val$context:Landroid/content/Context;

    iput-object p2, p0, Lcom/sandboxol/center/utils/FileUtils$1;->val$oldEnginePath:Ljava/lang/String;

    iput-object p3, p0, Lcom/sandboxol/center/utils/FileUtils$1;->val$tempOldEngineName:Ljava/lang/String;

    iput-object p4, p0, Lcom/sandboxol/center/utils/FileUtils$1;->val$oldEngineName:Ljava/lang/String;

    iput p5, p0, Lcom/sandboxol/center/utils/FileUtils$1;->val$serverVersion:I

    iput-object p6, p0, Lcom/sandboxol/center/utils/FileUtils$1;->val$action:Lio/reactivex/b/a;

    invoke-direct {p0}, Lcom/sandboxol/common/base/web/OnResponseListener;-><init>()V

    return-void
.end method


# virtual methods
.method public onError(ILjava/lang/String;)V
    .registers 3

    .line 1
    :try_start_0
    iget-object p1, p0, Lcom/sandboxol/center/utils/FileUtils$1;->val$action:Lio/reactivex/b/a;

    if-eqz p1, :cond_e

    .line 2
    iget-object p1, p0, Lcom/sandboxol/center/utils/FileUtils$1;->val$action:Lio/reactivex/b/a;

    invoke-interface {p1}, Lio/reactivex/b/a;->run()V
    :try_end_9
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_9} :catch_a

    goto :goto_e

    :catch_a
    move-exception p1

    .line 3
    invoke-virtual {p1}, Ljava/lang/Exception;->printStackTrace()V

    :cond_e
    :goto_e
    return-void
.end method

.method public onServerError(I)V
    .registers 2

    .line 1
    :try_start_0
    iget-object p1, p0, Lcom/sandboxol/center/utils/FileUtils$1;->val$action:Lio/reactivex/b/a;

    if-eqz p1, :cond_e

    .line 2
    iget-object p1, p0, Lcom/sandboxol/center/utils/FileUtils$1;->val$action:Lio/reactivex/b/a;

    invoke-interface {p1}, Lio/reactivex/b/a;->run()V
    :try_end_9
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_9} :catch_a

    goto :goto_e

    :catch_a
    move-exception p1

    .line 3
    invoke-virtual {p1}, Ljava/lang/Exception;->printStackTrace()V

    :cond_e
    :goto_e
    return-void
.end method

.method public bridge synthetic onSuccess(Ljava/lang/Object;)V
    .registers 2

    .line 1
    check-cast p1, Ljava/util/List;

    invoke-virtual {p0, p1}, Lcom/sandboxol/center/utils/FileUtils$1;->onSuccess(Ljava/util/List;)V

    return-void
.end method

.method public onSuccess(Ljava/util/List;)V
    .registers 9
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation

    if-eqz p1, :cond_16

    .line 2
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_16

    .line 3
    iget-object v1, p0, Lcom/sandboxol/center/utils/FileUtils$1;->val$context:Landroid/content/Context;

    iget-object v3, p0, Lcom/sandboxol/center/utils/FileUtils$1;->val$oldEnginePath:Ljava/lang/String;

    iget-object v4, p0, Lcom/sandboxol/center/utils/FileUtils$1;->val$tempOldEngineName:Ljava/lang/String;

    iget-object v5, p0, Lcom/sandboxol/center/utils/FileUtils$1;->val$oldEngineName:Ljava/lang/String;

    iget v6, p0, Lcom/sandboxol/center/utils/FileUtils$1;->val$serverVersion:I

    move-object v2, p1

    # invokes: Lcom/sandboxol/center/utils/FileUtils;->createAndWriteSensitiveToFile(Landroid/content/Context;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)V
    invoke-static/range {v1 .. v6}, Lcom/sandboxol/center/utils/FileUtils;->access$000(Landroid/content/Context;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)V

    .line 4
    :cond_16
    :try_start_16
    iget-object p1, p0, Lcom/sandboxol/center/utils/FileUtils$1;->val$action:Lio/reactivex/b/a;

    if-eqz p1, :cond_24

    .line 5
    iget-object p1, p0, Lcom/sandboxol/center/utils/FileUtils$1;->val$action:Lio/reactivex/b/a;

    invoke-interface {p1}, Lio/reactivex/b/a;->run()V
    :try_end_1f
    .catch Ljava/lang/Exception; {:try_start_16 .. :try_end_1f} :catch_20

    goto :goto_24

    :catch_20
    move-exception p1

    .line 6
    invoke-virtual {p1}, Ljava/lang/Exception;->printStackTrace()V

    :cond_24
    :goto_24
    return-void
.end method