t.smali

.class Lcom/keniu/security/t;
.super Ljava/lang/Object;
.source "MoSecurityApplication.java"

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field final synthetic a:Lcom/keniu/security/m$a;


# direct methods
.method constructor <init>(Lcom/keniu/security/m$a;)V
    .registers 2

    .prologue
    .line 430
    iput-object p1, p0, Lcom/keniu/security/t;->a:Lcom/keniu/security/m$a;

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

    return-void
.end method

.method private a()V
    .registers 6

    .prologue
    const/4 v4, 0x2

    .line 453
    invoke-static {}, Lcom/keniu/security/update/c/o;->b()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/cleanmaster/hpsharelib/base/util/io/FileUtils;->getFileLastModified(Ljava/lang/String;)J

    move-result-wide v0

    .line 454
    invoke-static {}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->getInstanse()Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;

    move-result-object v2

    invoke-virtual {v2}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->getCubeLocalUpdateTime()J

    move-result-wide v2

    .line 455
    cmp-long v2, v0, v2

    if-lez v2, :cond_21

    .line 456
    invoke-static {}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->getInstanse()Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;

    move-result-object v2

    invoke-virtual {v2, v0, v1}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->setCubeLocalUpdateTime(J)V

    .line 457
    const/4 v0, 0x1

    invoke-static {v4, v0}, Lcom/keniu/security/update/b/b;->a(II)V

    .line 463
    :goto_20
    return-void

    .line 458
    :cond_21
    invoke-static {}, Lcom/keniu/security/update/c/o;->a()Z

    move-result v0

    if-nez v0, :cond_2c

    .line 459
    const/4 v0, 0x4

    invoke-static {v4, v0}, Lcom/keniu/security/update/b/b;->a(II)V

    goto :goto_20

    .line 461
    :cond_2c
    invoke-static {v4, v4}, Lcom/keniu/security/update/b/b;->a(II)V

    goto :goto_20
.end method


# virtual methods
.method public run()V
    .registers 4

    .prologue
    .line 433
    invoke-static {}, Lcom/cm/plugincluster/notificationclean/plugin/NotificationCleanPluginDelegate;->getNotificationCleanModule()Lcom/cm/plugincluster/notificationclean/interfaces/INotificationCleanPluginModule;

    move-result-object v0

    invoke-interface {v0}, Lcom/cm/plugincluster/notificationclean/interfaces/INotificationCleanPluginModule;->startNotificationWhiteDownload()V

    .line 434
    const v0, 0x134001

    const/4 v1, 0x0

    const/4 v2, 0x0

    new-array v2, v2, [Ljava/lang/Object;

    invoke-static {v0, v1, v2}, Lcom/cm/plugincluster/spec/CommanderManager;->invokeCommand(ILjava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;

    .line 436
    invoke-static {}, Lcom/cm/plugincluster/applock/plugin/ApplockPluginDelegate;->getModule()Lcom/cm/plugincluster/applock/plugin/IApplockPluginModule;

    move-result-object v0

    invoke-interface {v0}, Lcom/cm/plugincluster/applock/plugin/IApplockPluginModule;->isAppLockEnabled()Z

    move-result v0

    if-eqz v0, :cond_2c

    invoke-static {}, Lcom/keniu/security/m;->d()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/cleanmaster/hpsharelib/base/util/net/NetworkUtil;->isWifiNetworkUp(Landroid/content/Context;)Z

    move-result v0

    if-eqz v0, :cond_2c

    .line 437
    invoke-static {}, Lcom/cm/plugincluster/applock/plugin/ApplockPluginDelegate;->getModule()Lcom/cm/plugincluster/applock/plugin/IApplockPluginModule;

    move-result-object v0

    invoke-interface {v0}, Lcom/cm/plugincluster/applock/plugin/IApplockPluginModule;->loadLottery()V

    .line 441
    :cond_2c
    invoke-static {}, Lcom/keniu/security/m;->d()Landroid/content/Context;

    move-result-object v0

    new-instance v1, Landroid/content/Intent;

    const-string v2, "applock_cloudcfg_changed_notification"

    invoke-direct {v1, v2}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    invoke-static {}, Lcom/keniu/security/m;->d()Landroid/content/Context;

    move-result-object v2

    invoke-virtual {v2}, Landroid/content/Context;->getPackageName()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/content/Intent;->setPackage(Ljava/lang/String;)Landroid/content/Intent;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/content/Context;->sendBroadcast(Landroid/content/Intent;)V

    .line 447
    invoke-static {}, Lcom/cm/plugincluster/gamebox/GameBoxPluginDelegate;->onCloudCfgDataChanged()V

    .line 449
    invoke-direct {p0}, Lcom/keniu/security/t;->a()V

    .line 450
    return-void
.end method