ScanTreeConfig.smali
.class public Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig;
.super Ljava/lang/Object;
.source "ScanTreeConfig.java"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig$a;,
Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig$IConfigResult;
}
.end annotation
# static fields
.field private static final a:Ljava/util/Map;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Map",
"<",
"Ljava/lang/String;",
"Ljava/util/regex/Pattern;",
">;"
}
.end annotation
.end field
.field private static volatile b:Z
.field private static final d:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List",
"<",
"Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig$a;",
">;"
}
.end annotation
.end field
# instance fields
.field private c:Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig$IConfigResult;
# direct methods
.method static constructor <clinit>()V
.registers 1
.prologue
.line 42
new-instance v0, Ljava/util/concurrent/ConcurrentHashMap;
invoke-direct {v0}, Ljava/util/concurrent/ConcurrentHashMap;-><init>()V
sput-object v0, Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig;->a:Ljava/util/Map;
.line 45
const/4 v0, 0x0
sput-boolean v0, Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig;->b:Z
.line 48
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
invoke-static {v0}, Ljava/util/Collections;->synchronizedList(Ljava/util/List;)Ljava/util/List;
move-result-object v0
sput-object v0, Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig;->d:Ljava/util/List;
return-void
.end method
.method public constructor <init>(Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig$IConfigResult;)V
.registers 3
.prologue
.line 50
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 46
const/4 v0, 0x0
iput-object v0, p0, Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig;->c:Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig$IConfigResult;
.line 51
iput-object p1, p0, Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig;->c:Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig$IConfigResult;
.line 52
return-void
.end method
.method public static a()Ljava/lang/String;
.registers 4
.prologue
.line 55
const/16 v0, 0xa
const-string v1, "junk_path_rule"
const-string v2, "json_url"
const-string v3, "http://dl.cm.ksmobile.com/static/res/11/07/white_list_black_words0820_1.json?md5=110794ad24a96e0ba7786fcb731fb386"
invoke-static {v0, v1, v2, v3}, Lcom/cleanmaster/recommendapps/b;->a(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object v0
return-object v0
.end method
.method public static a(Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig$IConfigResult;)V
.registers 4
.prologue
.line 107
if-nez p0, :cond_b
.line 108
new-instance v0, Ljava/lang/IllegalArgumentException;
const-string/jumbo v1, "\u56de\u8c03\u4e0d\u5141\u8bb8\u4e3a\u7a7a"
invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v0
.line 110
:cond_b
new-instance v0, Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig;
invoke-direct {v0, p0}, Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig;-><init>(Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig$IConfigResult;)V
.line 111
invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;
move-result-object v1
invoke-static {}, Landroid/os/Looper;->myLooper()Landroid/os/Looper;
move-result-object v2
if-eq v1, v2, :cond_1e
.line 112
invoke-virtual {v0}, Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig;->run()V
.line 117
:goto_1d
return-void
.line 114
:cond_1e
sget-object v1, Lcom/cleanmaster/service/scantree/d;->a:Ljava/util/concurrent/ThreadPoolExecutor;
invoke-virtual {v1, v0}, Ljava/util/concurrent/ThreadPoolExecutor;->execute(Ljava/lang/Runnable;)V
goto :goto_1d
.end method
.method public static a(Ljava/lang/String;)Z
.registers 7
.prologue
const/4 v1, 0x0
const/4 v2, 0x1
.line 161
invoke-static {p0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v0
if-eqz v0, :cond_a
move v0, v1
.line 181
:goto_9
return v0
.line 162
:cond_a
sget-object v0, Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig;->d:Ljava/util/List;
invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object v3
.line 164
:cond_10
invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z
move-result v0
if-nez v0, :cond_18
move v0, v1
.line 181
goto :goto_9
.line 165
:cond_18
invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig$a;
.line 167
iget v4, v0, Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig$a;->a:I
if-ne v4, v2, :cond_30
.line 168
invoke-virtual {p0}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;
move-result-object v4
iget-object v5, v0, Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig$a;->b:Ljava/lang/String;
invoke-virtual {v4, v5}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
move-result v4
if-eqz v4, :cond_30
move v0, v2
.line 169
goto :goto_9
.line 173
:cond_30
iget v4, v0, Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig$a;->a:I
const/4 v5, 0x2
if-ne v4, v5, :cond_10
.line 174
iget-object v0, v0, Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig$a;->b:Ljava/lang/String;
invoke-static {p0, v0}, Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig;->b(Ljava/lang/String;Ljava/lang/String;)Z
move-result v0
if-eqz v0, :cond_10
move v0, v2
.line 175
goto :goto_9
.end method
.method public static a(Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;
.registers 8
.prologue
const/4 v0, 0x0
.line 85
invoke-static {p0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v1
if-eqz v1, :cond_8
.line 102
:cond_7
:goto_7
return-object v0
.line 88
:cond_8
:try_start_8
new-instance v1, Lorg/json/JSONObject;
invoke-direct {v1, p0}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V
.line 89
invoke-virtual {v1, p1}, Lorg/json/JSONObject;->optJSONArray(Ljava/lang/String;)Lorg/json/JSONArray;
move-result-object v3
.line 90
if-eqz v3, :cond_7
invoke-virtual {v3}, Lorg/json/JSONArray;->length()I
move-result v1
if-eqz v1, :cond_7
.line 91
invoke-virtual {v3}, Lorg/json/JSONArray;->length()I
move-result v1
new-array v1, v1, [Ljava/lang/String;
.line 93
const/4 v2, 0x0
:goto_20
invoke-virtual {v3}, Lorg/json/JSONArray;->length()I
move-result v4
if-ge v2, v4, :cond_3c
.line 94
const/4 v4, 0x0
invoke-virtual {v3, v2, v4}, Lorg/json/JSONArray;->optString(ILjava/lang/String;)Ljava/lang/String;
move-result-object v4
.line 95
invoke-static {v4}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v5
if-eqz v5, :cond_34
.line 93
:goto_31
add-int/lit8 v2, v2, 0x1
goto :goto_20
.line 96
:cond_34
aput-object v4, v1, v2
:try_end_36
.catch Lorg/json/JSONException; {:try_start_8 .. :try_end_36} :catch_37
goto :goto_31
.line 99
:catch_37
move-exception v1
.line 100
invoke-virtual {v1}, Lorg/json/JSONException;->printStackTrace()V
goto :goto_7
:cond_3c
move-object v0, v1
.line 98
goto :goto_7
.end method
.method public static b()I
.registers 4
.prologue
.line 59
const/16 v0, 0xa
const-string v1, "junk_path_rule"
const-string v2, "is_interval"
const/4 v3, 0x3
invoke-static {v0, v1, v2, v3}, Lcom/cleanmaster/recommendapps/b;->a(ILjava/lang/String;Ljava/lang/String;I)I
move-result v0
return v0
.end method
.method public static b(Ljava/lang/String;)Z
.registers 7
.prologue
const/4 v1, 0x0
.line 218
invoke-static {p0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v0
if-eqz v0, :cond_9
move v0, v1
.line 234
:goto_8
return v0
.line 219
:cond_9
sget-object v0, Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig;->d:Ljava/util/List;
invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object v2
.line 220
invoke-virtual {p0}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;
move-result-object v3
.line 222
:cond_13
invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z
move-result v0
if-nez v0, :cond_1b
move v0, v1
.line 234
goto :goto_8
.line 223
:cond_1b
invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig$a;
.line 224
iget v4, v0, Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig$a;->a:I
const/4 v5, 0x3
if-ne v4, v5, :cond_13
.line 228
iget-object v0, v0, Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig$a;->b:Ljava/lang/String;
invoke-static {v3, v0}, Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z
move-result v0
if-eqz v0, :cond_13
.line 229
const/4 v0, 0x1
goto :goto_8
.end method
.method private static b(Ljava/lang/String;Ljava/lang/String;)Z
.registers 4
.prologue
const/4 v1, 0x0
.line 188
:try_start_1
sget-object v0, Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig;->a:Ljava/util/Map;
invoke-interface {v0, p1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/util/regex/Pattern;
.line 189
if-nez v0, :cond_d
move v0, v1
.line 199
:goto_c
return v0
.line 192
:cond_d
invoke-virtual {v0, p0}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
move-result-object v0
.line 193
if-eqz v0, :cond_1f
invoke-virtual {v0}, Ljava/util/regex/Matcher;->matches()Z
:try_end_16
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_16} :catch_1b
move-result v0
if-eqz v0, :cond_1f
.line 194
const/4 v0, 0x1
goto :goto_c
.line 196
:catch_1b
move-exception v0
.line 197
invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V
:cond_1f
move v0, v1
.line 199
goto :goto_c
.end method
.method public static c()J
.registers 4
.prologue
.line 63
invoke-static {}, Lcom/cleanmaster/hpcommonlib/HostHelper;->getAppContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/cleanmaster/configmanager/a;->a(Landroid/content/Context;)Lcom/cleanmaster/configmanager/a;
move-result-object v0
const-string v1, "junk_path_rule_last_scantime"
const-wide/16 v2, 0x0
invoke-virtual {v0, v1, v2, v3}, Lcom/cleanmaster/configmanager/a;->a(Ljava/lang/String;J)J
move-result-wide v0
return-wide v0
.end method
.method private static c(Ljava/lang/String;)Ljava/util/regex/Pattern;
.registers 4
.prologue
.line 204
:try_start_0
sget-object v0, Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig;->a:Ljava/util/Map;
invoke-interface {v0, p0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/util/regex/Pattern;
.line 205
if-nez v0, :cond_14
.line 206
const/4 v0, 0x2
invoke-static {p0, v0}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;I)Ljava/util/regex/Pattern;
move-result-object v0
.line 207
sget-object v1, Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig;->a:Ljava/util/Map;
invoke-interface {v1, p0, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
:try_end_14
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_14} :catch_15
.line 214
:cond_14
:goto_14
return-object v0
.line 210
:catch_15
move-exception v0
.line 211
invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V
.line 212
const-string v0, "TreeScanTask"
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
const-string/jumbo v2, "\u6b63\u5219\u7f16\u8bd1\u5931\u8d25\uff1a"
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v1
invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
invoke-static {v0, v1}, Lcom/cleanmaster/service/scantree/b;->b(Ljava/lang/String;Ljava/lang/String;)V
.line 214
const/4 v0, 0x0
goto :goto_14
.end method
.method public static d()V
.registers 4
.prologue
.line 67
invoke-static {}, Lcom/cleanmaster/hpcommonlib/HostHelper;->getAppContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/cleanmaster/configmanager/a;->a(Landroid/content/Context;)Lcom/cleanmaster/configmanager/a;
move-result-object v0
const-string v1, "junk_path_rule_last_scantime"
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v2
invoke-virtual {v0, v1, v2, v3}, Lcom/cleanmaster/configmanager/a;->b(Ljava/lang/String;J)V
.line 68
return-void
.end method
.method private declared-synchronized d(Ljava/lang/String;)Z
.registers 12
.prologue
const/4 v1, 0x1
const/4 v0, 0x0
.line 258
monitor-enter p0
:try_start_3
invoke-static {p1}, Lcom/cleanmaster/service/scantree/cloudconfig/a;->a(Ljava/lang/String;)Ljava/lang/String;
move-result-object v3
.line 259
invoke-static {v3}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
:try_end_a
.catchall {:try_start_3 .. :try_end_a} :catchall_55
move-result v2
if-eqz v2, :cond_f
.line 290
:goto_d
monitor-exit p0
return v0
.line 262
:cond_f
:try_start_f
new-instance v4, Ljava/util/HashSet;
invoke-direct {v4}, Ljava/util/HashSet;-><init>()V
.line 263
const-string/jumbo v2, "white_path_1"
invoke-static {v3, v2}, Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig;->a(Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;
move-result-object v5
.line 264
if-eqz v5, :cond_33
.line 265
array-length v6, v5
move v2, v0
:goto_1f
if-ge v2, v6, :cond_33
aget-object v7, v5, v2
.line 266
new-instance v8, Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig$a;
const/4 v9, 0x1
invoke-virtual {v7}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;
move-result-object v7
invoke-direct {v8, v9, v7}, Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig$a;-><init>(ILjava/lang/String;)V
invoke-interface {v4, v8}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
.line 265
add-int/lit8 v2, v2, 0x1
goto :goto_1f
.line 269
:cond_33
const-string/jumbo v2, "white_path_2"
invoke-static {v3, v2}, Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig;->a(Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;
move-result-object v5
.line 270
if-eqz v5, :cond_58
.line 271
array-length v6, v5
move v2, v0
:goto_3e
if-ge v2, v6, :cond_58
aget-object v7, v5, v2
.line 272
invoke-static {v7}, Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig;->c(Ljava/lang/String;)Ljava/util/regex/Pattern;
move-result-object v8
.line 273
if-nez v8, :cond_4b
.line 271
:goto_48
add-int/lit8 v2, v2, 0x1
goto :goto_3e
.line 276
:cond_4b
new-instance v8, Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig$a;
const/4 v9, 0x2
invoke-direct {v8, v9, v7}, Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig$a;-><init>(ILjava/lang/String;)V
invoke-interface {v4, v8}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
:try_end_54
.catchall {:try_start_f .. :try_end_54} :catchall_55
goto :goto_48
.line 258
:catchall_55
move-exception v0
monitor-exit p0
throw v0
.line 280
:cond_58
:try_start_58
const-string v2, "black_word"
invoke-static {v3, v2}, Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig;->a(Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;
move-result-object v3
.line 281
if-eqz v3, :cond_72
.line 282
array-length v5, v3
move v2, v0
:goto_62
if-ge v2, v5, :cond_72
aget-object v6, v3, v2
.line 283
new-instance v7, Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig$a;
const/4 v8, 0x3
invoke-direct {v7, v8, v6}, Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig$a;-><init>(ILjava/lang/String;)V
invoke-interface {v4, v7}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
.line 282
add-int/lit8 v2, v2, 0x1
goto :goto_62
.line 286
:cond_72
if-eqz v4, :cond_79
.line 287
sget-object v2, Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig;->d:Ljava/util/List;
invoke-interface {v2, v4}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z
.line 289
:cond_79
invoke-interface {v4}, Ljava/util/Set;->size()I
move-result v2
if-lez v2, :cond_80
move v0, v1
:cond_80
sput-boolean v0, Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig;->b:Z
.line 290
sget-boolean v0, Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig;->b:Z
:try_end_84
.catchall {:try_start_58 .. :try_end_84} :catchall_55
goto :goto_d
.end method
.method public static e()Z
.registers 6
.prologue
.line 71
invoke-static {}, Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig;->c()J
move-result-wide v0
.line 72
invoke-static {}, Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig;->b()I
move-result v2
mul-int/lit8 v2, v2, 0x18
mul-int/lit8 v2, v2, 0x3c
mul-int/lit8 v2, v2, 0x3c
int-to-long v2, v2
const-wide/16 v4, 0x3e8
mul-long/2addr v2, v4
add-long/2addr v0, v2
.line 73
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v2
cmp-long v0, v0, v2
if-gez v0, :cond_1d
const/4 v0, 0x1
:goto_1c
return v0
:cond_1d
const/4 v0, 0x0
goto :goto_1c
.end method
.method public static f()Z
.registers 5
.prologue
const/4 v0, 0x1
const/4 v1, 0x0
.line 80
const/16 v2, 0xa
const-string v3, "junk_path_rule"
const-string v4, "is_open"
invoke-static {v2, v3, v4, v1}, Lcom/cleanmaster/recommendapps/b;->a(ILjava/lang/String;Ljava/lang/String;I)I
move-result v2
if-ne v2, v0, :cond_f
:goto_e
return v0
:cond_f
move v0, v1
goto :goto_e
.end method
.method public static g()Z
.registers 6
.prologue
const/4 v1, 0x1
const/4 v0, 0x0
.line 135
invoke-static {}, Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig;->a()Ljava/lang/String;
move-result-object v2
.line 136
invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v3
if-eqz v3, :cond_d
.line 153
:cond_c
:goto_c
return v0
.line 140
:cond_d
invoke-static {}, Lcom/cleanmaster/service/scantree/cloudconfig/a;->a()Ljava/lang/String;
move-result-object v3
.line 141
new-instance v4, Ljava/io/File;
invoke-direct {v4, v3}, Ljava/io/File;-><init>(Ljava/lang/String;)V
.line 142
invoke-virtual {v4}, Ljava/io/File;->exists()Z
move-result v3
if-nez v3, :cond_1e
move v0, v1
.line 143
goto :goto_c
.line 146
:cond_1e
invoke-static {}, Lcom/cleanmaster/hpcommonlib/HostHelper;->getAppContext()Landroid/content/Context;
move-result-object v3
invoke-static {v3}, Lcom/cleanmaster/configmanager/a;->a(Landroid/content/Context;)Lcom/cleanmaster/configmanager/a;
move-result-object v3
.line 147
const-string v4, "junk_path_rule_last_updateurl"
const/4 v5, 0x0
invoke-virtual {v3, v4, v5}, Lcom/cleanmaster/configmanager/a;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object v3
.line 149
invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v2
if-nez v2, :cond_c
move v0, v1
.line 153
goto :goto_c
.end method
.method public static h()Z
.registers 1
.prologue
.line 157
sget-boolean v0, Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig;->b:Z
return v0
.end method
.method private static i()V
.registers 4
.prologue
.line 121
new-instance v0, Lcom/cleanmaster/service/scantree/cloudconfig/a;
invoke-direct {v0}, Lcom/cleanmaster/service/scantree/cloudconfig/a;-><init>()V
.line 122
invoke-static {}, Lcom/cleanmaster/hpcommonlib/HostHelper;->getAppContext()Landroid/content/Context;
move-result-object v1
invoke-static {v1}, Lcom/cleanmaster/configmanager/a;->a(Landroid/content/Context;)Lcom/cleanmaster/configmanager/a;
move-result-object v1
.line 124
invoke-static {}, Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig;->a()Ljava/lang/String;
move-result-object v2
.line 125
const/4 v3, 0x1
invoke-virtual {v0, v2, v3}, Lcom/cleanmaster/service/scantree/cloudconfig/a;->a(Ljava/lang/String;I)Z
move-result v0
.line 126
if-nez v0, :cond_19
.line 130
:goto_18
return-void
.line 129
:cond_19
const-string v0, "junk_path_rule_last_updateurl"
invoke-virtual {v1, v0, v2}, Lcom/cleanmaster/configmanager/a;->b(Ljava/lang/String;Ljava/lang/String;)V
goto :goto_18
.end method
# virtual methods
.method public run()V
.registers 3
.prologue
const/4 v1, 0x1
.line 239
invoke-static {}, Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig;->g()Z
move-result v0
if-eqz v0, :cond_a
.line 240
invoke-static {}, Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig;->i()V
.line 243
:cond_a
invoke-static {}, Lcom/cleanmaster/service/scantree/cloudconfig/a;->a()Ljava/lang/String;
move-result-object v0
.line 244
invoke-direct {p0, v0}, Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig;->d(Ljava/lang/String;)Z
move-result v0
if-eqz v0, :cond_1a
.line 245
iget-object v0, p0, Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig;->c:Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig$IConfigResult;
invoke-interface {v0, v1}, Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig$IConfigResult;->onConfigResultRespone(Z)V
.line 254
:goto_19
return-void
.line 248
:cond_1a
invoke-static {}, Lcom/cleanmaster/hpcommonlib/HostHelper;->isDebug()Z
move-result v0
if-eqz v0, :cond_28
.line 249
sput-boolean v1, Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig;->b:Z
.line 250
iget-object v0, p0, Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig;->c:Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig$IConfigResult;
invoke-interface {v0, v1}, Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig$IConfigResult;->onConfigResultRespone(Z)V
goto :goto_19
.line 253
:cond_28
iget-object v0, p0, Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig;->c:Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig$IConfigResult;
const/4 v1, 0x0
invoke-interface {v0, v1}, Lcom/cleanmaster/service/scantree/cloudconfig/ScanTreeConfig$IConfigResult;->onConfigResultRespone(Z)V
goto :goto_19
.end method