f$a.smali

.class Lks/cm/antivirus/module/locker/f$a;
.super Ljava/lang/Object;
.source "LockerHostFactory.java"

# interfaces
.implements Lcom/cm/plugincluster/locker/host/ILockerHostModule;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lks/cm/antivirus/module/locker/f;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0xa
    name = "a"
.end annotation


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

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

    return-void
.end method

.method synthetic constructor <init>(Lks/cm/antivirus/module/locker/g;)V
    .registers 2

    .prologue
    .line 26
    invoke-direct {p0}, Lks/cm/antivirus/module/locker/f$a;-><init>()V

    return-void
.end method

.method public static a()V
    .registers 4

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

    move-result-object v0

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

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

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

    move-result-object v2

    invoke-virtual {v2}, Landroid/content/Context;->getPackageName()Ljava/lang/String;

    move-result-object v2

    const-string v3, "com.cleanmaster.service.active_report.TransparentActivity"

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

    .line 41
    const/high16 v2, 0x10000000

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

    .line 42
    invoke-virtual {v0, v1}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V
    :try_end_1e
    .catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_1e} :catch_1f

    .line 47
    :goto_1e
    return-void

    .line 43
    :catch_1f
    move-exception v0

    .line 44
    invoke-virtual {v0}, Ljava/lang/Throwable;->printStackTrace()V

    goto :goto_1e
.end method


# virtual methods
.method public keepNetworkActive()Z
    .registers 2

    .prologue
    .line 30
    invoke-static {}, Lcom/cleanmaster/hpsharelib/base/util/MiuiV5Helper;->isMiui()Z

    move-result v0

    if-eqz v0, :cond_9

    .line 31
    invoke-static {}, Lks/cm/antivirus/module/locker/f$a;->a()V

    .line 33
    :cond_9
    const/4 v0, 0x1

    return v0
.end method

.method public updateLocation()V
    .registers 3

    .prologue
    .line 52
    :try_start_0
    invoke-static {}, Lcom/cleanmaster/service/location/e;->a()Lcom/cleanmaster/service/location/e;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/cleanmaster/service/location/e;->a(Z)Landroid/app/PendingIntent;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/PendingIntent;->send()V
    :try_end_c
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_c} :catch_d

    .line 59
    :goto_c
    return-void

    .line 56
    :catch_d
    move-exception v0

    .line 57
    const-string v1, "LocationUpdateService"

    invoke-static {v1, v0}, Landroid/util/Log;->wtf(Ljava/lang/String;Ljava/lang/Throwable;)I

    goto :goto_c
.end method