d.smali

.class public Lcom/cleanmaster/resultpage/b/d;
.super Ljava/lang/Object;
.source "ResultPageHostFactory.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/cleanmaster/resultpage/b/d$a;
    }
.end annotation


# static fields
.field private static a:Lcom/cm/plugincluster/resultpage/interfaces/IResultPageHostModule;

.field private static b:Lcom/cm/plugincluster/common/IMainPluginProxy;


# direct methods
.method static constructor <clinit>()V
    .registers 1

    .prologue
    .line 155
    invoke-static {}, Lcom/cleanmaster/m/a;->b()Lcom/cm/plugincluster/common/IMainPluginProxy;

    move-result-object v0

    sput-object v0, Lcom/cleanmaster/resultpage/b/d;->b:Lcom/cm/plugincluster/common/IMainPluginProxy;

    return-void
.end method

.method public static declared-synchronized a()Lcom/cm/plugincluster/resultpage/interfaces/IResultPageHostModule;
    .registers 3

    .prologue
    .line 157
    const-class v1, Lcom/cleanmaster/resultpage/b/d;

    monitor-enter v1

    :try_start_3
    sget-object v0, Lcom/cleanmaster/resultpage/b/d;->a:Lcom/cm/plugincluster/resultpage/interfaces/IResultPageHostModule;

    if-nez v0, :cond_f

    .line 158
    new-instance v0, Lcom/cleanmaster/resultpage/b/d$a;

    const/4 v2, 0x0

    invoke-direct {v0, v2}, Lcom/cleanmaster/resultpage/b/d$a;-><init>(Lcom/cleanmaster/resultpage/b/e;)V

    sput-object v0, Lcom/cleanmaster/resultpage/b/d;->a:Lcom/cm/plugincluster/resultpage/interfaces/IResultPageHostModule;

    .line 160
    :cond_f
    sget-object v0, Lcom/cleanmaster/resultpage/b/d;->a:Lcom/cm/plugincluster/resultpage/interfaces/IResultPageHostModule;
    :try_end_11
    .catchall {:try_start_3 .. :try_end_11} :catchall_13

    monitor-exit v1

    return-object v0

    .line 157
    :catchall_13
    move-exception v0

    monitor-exit v1

    throw v0
.end method

.method static synthetic a(Landroid/content/Context;IZ)V
    .registers 3

    .prologue
    .line 151
    invoke-static {p0, p1, p2}, Lcom/cleanmaster/resultpage/b/d;->b(Landroid/content/Context;IZ)V

    return-void
.end method

.method static synthetic b()Lcom/cm/plugincluster/common/IMainPluginProxy;
    .registers 1

    .prologue
    .line 151
    sget-object v0, Lcom/cleanmaster/resultpage/b/d;->b:Lcom/cm/plugincluster/common/IMainPluginProxy;

    return-object v0
.end method

.method private static b(Landroid/content/Context;IZ)V
    .registers 5

    .prologue
    .line 1199
    if-nez p0, :cond_3

    .line 1213
    :goto_2
    return-void

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

    move-result-object v0

    invoke-virtual {v0}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->getSpaceManagerPageEnterFlag()Z

    move-result v0

    if-eqz v0, :cond_2d

    .line 1204
    new-instance v0, Landroid/content/Intent;

    invoke-static {}, Lcom/cm/plugincluster/junkplus/JunkPlusPluginSpaceProxy;->getInstance()Lcom/cm/plugincluster/junkplus/interfaces/IJunkPlusPluginSpaceModule;

    move-result-object v1

    invoke-interface {v1}, Lcom/cm/plugincluster/junkplus/interfaces/IJunkPlusPluginSpaceModule;->getSpaceManagerActCls()Ljava/lang/Class;

    move-result-object v1

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 1209
    :goto_1a
    const/high16 v1, 0x20000

    invoke-virtual {v0, v1}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    .line 1210
    const-string v1, "from"

    invoke-virtual {v0, v1, p1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    .line 1211
    const-string v1, "from_adv"

    invoke-virtual {v0, v1, p2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    .line 1212
    invoke-static {p0, v0}, Lcom/cleanmaster/base/a;->a(Landroid/content/Context;Landroid/content/Intent;)Z

    goto :goto_2

    .line 1206
    :cond_2d
    new-instance v0, Landroid/content/Intent;

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

    .line 1207
    const-string v1, "com.cleanmaster.ui.space.SpaceManagerGuideActivity"

    invoke-virtual {v0, p0, v1}, Landroid/content/Intent;->setClassName(Landroid/content/Context;Ljava/lang/String;)Landroid/content/Intent;

    goto :goto_1a
.end method