d.smali
.class public Lcom/cleanmaster/weather/data/d;
.super Ljava/lang/Object;
.source "WeatherUtils.java"
# static fields
.field public static a:Ljava/lang/String;
.field public static b:Ljava/lang/String;
.field public static c:Ljava/lang/String;
.field public static d:Ljava/lang/String;
.field private static final e:Ljava/lang/String;
# direct methods
.method static constructor <clinit>()V
.registers 1
.prologue
.line 27
const-class v0, Lcom/cleanmaster/weather/data/d;
invoke-virtual {v0}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
move-result-object v0
sput-object v0, Lcom/cleanmaster/weather/data/d;->e:Ljava/lang/String;
.line 32
invoke-static {}, Lcom/cleanmaster/hpsharelib/base/util/system/ConflictCommons;->isCNVersion()Z
move-result v0
if-eqz v0, :cond_2b
const-string v0, "https://weather.ksmobile.com/api/city/iplocate?"
:goto_10
sput-object v0, Lcom/cleanmaster/weather/data/d;->a:Ljava/lang/String;
.line 35
invoke-static {}, Lcom/cleanmaster/hpsharelib/base/util/system/ConflictCommons;->isCNVersion()Z
move-result v0
if-eqz v0, :cond_2e
const-string v0, "https://weather.ksmobile.com/api/forecasts?"
:goto_1a
sput-object v0, Lcom/cleanmaster/weather/data/d;->b:Ljava/lang/String;
.line 38
invoke-static {}, Lcom/cleanmaster/hpsharelib/base/util/system/ConflictCommons;->isCNVersion()Z
move-result v0
if-eqz v0, :cond_31
const-string v0, "https://weather.ksmobile.com/api/city/search?"
:goto_24
sput-object v0, Lcom/cleanmaster/weather/data/d;->c:Ljava/lang/String;
.line 40
const-string v0, "http://w.cm.ksmobile.com/api/cm/cm?"
sput-object v0, Lcom/cleanmaster/weather/data/d;->d:Ljava/lang/String;
return-void
.line 32
:cond_2b
const-string v0, "https://weather.ksmobile.net/api/city/iplocate?"
goto :goto_10
.line 35
:cond_2e
const-string v0, "https://weather.ksmobile.net/api/forecasts?"
goto :goto_1a
.line 38
:cond_31
const-string v0, "https://weather.ksmobile.net/api/city/search?"
goto :goto_24
.end method
.method public constructor <init>()V
.registers 1
.prologue
.line 25
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static a(DDDD)D
.registers 20
.prologue
.line 59
invoke-static {p2, p3}, Ljava/lang/Math;->toRadians(D)D
move-result-wide v0
.line 60
invoke-static/range {p6 .. p7}, Ljava/lang/Math;->toRadians(D)D
move-result-wide v2
.line 61
invoke-static {p0, p1}, Ljava/lang/Math;->toRadians(D)D
move-result-wide v4
.line 62
invoke-static/range {p4 .. p5}, Ljava/lang/Math;->toRadians(D)D
move-result-wide v6
.line 63
sub-double v8, v0, v2
.line 64
sub-double/2addr v4, v6
.line 65
const-wide/high16 v6, 0x4000000000000000L # 2.0
const-wide/high16 v10, 0x4000000000000000L # 2.0
div-double/2addr v8, v10
invoke-static {v8, v9}, Ljava/lang/Math;->sin(D)D
move-result-wide v8
const-wide/high16 v10, 0x4000000000000000L # 2.0
invoke-static {v8, v9, v10, v11}, Ljava/lang/Math;->pow(DD)D
move-result-wide v8
invoke-static {v0, v1}, Ljava/lang/Math;->cos(D)D
move-result-wide v0
invoke-static {v2, v3}, Ljava/lang/Math;->cos(D)D
move-result-wide v2
mul-double/2addr v0, v2
const-wide/high16 v2, 0x4000000000000000L # 2.0
div-double v2, v4, v2
invoke-static {v2, v3}, Ljava/lang/Math;->sin(D)D
move-result-wide v2
const-wide/high16 v4, 0x4000000000000000L # 2.0
invoke-static {v2, v3, v4, v5}, Ljava/lang/Math;->pow(DD)D
move-result-wide v2
mul-double/2addr v0, v2
add-double/2addr v0, v8
invoke-static {v0, v1}, Ljava/lang/Math;->sqrt(D)D
move-result-wide v0
invoke-static {v0, v1}, Ljava/lang/Math;->asin(D)D
move-result-wide v0
mul-double/2addr v0, v6
.line 66
const-wide v2, 0x40b8ea23126e978dL # 6378.137
mul-double/2addr v0, v2
const-wide v2, 0x408f400000000000L # 1000.0
mul-double/2addr v0, v2
.line 67
return-wide v0
.end method
.method public static a(I)I
.registers 5
.prologue
.line 134
invoke-static {}, Lcom/cleanmaster/weather/data/d;->b()Z
move-result v0
.line 135
if-eqz v0, :cond_11
.line 136
int-to-double v0, p0
const-wide v2, 0x3ffccccccccccccdL # 1.8
mul-double/2addr v0, v2
const-wide/high16 v2, 0x4040000000000000L # 32.0
add-double/2addr v0, v2
double-to-int p0, v0
.line 138
:cond_11
return p0
.end method
.method public static a()Ljava/lang/String;
.registers 3
.prologue
.line 71
const/4 v0, 0x1
invoke-static {v0}, Lcom/cleanmaster/weather/data/d;->a(Z)Ljava/lang/String;
move-result-object v0
.line 73
const-string v1, "ZH_CN"
invoke-virtual {v0}, Ljava/lang/String;->toUpperCase()Ljava/lang/String;
move-result-object v2
invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v1
if-nez v1, :cond_1f
const-string v1, "ZH_TW"
invoke-virtual {v0}, Ljava/lang/String;->toUpperCase()Ljava/lang/String;
move-result-object v2
invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v1
if-nez v1, :cond_1f
.line 74
const-string v0, "EN_US"
.line 76
:cond_1f
return-object v0
.end method
.method public static a(Z)Ljava/lang/String;
.registers 4
.prologue
.line 96
const-string v0, ""
.line 97
invoke-static {}, Lcom/keniu/security/l;->d()Landroid/content/Context;
move-result-object v1
invoke-static {v1}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->getInstanse(Landroid/content/Context;)Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;
move-result-object v1
invoke-static {}, Lcom/keniu/security/l;->d()Landroid/content/Context;
move-result-object v2
invoke-virtual {v1, v2}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->getLanguageSelected(Landroid/content/Context;)Lcom/cm/plugincluster/cleanmaster/base/util/system/LanguageCountry;
move-result-object v1
.line 98
invoke-virtual {v1}, Lcom/cm/plugincluster/cleanmaster/base/util/system/LanguageCountry;->getLanguage()Ljava/lang/String;
move-result-object v2
if-eqz v2, :cond_1c
.line 99
invoke-virtual {v1}, Lcom/cm/plugincluster/cleanmaster/base/util/system/LanguageCountry;->getLanguage()Ljava/lang/String;
move-result-object v0
.line 101
:cond_1c
if-eqz p0, :cond_3f
invoke-virtual {v1}, Lcom/cm/plugincluster/cleanmaster/base/util/system/LanguageCountry;->getCountry()Ljava/lang/String;
move-result-object v2
if-eqz v2, :cond_3f
.line 102
new-instance v2, Ljava/lang/StringBuilder;
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
const-string v2, "_"
invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
invoke-virtual {v1}, Lcom/cm/plugincluster/cleanmaster/base/util/system/LanguageCountry;->getCountry()Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
.line 104
:cond_3f
return-object v0
.end method
.method public static b(I)I
.registers 2
.prologue
const/4 v0, 0x0
.line 251
packed-switch p0, :pswitch_data_e
.line 263
:goto_4
:pswitch_4
return v0
.line 255
:pswitch_5
const/4 v0, 0x1
goto :goto_4
.line 257
:pswitch_7
const/4 v0, 0x2
goto :goto_4
.line 259
:pswitch_9
const/4 v0, 0x3
goto :goto_4
.line 261
:pswitch_b
const/4 v0, 0x4
goto :goto_4
.line 251
nop
:pswitch_data_e
.packed-switch 0x0
:pswitch_b
:pswitch_4
:pswitch_5
:pswitch_7
:pswitch_9
.end packed-switch
.end method
.method public static b()Z
.registers 4
.prologue
const/4 v1, 0x1
const/4 v0, 0x0
.line 149
invoke-static {}, Lcom/keniu/security/l;->d()Landroid/content/Context;
move-result-object v2
invoke-static {v2}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->getInstanse(Landroid/content/Context;)Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;
move-result-object v2
invoke-virtual {v2}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->getFloatWindowWeatherTemperatureIndex()I
move-result v2
.line 150
const/4 v3, -0x1
if-le v2, v3, :cond_14
.line 152
if-nez v2, :cond_2e
.line 173
:cond_13
:goto_13
return v0
.line 158
:cond_14
invoke-static {}, Lcom/keniu/security/l;->d()Landroid/content/Context;
move-result-object v2
invoke-static {v2}, Lcom/utils/CommonUtils;->getMCC(Landroid/content/Context;)Ljava/lang/String;
move-result-object v2
.line 159
if-eqz v2, :cond_13
invoke-virtual {v2}, Ljava/lang/String;->length()I
move-result v3
if-lez v3, :cond_13
.line 160
const-string v3, "310,311,312,313,314,315,316,364,702,346,234,235,330,535,552"
.line 161
invoke-virtual {v3, v2}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z
move-result v2
if-eqz v2, :cond_13
move v0, v1
.line 162
goto :goto_13
:cond_2e
move v0, v1
goto :goto_13
.end method
.method public static c(I)I
.registers 2
.prologue
const/4 v0, 0x1
.line 268
packed-switch p0, :pswitch_data_e
.line 280
:goto_4
:pswitch_4
return v0
.line 272
:pswitch_5
const/4 v0, 0x2
goto :goto_4
.line 274
:pswitch_7
const/4 v0, 0x3
goto :goto_4
.line 276
:pswitch_9
const/4 v0, 0x4
goto :goto_4
.line 278
:pswitch_b
const/4 v0, 0x0
goto :goto_4
.line 268
nop
:pswitch_data_e
.packed-switch 0x0
:pswitch_4
:pswitch_5
:pswitch_7
:pswitch_9
:pswitch_b
.end packed-switch
.end method
.method public static c()Ljava/lang/String;
.registers 1
.prologue
.line 187
invoke-static {}, Lcom/cleanmaster/weather/data/d;->b()Z
move-result v0
if-eqz v0, :cond_a
.line 188
const-string/jumbo v0, "\u00b0F"
.line 190
:goto_9
return-object v0
:cond_a
const-string/jumbo v0, "\u00b0C"
goto :goto_9
.end method
.method public static d()I
.registers 2
.prologue
.line 219
invoke-static {}, Lcom/keniu/security/l;->d()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->getInstanse(Landroid/content/Context;)Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;
move-result-object v0
invoke-virtual {v0}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->getFloatWindowWeatherWindSpeedIndex()I
move-result v0
.line 220
const/4 v1, -0x1
if-le v0, v1, :cond_10
.line 247
:goto_f
return v0
.line 223
:cond_10
invoke-static {}, Lcom/keniu/security/l;->d()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/utils/CommonUtils;->getMCC(Landroid/content/Context;)Ljava/lang/String;
move-result-object v0
.line 226
:try_start_18
invoke-static {v0}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
move-result v0
.line 227
invoke-static {v0}, Lcom/cm/f/a/a;->a(I)I
move-result v0
.line 229
invoke-static {v0}, Lcom/cleanmaster/weather/data/d;->b(I)I
:try_end_23
.catch Ljava/lang/Exception; {:try_start_18 .. :try_end_23} :catch_25
move-result v0
goto :goto_f
.line 230
:catch_25
move-exception v0
.line 247
const/4 v0, 0x0
goto :goto_f
.end method
.method public static e()J
.registers 3
.prologue
.line 297
const/16 v0, 0x3e8
.line 300
:try_start_2
const-string v1, "app_weather"
const-string v2, "app_weather_gps_non_request_range"
invoke-static {v1, v2, v0}, Lcom/cleanmaster/hpsharelib/cloudconfig/CloudCfgDataWrapper;->getCloudCfgIntValue(Ljava/lang/String;Ljava/lang/String;I)I
:try_end_9
.catch Ljava/lang/Exception; {:try_start_2 .. :try_end_9} :catch_c
move-result v0
int-to-long v0, v0
.line 304
:goto_b
return-wide v0
.line 301
:catch_c
move-exception v1
.line 304
int-to-long v0, v0
goto :goto_b
.end method
.method public static f()Z
.registers 4
.prologue
const/4 v0, 0x1
.line 325
:try_start_1
const-string v1, "app_weather"
const-string v2, "app_weather_upload_wifi_bssid_open"
const/4 v3, 0x1
invoke-static {v1, v2, v3}, Lcom/cleanmaster/hpsharelib/cloudconfig/CloudCfgDataWrapper;->getCloudCfgBooleanValue(Ljava/lang/String;Ljava/lang/String;Z)Z
:try_end_9
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_9} :catch_b
move-result v0
.line 329
:goto_a
return v0
.line 326
:catch_b
move-exception v1
goto :goto_a
.end method
.method public static g()Ljava/lang/String;
.registers 2
.prologue
.line 446
invoke-static {}, Lcom/keniu/security/l;->d()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->getInstanse(Landroid/content/Context;)Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;
move-result-object v0
invoke-virtual {v0}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->getCityCode()Ljava/lang/String;
move-result-object v0
.line 447
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v1
if-nez v1, :cond_13
.line 450
:goto_12
return-object v0
:cond_13
invoke-static {}, Lcom/keniu/security/l;->d()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->getInstanse(Landroid/content/Context;)Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;
move-result-object v0
invoke-virtual {v0}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->getCityCodeBy3G()Ljava/lang/String;
move-result-object v0
goto :goto_12
.end method
.method public static h()Ljava/lang/String;
.registers 2
.prologue
.line 454
invoke-static {}, Lcom/keniu/security/l;->d()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->getInstanse(Landroid/content/Context;)Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;
move-result-object v0
invoke-virtual {v0}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->getCityName()Ljava/lang/String;
move-result-object v0
.line 455
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v1
if-nez v1, :cond_13
.line 458
:goto_12
return-object v0
:cond_13
invoke-static {}, Lcom/keniu/security/l;->d()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->getInstanse(Landroid/content/Context;)Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;
move-result-object v0
invoke-virtual {v0}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->getCityNameBy3G()Ljava/lang/String;
move-result-object v0
goto :goto_12
.end method
.method public static i()Ljava/lang/String;
.registers 1
.prologue
.line 469
const-string v0, ""
return-object v0
.end method
.method public static j()Ljava/lang/String;
.registers 2
.prologue
.line 475
invoke-static {}, Lcom/keniu/security/l;->d()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->getInstanse(Landroid/content/Context;)Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;
move-result-object v0
invoke-virtual {v0}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->getCountyName()Ljava/lang/String;
move-result-object v0
.line 476
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v1
if-nez v1, :cond_13
.line 479
:goto_12
return-object v0
:cond_13
invoke-static {}, Lcom/keniu/security/l;->d()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->getInstanse(Landroid/content/Context;)Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;
move-result-object v0
invoke-virtual {v0}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->getCountyName3G()Ljava/lang/String;
move-result-object v0
goto :goto_12
.end method
.method public static k()Ljava/lang/String;
.registers 2
.prologue
.line 483
invoke-static {}, Lcom/keniu/security/l;->d()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->getInstanse(Landroid/content/Context;)Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;
move-result-object v0
invoke-virtual {v0}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->getCityTrueName()Ljava/lang/String;
move-result-object v0
.line 484
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v1
if-nez v1, :cond_13
.line 487
:goto_12
return-object v0
:cond_13
invoke-static {}, Lcom/keniu/security/l;->d()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->getInstanse(Landroid/content/Context;)Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;
move-result-object v0
invoke-virtual {v0}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->getCityTrueName3G()Ljava/lang/String;
move-result-object v0
goto :goto_12
.end method
.method public static l()Ljava/lang/String;
.registers 2
.prologue
.line 491
invoke-static {}, Lcom/keniu/security/l;->d()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->getInstanse(Landroid/content/Context;)Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;
move-result-object v0
invoke-virtual {v0}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->getProvinceName()Ljava/lang/String;
move-result-object v0
.line 492
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v1
if-nez v1, :cond_13
.line 495
:goto_12
return-object v0
:cond_13
invoke-static {}, Lcom/keniu/security/l;->d()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->getInstanse(Landroid/content/Context;)Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;
move-result-object v0
invoke-virtual {v0}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->getProvinceName3G()Ljava/lang/String;
move-result-object v0
goto :goto_12
.end method
.method public static m()Ljava/lang/String;
.registers 2
.prologue
.line 499
invoke-static {}, Lcom/keniu/security/l;->d()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->getInstanse(Landroid/content/Context;)Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;
move-result-object v0
invoke-virtual {v0}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->getCountryName()Ljava/lang/String;
move-result-object v0
.line 500
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v1
if-nez v1, :cond_13
.line 503
:goto_12
return-object v0
:cond_13
invoke-static {}, Lcom/keniu/security/l;->d()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->getInstanse(Landroid/content/Context;)Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;
move-result-object v0
invoke-virtual {v0}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->getCountryName3G()Ljava/lang/String;
move-result-object v0
goto :goto_12
.end method
.method public static n()Z
.registers 2
.prologue
.line 514
invoke-static {}, Lcom/cleanmaster/weather/data/d;->g()Ljava/lang/String;
move-result-object v0
.line 515
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v1
if-nez v1, :cond_12
const-string v1, "null"
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_14
.line 516
:cond_12
const/4 v0, 0x1
.line 518
:goto_13
return v0
:cond_14
const/4 v0, 0x0
goto :goto_13
.end method
.method public static o()Z
.registers 1
.prologue
.line 544
invoke-static {}, Lcom/cleanmaster/weather/data/d;->r()Z
move-result v0
if-nez v0, :cond_8
const/4 v0, 0x0
:goto_7
return v0
:cond_8
const/4 v0, 0x1
goto :goto_7
.end method
.method public static p()Z
.registers 4
.prologue
.line 588
invoke-static {}, Lcom/keniu/security/l;->d()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->getInstanse(Landroid/content/Context;)Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;
move-result-object v0
const-wide/16 v2, 0x0
invoke-virtual {v0, v2, v3}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->getLastLocationUpdateTime(J)J
move-result-wide v0
.line 589
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v2
.line 590
sub-long v0, v2, v0
const-wide/32 v2, 0x1499700
cmp-long v0, v0, v2
if-ltz 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 q()Z
.registers 1
.prologue
.line 724
invoke-static {}, Lcom/cleanmaster/hpsharelib/base/util/system/ConflictCommons;->isCNVersion()Z
move-result v0
if-eqz v0, :cond_16
invoke-static {}, Lcom/keniu/security/l;->d()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->getInstanse(Landroid/content/Context;)Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;
move-result-object v0
invoke-virtual {v0}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->getAllowPositioning()Z
move-result v0
if-eqz v0, :cond_16
const/4 v0, 0x1
:goto_15
return v0
:cond_16
const/4 v0, 0x0
goto :goto_15
.end method
.method private static r()Z
.registers 1
.prologue
.line 551
const/4 v0, 0x1
return v0
.end method