fg.smali

.class Lcom/cleanmaster/base/plugin/fg;
.super Ljava/lang/Object;
.source "CMDHostCoreImpl.java"

# interfaces
.implements Lcom/cm/plugincluster/common/interfaces/IBoostUtils;


# instance fields
.field final synthetic a:Lcom/cleanmaster/base/plugin/ff;


# direct methods
.method constructor <init>(Lcom/cleanmaster/base/plugin/ff;)V
    .registers 2

    .prologue
    .line 85
    iput-object p1, p0, Lcom/cleanmaster/base/plugin/fg;->a:Lcom/cleanmaster/base/plugin/ff;

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

    return-void
.end method


# virtual methods
.method public cancelNotification(I)V
    .registers 3

    .prologue
    .line 98
    invoke-static {}, Lcom/cleanmaster/notification/af;->a()Lcom/cleanmaster/notification/af;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/cleanmaster/notification/af;->b(I)V

    .line 99
    return-void
.end method

.method public checkRoot()Z
    .registers 2

    .prologue
    .line 163
    invoke-static {}, Lcom/cm/root/k;->a()Lcom/cm/root/k;

    move-result-object v0

    invoke-virtual {v0}, Lcom/cm/root/k;->checkRoot()Z

    move-result v0

    return v0
.end method

.method public closeHeaderShow(I)V
    .registers 3

    .prologue
    .line 103
    invoke-static {}, Lcom/cleanmaster/notification/af;->a()Lcom/cleanmaster/notification/af;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/cleanmaster/notification/af;->a(I)V

    .line 104
    return-void
.end method

.method public getCurrentTopPackage()Ljava/lang/String;
    .registers 2

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

    move-result-object v0

    invoke-static {v0}, Lcom/cleanmaster/service/watcher/AppOpenWatcher;->a(Landroid/content/Context;)Lcom/cleanmaster/service/watcher/AppOpenWatcher;

    move-result-object v0

    invoke-virtual {v0}, Lcom/cleanmaster/service/watcher/AppOpenWatcher;->d()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public getFAQParam(Ljava/lang/String;Z)Ljava/lang/String;
    .registers 4

    .prologue
    .line 143
    invoke-static {p1, p2}, Lcom/cleanmaster/hpsharelib/base/UrlParamBuilder;->getFAQParam(Ljava/lang/String;Z)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public getPermanentServiceClass()Ljava/lang/Class;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/lang/Class",
            "<*>;"
        }
    .end annotation

    .prologue
    .line 138
    const-class v0, Lcom/cleanmaster/service/PermanentService;

    return-object v0
.end method

.method public getStandardView(Lcom/cm/plugincluster/common/notification/define/NotificationSetting;Lcom/cm/plugincluster/common/notification/define/NotificationModel;)Landroid/widget/RemoteViews;
    .registers 4

    .prologue
    .line 108
    invoke-static {}, Lcom/cleanmaster/notification/af;->a()Lcom/cleanmaster/notification/af;

    move-result-object v0

    invoke-virtual {v0, p1, p2}, Lcom/cleanmaster/notification/af;->b(Lcom/cm/plugincluster/common/notification/define/NotificationSetting;Lcom/cm/plugincluster/common/notification/define/NotificationModel;)Landroid/widget/RemoteViews;

    move-result-object v0

    return-object v0
.end method

.method public isKnown(Ljava/lang/String;)Z
    .registers 3

    .prologue
    .line 148
    invoke-static {p1}, Lcom/cm/b/c;->c(Ljava/lang/String;)Z

    move-result v0

    return v0
.end method

.method public isMobileRoot()Z
    .registers 2

    .prologue
    .line 168
    invoke-static {}, Lcom/cm/root/k;->a()Lcom/cm/root/k;

    move-result-object v0

    invoke-virtual {v0}, Lcom/cm/root/k;->isMobileRoot()Z

    move-result v0

    return v0
.end method

.method public isNotificationShowing(I)Z
    .registers 3

    .prologue
    .line 113
    invoke-static {}, Lcom/cleanmaster/notification/af;->a()Lcom/cleanmaster/notification/af;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/cleanmaster/notification/af;->d(I)Z

    move-result v0

    return v0
.end method

.method public registerCallBack(Lcom/cm/plugincluster/common/watcher/IAppLaunchNotify;)V
    .registers 3

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

    move-result-object v0

    invoke-static {v0}, Lcom/cleanmaster/service/watcher/AppOpenWatcher;->a(Landroid/content/Context;)Lcom/cleanmaster/service/watcher/AppOpenWatcher;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/cleanmaster/service/watcher/AppOpenWatcher;->a(Lcom/cm/plugincluster/common/watcher/IAppLaunchNotify;)V

    .line 119
    return-void
.end method

.method public registerManualApplyRootCallback(Lcom/cm/plugincluster/common/interfaces/root/IManualApplyRootStateObserver;)V
    .registers 3

    .prologue
    .line 153
    invoke-static {}, Lcom/cm/root/i;->c()Lcom/cm/root/i;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/cm/root/i;->a(Lcom/cm/plugincluster/common/interfaces/root/IManualApplyRootStateObserver;)V

    .line 154
    return-void
.end method

.method public removeForegroundService()V
    .registers 2

    .prologue
    .line 133
    sget-object v0, Lcom/cleanmaster/service/PermanentService;->a:Lcom/cleanmaster/service/PermanentService;

    invoke-virtual {v0}, Lcom/cleanmaster/service/PermanentService;->d()V

    .line 134
    return-void
.end method

.method public sendNotification(Lcom/cm/plugincluster/common/notification/define/NotificationSetting;Lcom/cm/plugincluster/common/notification/define/NotificationModel;)Z
    .registers 4

    .prologue
    .line 93
    invoke-static {}, Lcom/cleanmaster/notification/af;->a()Lcom/cleanmaster/notification/af;

    move-result-object v0

    invoke-virtual {v0, p1, p2}, Lcom/cleanmaster/notification/af;->a(Lcom/cm/plugincluster/common/notification/define/NotificationSetting;Lcom/cm/plugincluster/common/notification/define/NotificationModel;)Z

    move-result v0

    return v0
.end method

.method public startMainAct(Landroid/app/Activity;I)V
    .registers 7

    .prologue
    .line 88
    const v0, 0x23800c

    const/4 v1, 0x2

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

    const/4 v2, 0x0

    aput-object p1, v1, v2

    const/4 v2, 0x1

    invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v3

    aput-object v3, v1, v2

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

    .line 89
    return-void
.end method

.method public unregisterCallBack(Lcom/cm/plugincluster/common/watcher/IAppLaunchNotify;)V
    .registers 3

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

    move-result-object v0

    invoke-static {v0}, Lcom/cleanmaster/service/watcher/AppOpenWatcher;->a(Landroid/content/Context;)Lcom/cleanmaster/service/watcher/AppOpenWatcher;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/cleanmaster/service/watcher/AppOpenWatcher;->b(Lcom/cm/plugincluster/common/watcher/IAppLaunchNotify;)V

    .line 124
    return-void
.end method

.method public unregisterManualApplyRootCallback(Lcom/cm/plugincluster/common/interfaces/root/IManualApplyRootStateObserver;)V
    .registers 3

    .prologue
    .line 158
    invoke-static {}, Lcom/cm/root/i;->c()Lcom/cm/root/i;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/cm/root/i;->b(Lcom/cm/plugincluster/common/interfaces/root/IManualApplyRootStateObserver;)V

    .line 159
    return-void
.end method