144 lines
2.8 KiB
Smali
144 lines
2.8 KiB
Smali
.class final Lcom/mbridge/msdk/foundation/tools/ad$2;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Ljava/lang/Runnable;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/mbridge/msdk/foundation/tools/ad;->b()V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x1
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final run()V
|
|
.locals 5
|
|
|
|
.line 171
|
|
:try_start_0
|
|
invoke-static {}, Lcom/mbridge/msdk/foundation/controller/c;->m()Lcom/mbridge/msdk/foundation/controller/c;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Lcom/mbridge/msdk/foundation/controller/a;->c()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 175
|
|
sget-object v0, Lcom/mbridge/msdk/foundation/same/b/c;->c:Lcom/mbridge/msdk/foundation/same/b/c;
|
|
|
|
invoke-static {v0}, Lcom/mbridge/msdk/foundation/same/b/e;->a(Lcom/mbridge/msdk/foundation/same/b/c;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_1
|
|
|
|
.line 1192
|
|
:try_start_1
|
|
new-instance v1, Ljava/io/File;
|
|
|
|
invoke-direct {v1, v0}, Ljava/io/File;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 1193
|
|
invoke-virtual {v1}, Ljava/io/File;->exists()Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
invoke-virtual {v1}, Ljava/io/File;->isDirectory()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
.line 1194
|
|
invoke-static {v0}, Lcom/mbridge/msdk/foundation/tools/ad;->b(Ljava/lang/String;)[Ljava/io/File;
|
|
|
|
move-result-object v0
|
|
|
|
.line 1195
|
|
array-length v1, v0
|
|
|
|
const/4 v2, 0x0
|
|
|
|
:goto_0
|
|
if-ge v2, v1, :cond_1
|
|
|
|
aget-object v3, v0, v2
|
|
|
|
.line 1196
|
|
invoke-virtual {v3}, Ljava/io/File;->exists()Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_0
|
|
|
|
invoke-virtual {v3}, Ljava/io/File;->isFile()Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_0
|
|
|
|
.line 1197
|
|
invoke-virtual {v3}, Ljava/io/File;->delete()Z
|
|
:try_end_1
|
|
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0
|
|
|
|
goto :goto_1
|
|
|
|
:catch_0
|
|
move-exception v0
|
|
|
|
goto :goto_2
|
|
|
|
:cond_0
|
|
:goto_1
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
.line 1202
|
|
:goto_2
|
|
:try_start_2
|
|
invoke-virtual {v0}, Ljava/lang/Throwable;->printStackTrace()V
|
|
:try_end_2
|
|
.catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_1
|
|
|
|
goto :goto_3
|
|
|
|
:catch_1
|
|
move-exception v0
|
|
|
|
.line 180
|
|
sget-boolean v1, Lcom/mbridge/msdk/MBridgeConstans;->DEBUG:Z
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
.line 181
|
|
invoke-virtual {v0}, Ljava/lang/Throwable;->printStackTrace()V
|
|
|
|
:cond_1
|
|
:goto_3
|
|
return-void
|
|
.end method
|