ProcessNotifierUtil.smali

.class public Lcom/cleanmaster/hpsharelib/boost/process/util/ProcessNotifierUtil;
.super Ljava/lang/Object;
.source "ProcessNotifierUtil.java"


# static fields
.field private static sLostStarsPluginModule:Lcom/cm/plugincluster/loststars/interfaces/ILostStarsPluginModule;


# direct methods
.method public constructor <init>()V
    .registers 1

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

    return-void
.end method

.method public static getPluginModule()Lcom/cm/plugincluster/loststars/interfaces/ILostStarsPluginModule;
    .registers 3

    .prologue
    .line 31
    sget-object v0, Lcom/cleanmaster/hpsharelib/boost/process/util/ProcessNotifierUtil;->sLostStarsPluginModule:Lcom/cm/plugincluster/loststars/interfaces/ILostStarsPluginModule;

    if-eqz v0, :cond_7

    .line 32
    sget-object v0, Lcom/cleanmaster/hpsharelib/boost/process/util/ProcessNotifierUtil;->sLostStarsPluginModule:Lcom/cm/plugincluster/loststars/interfaces/ILostStarsPluginModule;

    .line 39
    :goto_6
    return-object v0

    .line 35
    :cond_7
    const-class v1, Lcom/cleanmaster/hpsharelib/boost/process/util/ProcessNotifierUtil;

    monitor-enter v1

    .line 36
    const v0, 0x186001

    const/4 v2, 0x0

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

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

    move-result-object v0

    check-cast v0, Lcom/cm/plugincluster/loststars/interfaces/ILostStarsPluginModule;

    sput-object v0, Lcom/cleanmaster/hpsharelib/boost/process/util/ProcessNotifierUtil;->sLostStarsPluginModule:Lcom/cm/plugincluster/loststars/interfaces/ILostStarsPluginModule;

    .line 37
    monitor-exit v1
    :try_end_19
    .catchall {:try_start_e .. :try_end_19} :catchall_1c

    .line 39
    sget-object v0, Lcom/cleanmaster/hpsharelib/boost/process/util/ProcessNotifierUtil;->sLostStarsPluginModule:Lcom/cm/plugincluster/loststars/interfaces/ILostStarsPluginModule;

    goto :goto_6

    .line 37
    :catchall_1c
    move-exception v0

    :try_start_1d
    monitor-exit v1
    :try_end_1e
    .catchall {:try_start_1d .. :try_end_1e} :catchall_1c

    throw v0
.end method

.method public static notifyFloatFlush(IJ)V
    .registers 4

    .prologue
    .line 21
    invoke-static {}, Lcom/cleanmaster/hpsharelib/boost/process/util/ProcessNotifierUtil;->getPluginModule()Lcom/cm/plugincluster/loststars/interfaces/ILostStarsPluginModule;

    move-result-object v0

    if-eqz v0, :cond_17

    invoke-static {}, Lcom/cleanmaster/hpsharelib/boost/process/util/ProcessNotifierUtil;->getPluginModule()Lcom/cm/plugincluster/loststars/interfaces/ILostStarsPluginModule;

    move-result-object v0

    invoke-interface {v0}, Lcom/cm/plugincluster/loststars/interfaces/ILostStarsPluginModule;->isFloatServiceAlive()Z

    move-result v0

    if-eqz v0, :cond_17

    .line 22
    invoke-static {}, Lcom/cleanmaster/hpsharelib/boost/process/util/ProcessNotifierUtil;->getPluginModule()Lcom/cm/plugincluster/loststars/interfaces/ILostStarsPluginModule;

    move-result-object v0

    invoke-interface {v0, p0, p1, p2}, Lcom/cm/plugincluster/loststars/interfaces/ILostStarsPluginModule;->startManualFlushMemIntent(IJ)V

    .line 25
    :cond_17
    return-void
.end method

.method public static notifyNotificationMemoryFlush()V
    .registers 3

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

    move-result-object v0

    .line 59
    new-instance v1, Landroid/content/Intent;

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

    .line 60
    const-string v2, "action_reflesh_memory"

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

    .line 61
    invoke-virtual {v0}, 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;

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

    .line 63
    return-void
.end method

.method public static notifyWidgetFlush(JJ)V
    .registers 4

    .prologue
    .line 52
    return-void
.end method