InterestedUtils$2.smali

.class Lcom/cleanmaster/hpsharelib/func/interested/InterestedUtils$2;
.super Ljava/lang/Object;
.source "InterestedUtils.java"

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field final synthetic this$0:Lcom/cleanmaster/hpsharelib/func/interested/InterestedUtils;

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


# direct methods
.method constructor <init>(Lcom/cleanmaster/hpsharelib/func/interested/InterestedUtils;Ljava/lang/String;)V
    .registers 3

    .prologue
    .line 410
    iput-object p1, p0, Lcom/cleanmaster/hpsharelib/func/interested/InterestedUtils$2;->this$0:Lcom/cleanmaster/hpsharelib/func/interested/InterestedUtils;

    iput-object p2, p0, Lcom/cleanmaster/hpsharelib/func/interested/InterestedUtils$2;->val$currentCloesdPkg:Ljava/lang/String;

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

    return-void
.end method


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

    .prologue
    .line 414
    iget-object v0, p0, Lcom/cleanmaster/hpsharelib/func/interested/InterestedUtils$2;->val$currentCloesdPkg:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_9

    .line 433
    :cond_8
    :goto_8
    return-void

    .line 418
    :cond_9
    new-instance v0, Lcom/cleanmaster/hpsharelib/base/util/system/TopAppQuery;

    invoke-direct {v0}, Lcom/cleanmaster/hpsharelib/base/util/system/TopAppQuery;-><init>()V

    .line 419
    invoke-static {}, Lcom/cleanmaster/hpsharelib/base/util/HostHelper;->getAppContext()Landroid/content/Context;

    move-result-object v0

    invoke-virtual {v0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/cleanmaster/hpsharelib/base/util/system/TopAppQuery;->getTopAppPkgName(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    .line 420
    iget-object v1, p0, Lcom/cleanmaster/hpsharelib/func/interested/InterestedUtils$2;->val$currentCloesdPkg:Ljava/lang/String;

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_8

    .line 423
    iget-object v0, p0, Lcom/cleanmaster/hpsharelib/func/interested/InterestedUtils$2;->this$0:Lcom/cleanmaster/hpsharelib/func/interested/InterestedUtils;

    invoke-static {v0}, Lcom/cleanmaster/hpsharelib/func/interested/InterestedUtils;->access$200(Lcom/cleanmaster/hpsharelib/func/interested/InterestedUtils;)Z

    move-result v0

    if-eqz v0, :cond_8

    .line 427
    iget-object v0, p0, Lcom/cleanmaster/hpsharelib/func/interested/InterestedUtils$2;->this$0:Lcom/cleanmaster/hpsharelib/func/interested/InterestedUtils;

    iget-object v1, p0, Lcom/cleanmaster/hpsharelib/func/interested/InterestedUtils$2;->val$currentCloesdPkg:Ljava/lang/String;

    const/4 v2, 0x3

    invoke-static {v0, v1, v2}, Lcom/cleanmaster/hpsharelib/func/interested/InterestedUtils;->access$100(Lcom/cleanmaster/hpsharelib/func/interested/InterestedUtils;Ljava/lang/String;I)V

    .line 430
    invoke-static {}, Lcom/cm/plugincluster/core/proxy/CacheScanPushProxy;->getInstance()Lcom/cm/plugincluster/core/interfaces/junk/ICacheScanPush;

    move-result-object v0

    iget-object v1, p0, Lcom/cleanmaster/hpsharelib/func/interested/InterestedUtils$2;->val$currentCloesdPkg:Ljava/lang/String;

    invoke-interface {v0, v1}, Lcom/cm/plugincluster/core/interfaces/junk/ICacheScanPush;->startPushForDu(Ljava/lang/String;)V

    .line 431
    invoke-static {}, Lcom/cleanmaster/hpsharelib/base/util/HostHelper;->getAppContext()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;->setInterestLastNotifyTime()V

    .line 432
    const/4 v0, 0x1

    const/4 v1, 0x2

    iget-object v2, p0, Lcom/cleanmaster/hpsharelib/func/interested/InterestedUtils$2;->val$currentCloesdPkg:Ljava/lang/String;

    invoke-static {v0, v1, v2}, Lcom/cleanmaster/hpsharelib/func/interested/ReportUtil;->reportShow(ZILjava/lang/String;)V

    goto :goto_8
.end method