d.smali

.class Lcom/cleanmaster/notification/d;
.super Ljava/lang/Object;
.source "NotificationCmsPushService.java"

# interfaces
.implements Lcom/cm/plugincluster/monitor/interfaces/IMonitor;


# instance fields
.field final synthetic a:Lcom/cleanmaster/notification/NotificationCmsPushService;


# direct methods
.method constructor <init>(Lcom/cleanmaster/notification/NotificationCmsPushService;)V
    .registers 2

    .prologue
    .line 199
    iput-object p1, p0, Lcom/cleanmaster/notification/d;->a:Lcom/cleanmaster/notification/NotificationCmsPushService;

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

    return-void
.end method


# virtual methods
.method public monitorNotify(ILjava/lang/Object;Ljava/lang/Object;)I
    .registers 12

    .prologue
    const/4 v1, 0x3

    const/4 v0, 0x2

    const/16 v7, 0x9

    const/4 v2, 0x0

    .line 202
    if-ne v0, p1, :cond_49

    .line 203
    iget-object v3, p0, Lcom/cleanmaster/notification/d;->a:Lcom/cleanmaster/notification/NotificationCmsPushService;

    invoke-static {v3}, Lcom/cleanmaster/notification/NotificationCmsPushService;->a(Lcom/cleanmaster/notification/NotificationCmsPushService;)Z

    move-result v3

    if-eqz v3, :cond_49

    .line 205
    const-string v3, "recommend_cms_notification"

    const-string/jumbo v4, "switch_a"

    invoke-static {v7, v3, v4, v2}, Lcom/cleanmaster/hpsharelib/recommendapps/CloudConfigDataGetter;->getBooleanValue(ILjava/lang/String;Ljava/lang/String;Z)Z

    move-result v3

    .line 206
    const-string v4, "recommend_cms_notification"

    const-string/jumbo v5, "switch_b"

    invoke-static {v7, v4, v5, v2}, Lcom/cleanmaster/hpsharelib/recommendapps/CloudConfigDataGetter;->getBooleanValue(ILjava/lang/String;Ljava/lang/String;Z)Z

    move-result v4

    .line 207
    const-string v5, "recommend_cms_notification"

    const-string/jumbo v6, "switch_c"

    invoke-static {v7, v5, v6, v2}, Lcom/cleanmaster/hpsharelib/recommendapps/CloudConfigDataGetter;->getBooleanValue(ILjava/lang/String;Ljava/lang/String;Z)Z

    move-result v5

    .line 209
    if-eqz v3, :cond_4a

    iget-object v3, p0, Lcom/cleanmaster/notification/d;->a:Lcom/cleanmaster/notification/NotificationCmsPushService;

    invoke-static {v3}, Lcom/cleanmaster/notification/NotificationCmsPushService;->b(Lcom/cleanmaster/notification/NotificationCmsPushService;)Z

    move-result v3

    if-nez v3, :cond_4a

    iget-object v3, p0, Lcom/cleanmaster/notification/d;->a:Lcom/cleanmaster/notification/NotificationCmsPushService;

    invoke-static {v3}, Lcom/cleanmaster/notification/NotificationCmsPushService;->c(Lcom/cleanmaster/notification/NotificationCmsPushService;)Z

    move-result v3

    if-eqz v3, :cond_4a

    .line 211
    const/4 v0, 0x1

    .line 218
    :cond_3d
    :goto_3d
    if-eqz v0, :cond_44

    .line 219
    iget-object v1, p0, Lcom/cleanmaster/notification/d;->a:Lcom/cleanmaster/notification/NotificationCmsPushService;

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

    .line 221
    :cond_44
    iget-object v0, p0, Lcom/cleanmaster/notification/d;->a:Lcom/cleanmaster/notification/NotificationCmsPushService;

    invoke-static {v0}, Lcom/cleanmaster/notification/NotificationCmsPushService;->e(Lcom/cleanmaster/notification/NotificationCmsPushService;)V

    .line 224
    :cond_49
    return v2

    .line 212
    :cond_4a
    if-eqz v4, :cond_54

    iget-object v3, p0, Lcom/cleanmaster/notification/d;->a:Lcom/cleanmaster/notification/NotificationCmsPushService;

    invoke-static {v3}, Lcom/cleanmaster/notification/NotificationCmsPushService;->d(Lcom/cleanmaster/notification/NotificationCmsPushService;)I

    move-result v3

    if-gt v3, v1, :cond_3d

    .line 215
    :cond_54
    if-eqz v5, :cond_58

    move v0, v1

    .line 216
    goto :goto_3d

    :cond_58
    move v0, v2

    goto :goto_3d
.end method