InterestedUtils$3.smali

.class Lcom/cleanmaster/hpsharelib/func/interested/InterestedUtils$3;
.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 445
    iput-object p1, p0, Lcom/cleanmaster/hpsharelib/func/interested/InterestedUtils$3;->this$0:Lcom/cleanmaster/hpsharelib/func/interested/InterestedUtils;

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

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

    return-void
.end method


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

    .prologue
    const/4 v4, 0x1

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

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

    move-result v0

    if-eqz v0, :cond_a

    .line 476
    :cond_9
    :goto_9
    return-void

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

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

    .line 455
    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 456
    iget-object v1, p0, Lcom/cleanmaster/hpsharelib/func/interested/InterestedUtils$3;->val$currentCloesdPkg:Ljava/lang/String;

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

    move-result v1

    if-nez v1, :cond_9

    .line 459
    iget-object v1, p0, Lcom/cleanmaster/hpsharelib/func/interested/InterestedUtils$3;->this$0:Lcom/cleanmaster/hpsharelib/func/interested/InterestedUtils;

    # invokes: Lcom/cleanmaster/hpsharelib/func/interested/InterestedUtils;->isNotifyTimeFull()Z
    invoke-static {v1}, Lcom/cleanmaster/hpsharelib/func/interested/InterestedUtils;->access$200(Lcom/cleanmaster/hpsharelib/func/interested/InterestedUtils;)Z

    move-result v1

    if-eqz v1, :cond_9

    .line 463
    invoke-static {}, Lcom/cm/plugincluster/core/proxy/CoreCommonProxy;->getUsedMemoryWatcher()Lcom/cm/plugincluster/boost/process/IUsedMemoryWatcher;

    move-result-object v1

    .line 464
    if-eqz v1, :cond_9

    .line 469
    const/4 v2, 0x2

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

    invoke-interface {v1, v2, v3}, Lcom/cm/plugincluster/boost/process/IUsedMemoryWatcher;->showNotifyAfterDUExit(ILjava/lang/String;)Z

    move-result v1

    .line 470
    if-eqz v1, :cond_9

    .line 471
    iget-object v1, p0, Lcom/cleanmaster/hpsharelib/func/interested/InterestedUtils$3;->this$0:Lcom/cleanmaster/hpsharelib/func/interested/InterestedUtils;

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

    const/4 v3, 0x3

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

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

    .line 473
    invoke-static {v4, v4, v0}, Lcom/cleanmaster/hpsharelib/func/interested/ReportUtil;->reportShow(ZILjava/lang/String;)V

    goto :goto_9
.end method