af.smali

.class public Lcom/cleanmaster/notification/af;
.super Ljava/lang/Object;
.source "NotificationManagerWrapper.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/cleanmaster/notification/af$a;
    }
.end annotation


# static fields
.field private static a:Lcom/cleanmaster/notification/af;

.field private static d:Z


# instance fields
.field private b:Landroid/util/SparseArray;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Landroid/util/SparseArray",
            "<",
            "Ljava/lang/Runnable;",
            ">;"
        }
    .end annotation
.end field

.field private c:Z

.field private e:Z


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

    .prologue
    .line 64
    const/4 v0, 0x0

    sput-object v0, Lcom/cleanmaster/notification/af;->a:Lcom/cleanmaster/notification/af;

    .line 82
    const/4 v0, 0x0

    sput-boolean v0, Lcom/cleanmaster/notification/af;->d:Z

    return-void
.end method

.method private constructor <init>()V
    .registers 4

    .prologue
    const/16 v2, 0x15

    const/4 v0, 0x0

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

    .line 79
    new-instance v1, Landroid/util/SparseArray;

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

    iput-object v1, p0, Lcom/cleanmaster/notification/af;->b:Landroid/util/SparseArray;

    .line 81
    iput-boolean v0, p0, Lcom/cleanmaster/notification/af;->c:Z

    .line 83
    iput-boolean v0, p0, Lcom/cleanmaster/notification/af;->e:Z

    .line 98
    invoke-static {}, Lcom/keniu/security/l;->f()Landroid/app/Application;

    move-result-object v1

    invoke-virtual {v1}, Landroid/app/Application;->getApplicationInfo()Landroid/content/pm/ApplicationInfo;

    move-result-object v1

    .line 100
    if-eqz v1, :cond_25

    .line 101
    invoke-static {}, Lcom/keniu/security/l;->f()Landroid/app/Application;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/Application;->getApplicationInfo()Landroid/content/pm/ApplicationInfo;

    move-result-object v0

    iget v0, v0, Landroid/content/pm/ApplicationInfo;->targetSdkVersion:I

    .line 103
    :cond_25
    sget v1, Landroid/os/Build$VERSION;->SDK_INT:I

    .line 104
    if-lt v0, v2, :cond_2e

    if-lt v1, v2, :cond_2e

    .line 106
    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/cleanmaster/notification/af;->c:Z

    .line 110
    :cond_2e
    invoke-static {}, Lcom/cleanmaster/hpsharelib/base/util/system/DeviceUtils;->isQiku()Z

    move-result v0

    iput-boolean v0, p0, Lcom/cleanmaster/notification/af;->e:Z

    .line 111
    return-void
.end method

.method private a(IZZ)I
    .registers 7

    .prologue
    const v2, 0x7f0203da

    const v1, 0x7f02015f

    const v0, 0x7f02015d

    .line 1145
    packed-switch p1, :pswitch_data_3c

    .line 1176
    if-nez p2, :cond_10

    if-eqz p3, :cond_15

    .line 1178
    :cond_10
    iget-boolean v0, p0, Lcom/cleanmaster/notification/af;->c:Z

    if-eqz v0, :cond_39

    move v0, v1

    .line 1186
    :cond_15
    :goto_15
    return v0

    .line 1147
    :pswitch_16
    if-nez p2, :cond_1a

    if-eqz p3, :cond_15

    .line 1150
    :cond_1a
    iget-boolean v0, p0, Lcom/cleanmaster/notification/af;->c:Z

    if-eqz v0, :cond_39

    move v0, v1

    .line 1151
    goto :goto_15

    .line 1158
    :pswitch_20
    if-nez p2, :cond_24

    if-eqz p3, :cond_2f

    .line 1159
    :cond_24
    const v0, 0x7f0203dc

    .line 1160
    iget-boolean v1, p0, Lcom/cleanmaster/notification/af;->c:Z

    if-eqz v1, :cond_15

    .line 1161
    const v0, 0x7f02016b

    goto :goto_15

    .line 1164
    :cond_2f
    const v0, 0x7f02016c

    .line 1166
    goto :goto_15

    .line 1169
    :pswitch_33
    if-nez p2, :cond_37

    if-eqz p3, :cond_15

    :cond_37
    move v0, v1

    .line 1170
    goto :goto_15

    :cond_39
    move v0, v2

    goto :goto_15

    .line 1145
    nop

    :pswitch_data_3c
    .packed-switch 0x1
        :pswitch_16
        :pswitch_20
        :pswitch_33
        :pswitch_33
    .end packed-switch
.end method

.method private a(Landroid/content/Context;Lcom/cm/plugincluster/common/notification/define/NotificationModel;ZZ)Landroid/app/Notification;
    .registers 11
    .annotation build Landroid/annotation/SuppressLint;
        value = {
            "NewApi"
        }
    .end annotation

    .prologue
    const/4 v0, 0x0

    const/16 v5, 0x10

    const/4 v4, 0x2

    .line 967
    .line 968
    sget v1, Landroid/os/Build$VERSION;->SDK_INT:I

    .line 970
    new-instance v2, Landroid/support/v4/app/NotificationCompat$Builder;

    const-string v3, "common"

    invoke-direct {v2, p1, v3}, Landroid/support/v4/app/NotificationCompat$Builder;-><init>(Landroid/content/Context;Ljava/lang/String;)V

    .line 972
    const/16 v3, 0x15

    if-lt v1, v3, :cond_39

    if-eqz p4, :cond_39

    .line 973
    const/4 v3, 0x1

    invoke-virtual {v2, v3}, Landroid/support/v4/app/NotificationCompat$Builder;->setVisibility(I)Landroid/support/v4/app/NotificationCompat$Builder;

    move-result-object v2

    .line 974
    invoke-virtual {v2}, Landroid/support/v4/app/NotificationCompat$Builder;->build()Landroid/app/Notification;

    .line 978
    :goto_1b
    iput v5, v0, Landroid/app/Notification;->flags:I

    .line 979
    const/4 v2, 0x0

    iput v2, v0, Landroid/app/Notification;->defaults:I

    .line 981
    if-eqz p3, :cond_30

    .line 982
    if-lt v1, v5, :cond_43

    .line 984
    const/4 v1, 0x2

    .line 985
    :try_start_25
    const-class v2, Landroid/app/Notification;

    const-string v3, "priority"

    invoke-virtual {v2, v3}, Ljava/lang/Class;->getField(Ljava/lang/String;)Ljava/lang/reflect/Field;

    move-result-object v2

    .line 986
    invoke-virtual {v2, v0, v1}, Ljava/lang/reflect/Field;->setInt(Ljava/lang/Object;I)V
    :try_end_30
    .catch Ljava/lang/Exception; {:try_start_25 .. :try_end_30} :catch_3e

    .line 1001
    :cond_30
    :goto_30
    iget-object v1, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mDeletePendingIntent:Landroid/app/PendingIntent;

    if-eqz v1, :cond_63

    .line 1002
    iget-object v1, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mDeletePendingIntent:Landroid/app/PendingIntent;

    iput-object v1, v0, Landroid/app/Notification;->deleteIntent:Landroid/app/PendingIntent;

    .line 1006
    :cond_38
    :goto_38
    return-object v0

    .line 976
    :cond_39
    invoke-virtual {v2}, Landroid/support/v4/app/NotificationCompat$Builder;->build()Landroid/app/Notification;

    move-result-object v0

    goto :goto_1b

    .line 987
    :catch_3e
    move-exception v1

    .line 988
    invoke-virtual {v1}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_30

    .line 992
    :cond_43
    :try_start_43
    const-class v1, Landroid/app/Notification;

    const-string v2, "FLAG_HIGH_PRIORITY"

    invoke-virtual {v1, v2}, Ljava/lang/Class;->getDeclaredField(Ljava/lang/String;)Ljava/lang/reflect/Field;

    move-result-object v1

    .line 993
    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Ljava/lang/reflect/Field;->getInt(Ljava/lang/Object;)I

    move-result v1

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

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I

    move-result v1

    .line 994
    iget v2, v0, Landroid/app/Notification;->flags:I

    or-int/2addr v1, v2

    iput v1, v0, Landroid/app/Notification;->flags:I
    :try_end_5d
    .catch Ljava/lang/Exception; {:try_start_43 .. :try_end_5d} :catch_5e

    goto :goto_30

    .line 995
    :catch_5e
    move-exception v1

    .line 996
    invoke-virtual {v1}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_30

    .line 1003
    :cond_63
    iget-object v1, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mDeleteIntent:Landroid/content/Intent;

    if-eqz v1, :cond_38

    .line 1004
    iget-object v1, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mDeleteIntent:Landroid/content/Intent;

    const/high16 v2, 0x10000000

    invoke-static {p1, v4, v1, v2}, Landroid/app/PendingIntent;->getActivity(Landroid/content/Context;ILandroid/content/Intent;I)Landroid/app/PendingIntent;

    move-result-object v1

    iput-object v1, v0, Landroid/app/Notification;->deleteIntent:Landroid/app/PendingIntent;

    goto :goto_38
.end method

.method private a(Landroid/content/Context;ILcom/cm/plugincluster/common/notification/define/NotificationModel;)Landroid/app/PendingIntent;
    .registers 8

    .prologue
    const/16 v3, 0x11

    const v2, 0x8000010

    .line 1018
    iget-object v0, p3, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mPendingIntent:Landroid/app/PendingIntent;

    if-eqz v0, :cond_c

    .line 1019
    iget-object v0, p3, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mPendingIntent:Landroid/app/PendingIntent;

    .line 1069
    :cond_b
    :goto_b
    return-object v0

    .line 1022
    :cond_c
    const/4 v0, 0x0

    .line 1023
    packed-switch p2, :pswitch_data_60

    goto :goto_b

    .line 1026
    :pswitch_11
    iget v0, p3, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mPendingIntentRequestCode:I

    iget-object v1, p3, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mIntent:Landroid/content/Intent;

    invoke-static {p1, v0, v1, v2}, Landroid/app/PendingIntent;->getActivity(Landroid/content/Context;ILandroid/content/Intent;I)Landroid/app/PendingIntent;

    move-result-object v0

    .line 1030
    sget v1, Landroid/os/Build$VERSION;->SDK_INT:I

    if-lt v1, v3, :cond_b

    .line 1031
    if-eqz v0, :cond_22

    .line 1032
    invoke-virtual {v0}, Landroid/app/PendingIntent;->cancel()V

    .line 1034
    :cond_22
    iget v0, p3, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mPendingIntentRequestCode:I

    iget-object v1, p3, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mIntent:Landroid/content/Intent;

    invoke-static {p1, v0, v1, v2}, Landroid/app/PendingIntent;->getActivity(Landroid/content/Context;ILandroid/content/Intent;I)Landroid/app/PendingIntent;

    move-result-object v0

    goto :goto_b

    .line 1040
    :pswitch_2b
    iget v0, p3, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mPendingIntentRequestCode:I

    iget-object v1, p3, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mIntent:Landroid/content/Intent;

    invoke-static {p1, v0, v1, v2}, Landroid/app/PendingIntent;->getBroadcast(Landroid/content/Context;ILandroid/content/Intent;I)Landroid/app/PendingIntent;

    move-result-object v0

    .line 1044
    sget v1, Landroid/os/Build$VERSION;->SDK_INT:I

    if-lt v1, v3, :cond_b

    .line 1045
    if-eqz v0, :cond_3c

    .line 1046
    invoke-virtual {v0}, Landroid/app/PendingIntent;->cancel()V

    .line 1048
    :cond_3c
    iget v0, p3, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mPendingIntentRequestCode:I

    iget-object v1, p3, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mIntent:Landroid/content/Intent;

    invoke-static {p1, v0, v1, v2}, Landroid/app/PendingIntent;->getBroadcast(Landroid/content/Context;ILandroid/content/Intent;I)Landroid/app/PendingIntent;

    move-result-object v0

    goto :goto_b

    .line 1054
    :pswitch_45
    iget v0, p3, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mPendingIntentRequestCode:I

    iget-object v1, p3, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mIntent:Landroid/content/Intent;

    invoke-static {p1, v0, v1, v2}, Landroid/app/PendingIntent;->getService(Landroid/content/Context;ILandroid/content/Intent;I)Landroid/app/PendingIntent;

    move-result-object v0

    .line 1058
    sget v1, Landroid/os/Build$VERSION;->SDK_INT:I

    if-lt v1, v3, :cond_b

    .line 1059
    if-eqz v0, :cond_56

    .line 1060
    invoke-virtual {v0}, Landroid/app/PendingIntent;->cancel()V

    .line 1062
    :cond_56
    iget v0, p3, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mPendingIntentRequestCode:I

    iget-object v1, p3, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mIntent:Landroid/content/Intent;

    invoke-static {p1, v0, v1, v2}, Landroid/app/PendingIntent;->getService(Landroid/content/Context;ILandroid/content/Intent;I)Landroid/app/PendingIntent;

    move-result-object v0

    goto :goto_b

    .line 1023
    nop

    :pswitch_data_60
    .packed-switch 0x1
        :pswitch_11
        :pswitch_45
        :pswitch_2b
    .end packed-switch
.end method

.method static synthetic a(Lcom/cleanmaster/notification/af;)Landroid/util/SparseArray;
    .registers 2

    .prologue
    .line 57
    iget-object v0, p0, Lcom/cleanmaster/notification/af;->b:Landroid/util/SparseArray;

    return-object v0
.end method

.method private a(Landroid/widget/RemoteViews;Lcom/cm/plugincluster/common/notification/define/NotificationModel;Lcom/cm/plugincluster/common/notification/define/NotificationSetting;)Landroid/widget/RemoteViews;
    .registers 6

    .prologue
    .line 655
    invoke-direct {p0, p1, p2}, Lcom/cleanmaster/notification/af;->a(Landroid/widget/RemoteViews;Lcom/cm/plugincluster/common/notification/define/NotificationModel;)V

    .line 656
    invoke-direct {p0, p1, p2, p3}, Lcom/cleanmaster/notification/af;->b(Landroid/widget/RemoteViews;Lcom/cm/plugincluster/common/notification/define/NotificationModel;Lcom/cm/plugincluster/common/notification/define/NotificationSetting;)V

    .line 657
    iget v0, p3, Lcom/cm/plugincluster/common/notification/define/NotificationSetting;->mUiType:I

    const/16 v1, 0x8

    if-ne v0, v1, :cond_10

    .line 658
    invoke-direct {p0, p1}, Lcom/cleanmaster/notification/af;->a(Landroid/widget/RemoteViews;)V

    .line 663
    :goto_f
    return-object p1

    .line 660
    :cond_10
    invoke-direct {p0, p1, p2}, Lcom/cleanmaster/notification/af;->b(Landroid/widget/RemoteViews;Lcom/cm/plugincluster/common/notification/define/NotificationModel;)V

    .line 661
    invoke-direct {p0, p1, p2}, Lcom/cleanmaster/notification/af;->c(Landroid/widget/RemoteViews;Lcom/cm/plugincluster/common/notification/define/NotificationModel;)V

    goto :goto_f
.end method

.method public static a()Lcom/cleanmaster/notification/af;
    .registers 2

    .prologue
    .line 86
    sget-object v0, Lcom/cleanmaster/notification/af;->a:Lcom/cleanmaster/notification/af;

    if-nez v0, :cond_13

    .line 87
    const-class v1, Lcom/cleanmaster/notification/af;

    monitor-enter v1

    .line 88
    :try_start_7
    sget-object v0, Lcom/cleanmaster/notification/af;->a:Lcom/cleanmaster/notification/af;

    if-nez v0, :cond_12

    .line 89
    new-instance v0, Lcom/cleanmaster/notification/af;

    invoke-direct {v0}, Lcom/cleanmaster/notification/af;-><init>()V

    sput-object v0, Lcom/cleanmaster/notification/af;->a:Lcom/cleanmaster/notification/af;

    .line 90
    :cond_12
    monitor-exit v1
    :try_end_13
    .catchall {:try_start_7 .. :try_end_13} :catchall_16

    .line 92
    :cond_13
    sget-object v0, Lcom/cleanmaster/notification/af;->a:Lcom/cleanmaster/notification/af;

    return-object v0

    .line 90
    :catchall_16
    move-exception v0

    :try_start_17
    monitor-exit v1
    :try_end_18
    .catchall {:try_start_17 .. :try_end_18} :catchall_16

    throw v0
.end method

.method private a(Landroid/app/NotificationManager;ILandroid/app/Notification;)V
    .registers 5

    .prologue
    .line 914
    :try_start_0
    invoke-virtual {p1, p2, p3}, Landroid/app/NotificationManager;->notify(ILandroid/app/Notification;)V
    :try_end_3
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_3} :catch_4

    .line 919
    :goto_3
    return-void

    .line 915
    :catch_4
    move-exception v0

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

    goto :goto_3
.end method

.method private a(Landroid/widget/RemoteViews;)V
    .registers 5

    .prologue
    const/4 v2, 0x0

    const/16 v1, 0x8

    .line 667
    const v0, 0x7f10063b

    invoke-virtual {p1, v0, v2}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

    .line 668
    const v0, 0x7f10063c

    invoke-virtual {p1, v0, v2}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

    .line 669
    const v0, 0x7f10063d

    invoke-virtual {p1, v0, v1}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

    .line 670
    const v0, 0x7f10063e

    invoke-virtual {p1, v0, v1}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

    .line 671
    const v0, 0x7f10063f

    invoke-virtual {p1, v0, v1}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

    .line 672
    const v0, 0x7f100640

    invoke-virtual {p1, v0, v1}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

    .line 673
    const v0, 0x7f100641

    invoke-virtual {p1, v0, v1}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

    .line 674
    const v0, 0x7f100642

    invoke-virtual {p1, v0, v1}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

    .line 675
    const v0, 0x7f100646

    invoke-virtual {p1, v0, v2}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

    .line 676
    const v0, 0x7f100644

    invoke-virtual {p1, v0, v1}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

    .line 677
    const v0, 0x7f100645

    invoke-virtual {p1, v0, v2}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

    .line 678
    return-void
.end method

.method private a(Landroid/widget/RemoteViews;Landroid/app/Notification;)V
    .registers 5
    .annotation build Landroid/annotation/SuppressLint;
        value = {
            "NewApi"
        }
    .end annotation

    .prologue
    .line 542
    if-eqz p1, :cond_4

    if-nez p2, :cond_5

    .line 549
    :cond_4
    :goto_4
    return-void

    .line 546
    :cond_5
    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v1, 0x15

    if-lt v0, v1, :cond_4

    .line 547
    iput-object p1, p2, Landroid/app/Notification;->headsUpContentView:Landroid/widget/RemoteViews;

    goto :goto_4
.end method

.method private a(Landroid/widget/RemoteViews;Lcom/cm/plugincluster/common/notification/define/NotificationModel;)V
    .registers 5

    .prologue
    const v1, 0x7f10039f

    .line 681
    iget-object v0, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mTitle:Ljava/lang/CharSequence;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_15

    .line 682
    const/4 v0, 0x0

    invoke-virtual {p1, v1, v0}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

    .line 683
    iget-object v0, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mTitle:Ljava/lang/CharSequence;

    invoke-virtual {p1, v1, v0}, Landroid/widget/RemoteViews;->setTextViewText(ILjava/lang/CharSequence;)V

    .line 687
    :goto_14
    return-void

    .line 685
    :cond_15
    const/16 v0, 0x8

    invoke-virtual {p1, v1, v0}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

    goto :goto_14
.end method

.method public static a(Landroid/content/Context;)Z
    .registers 5

    .prologue
    const/4 v1, 0x1

    const/4 v0, 0x0

    .line 1270
    .line 1273
    :try_start_2
    invoke-virtual {p0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    const v3, 0x7f0a135f

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    .line 1274
    invoke-virtual {p0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    const v3, 0x7f04028a

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getLayout(I)Landroid/content/res/XmlResourceParser;

    .line 1275
    invoke-virtual {p0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    const v3, 0x7f0206f9

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;
    :try_end_20
    .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_20} :catch_52

    .line 1281
    sget-boolean v2, Lcom/cleanmaster/notification/af;->d:Z

    if-nez v2, :cond_4c

    sget v2, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v3, 0xe

    if-lt v2, v3, :cond_4c

    sget v2, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v3, 0x13

    if-gt v2, v3, :cond_4c

    .line 1282
    sput-boolean v1, Lcom/cleanmaster/notification/af;->d:Z

    .line 1283
    invoke-virtual {p0}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object v2

    .line 1284
    if-eqz v2, :cond_4c

    .line 1286
    :try_start_38
    invoke-virtual {p0}, Landroid/content/Context;->getPackageName()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/content/pm/PackageManager;->getResourcesForApplication(Ljava/lang/String;)Landroid/content/res/Resources;

    move-result-object v2

    .line 1287
    if-eqz v2, :cond_4c

    .line 1288
    const v3, 0x7f0203dc

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;
    :try_end_48
    .catch Landroid/content/pm/PackageManager$NameNotFoundException; {:try_start_38 .. :try_end_48} :catch_50
    .catch Landroid/content/res/Resources$NotFoundException; {:try_start_38 .. :try_end_48} :catch_4e

    move-result-object v2

    .line 1289
    if-nez v2, :cond_4c

    .line 1301
    :goto_4b
    return v0

    :cond_4c
    move v0, v1

    goto :goto_4b

    .line 1295
    :catch_4e
    move-exception v1

    goto :goto_4b

    .line 1293
    :catch_50
    move-exception v1

    goto :goto_4b

    .line 1277
    :catch_52
    move-exception v1

    goto :goto_4b
.end method

.method public static a(Lcom/cm/plugincluster/common/notification/define/NotificationSetting;Ljava/lang/String;)Z
    .registers 5

    .prologue
    const/4 v1, 0x1

    const/4 v0, 0x0

    .line 1344
    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_9

    .line 1360
    :cond_8
    :goto_8
    return v0

    .line 1348
    :cond_9
    invoke-static {}, Lcom/cleanmaster/notification/af;->f()Ljava/util/List;

    move-result-object v2

    .line 1349
    if-eqz v2, :cond_8

    .line 1350
    invoke-interface {v2, p1}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_8

    .line 1351
    new-instance v0, Lcom/cleanmaster/notification/ba;

    invoke-direct {v0}, Lcom/cleanmaster/notification/ba;-><init>()V

    iget v2, p0, Lcom/cm/plugincluster/common/notification/define/NotificationSetting;->mNotifyId:I

    invoke-static {v2}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Lcom/cleanmaster/notification/ba;->a(Ljava/lang/String;)Lcom/cleanmaster/notification/ba;

    move-result-object v0

    iget v2, p0, Lcom/cm/plugincluster/common/notification/define/NotificationSetting;->mCategory:I

    .line 1352
    invoke-static {v2}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Lcom/cleanmaster/notification/ba;->b(Ljava/lang/String;)Lcom/cleanmaster/notification/ba;

    move-result-object v0

    const/16 v2, 0xa

    .line 1353
    invoke-virtual {v0, v2}, Lcom/cleanmaster/notification/ba;->b(B)Lcom/cleanmaster/notification/ba;

    move-result-object v0

    .line 1354
    invoke-virtual {v0, v1}, Lcom/cleanmaster/notification/ba;->a(B)Lcom/cleanmaster/notification/ba;

    move-result-object v0

    .line 1355
    invoke-virtual {v0}, Lcom/cleanmaster/notification/ba;->a()Lcom/cleanmaster/notification/ba;

    move-result-object v0

    .line 1356
    invoke-virtual {v0}, Lcom/cleanmaster/notification/ba;->report()V

    move v0, v1

    .line 1357
    goto :goto_8
.end method

.method private b(Landroid/widget/RemoteViews;Lcom/cm/plugincluster/common/notification/define/NotificationModel;)V
    .registers 10

    .prologue
    const v6, 0x7f10063f

    const v5, 0x7f10063e

    const v4, 0x7f10063d

    const/16 v3, 0x8

    const/4 v2, 0x0

    .line 690
    iget-object v0, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mContent:Ljava/lang/CharSequence;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_2f

    iget-object v0, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mContentIcon1:Landroid/graphics/Bitmap;

    if-nez v0, :cond_2f

    iget-object v0, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mContentIcon2:Landroid/graphics/Bitmap;

    if-nez v0, :cond_2f

    iget-object v0, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mContentIcon3:Landroid/graphics/Bitmap;

    if-nez v0, :cond_2f

    iget-object v0, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mContentIcon4:Landroid/graphics/Bitmap;

    if-nez v0, :cond_2f

    iget-object v0, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mContentIcon5:Landroid/graphics/Bitmap;

    if-nez v0, :cond_2f

    .line 696
    const v0, 0x7f10063c

    invoke-virtual {p1, v0, v3}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

    .line 743
    :goto_2e
    return-void

    .line 699
    :cond_2f
    const v0, 0x7f10063c

    invoke-virtual {p1, v0, v2}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

    .line 702
    iget-object v0, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mContent:Ljava/lang/CharSequence;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_94

    .line 703
    const v0, 0x7f100642

    invoke-virtual {p1, v0, v2}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

    .line 704
    const v0, 0x7f100642

    iget-object v1, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mContent:Ljava/lang/CharSequence;

    invoke-virtual {p1, v0, v1}, Landroid/widget/RemoteViews;->setTextViewText(ILjava/lang/CharSequence;)V

    .line 709
    :goto_4b
    iget-object v0, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mContentIcon1:Landroid/graphics/Bitmap;

    if-eqz v0, :cond_9b

    .line 710
    invoke-virtual {p1, v4, v2}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

    .line 711
    iget-object v0, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mContentIcon1:Landroid/graphics/Bitmap;

    invoke-virtual {p1, v4, v0}, Landroid/widget/RemoteViews;->setImageViewBitmap(ILandroid/graphics/Bitmap;)V

    .line 716
    :goto_57
    iget-object v0, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mContentIcon2:Landroid/graphics/Bitmap;

    if-eqz v0, :cond_9f

    .line 717
    invoke-virtual {p1, v5, v2}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

    .line 718
    iget-object v0, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mContentIcon2:Landroid/graphics/Bitmap;

    invoke-virtual {p1, v5, v0}, Landroid/widget/RemoteViews;->setImageViewBitmap(ILandroid/graphics/Bitmap;)V

    .line 723
    :goto_63
    iget-object v0, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mContentIcon3:Landroid/graphics/Bitmap;

    if-eqz v0, :cond_a3

    .line 724
    invoke-virtual {p1, v6, v2}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

    .line 725
    iget-object v0, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mContentIcon3:Landroid/graphics/Bitmap;

    invoke-virtual {p1, v6, v0}, Landroid/widget/RemoteViews;->setImageViewBitmap(ILandroid/graphics/Bitmap;)V

    .line 730
    :goto_6f
    iget-object v0, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mContentIcon4:Landroid/graphics/Bitmap;

    if-eqz v0, :cond_a7

    .line 731
    const v0, 0x7f100640

    invoke-virtual {p1, v0, v2}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

    .line 732
    const v0, 0x7f100640

    iget-object v1, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mContentIcon4:Landroid/graphics/Bitmap;

    invoke-virtual {p1, v0, v1}, Landroid/widget/RemoteViews;->setImageViewBitmap(ILandroid/graphics/Bitmap;)V

    .line 737
    :goto_81
    iget-object v0, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mContentIcon5:Landroid/graphics/Bitmap;

    if-eqz v0, :cond_ae

    .line 738
    const v0, 0x7f100641

    invoke-virtual {p1, v0, v2}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

    .line 739
    const v0, 0x7f100641

    iget-object v1, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mContentIcon5:Landroid/graphics/Bitmap;

    invoke-virtual {p1, v0, v1}, Landroid/widget/RemoteViews;->setImageViewBitmap(ILandroid/graphics/Bitmap;)V

    goto :goto_2e

    .line 706
    :cond_94
    const v0, 0x7f100642

    invoke-virtual {p1, v0, v3}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

    goto :goto_4b

    .line 713
    :cond_9b
    invoke-virtual {p1, v4, v3}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

    goto :goto_57

    .line 720
    :cond_9f
    invoke-virtual {p1, v5, v3}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

    goto :goto_63

    .line 727
    :cond_a3
    invoke-virtual {p1, v6, v3}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

    goto :goto_6f

    .line 734
    :cond_a7
    const v0, 0x7f100640

    invoke-virtual {p1, v0, v3}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

    goto :goto_81

    .line 741
    :cond_ae
    const v0, 0x7f100641

    invoke-virtual {p1, v0, v3}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

    goto/16 :goto_2e
.end method

.method private b(Landroid/widget/RemoteViews;Lcom/cm/plugincluster/common/notification/define/NotificationModel;Lcom/cm/plugincluster/common/notification/define/NotificationSetting;)V
    .registers 11

    .prologue
    const v6, 0x7f100639

    const v0, 0x7f10063a

    const v1, 0x7f100638

    const/16 v5, 0x8

    const/4 v4, 0x0

    .line 747
    iget v2, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mFunction:I

    const/16 v3, 0x900

    if-ne v2, v3, :cond_1f

    iget v2, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mLeftIconRes:I

    if-nez v2, :cond_1f

    iget-object v2, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mLeftIconBmp:Landroid/graphics/Bitmap;

    if-nez v2, :cond_1f

    iget-object v2, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mLeftIconUri:Landroid/net/Uri;

    if-nez v2, :cond_1f

    .line 780
    :goto_1e
    return-void

    .line 751
    :cond_1f
    iget v2, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mLeftIconType:I

    const/4 v3, 0x7

    if-ne v2, v3, :cond_4d

    .line 753
    invoke-virtual {p1, v0, v4}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

    .line 754
    invoke-virtual {p1, v1, v5}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

    .line 755
    invoke-virtual {p1, v6, v5}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

    .line 765
    :goto_2d
    iget-object v1, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mLeftIconUri:Landroid/net/Uri;

    if-eqz v1, :cond_68

    iget-object v1, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mLeftIconUri:Landroid/net/Uri;

    invoke-virtual {v1}, Landroid/net/Uri;->getPath()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_68

    .line 766
    iget-object v1, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mLeftIconUri:Landroid/net/Uri;

    invoke-virtual {v1}, Landroid/net/Uri;->getPath()Ljava/lang/String;

    move-result-object v1

    .line 767
    invoke-static {v1}, Landroid/graphics/BitmapFactory;->decodeFile(Ljava/lang/String;)Landroid/graphics/Bitmap;

    move-result-object v1

    .line 768
    if-eqz v1, :cond_5e

    .line 769
    invoke-virtual {p1, v0, v1}, Landroid/widget/RemoteViews;->setImageViewBitmap(ILandroid/graphics/Bitmap;)V

    goto :goto_1e

    .line 758
    :cond_4d
    invoke-virtual {p1, v0, v5}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

    .line 759
    invoke-virtual {p1, v1, v4}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

    .line 760
    invoke-direct {p0, p3}, Lcom/cleanmaster/notification/af;->d(Lcom/cm/plugincluster/common/notification/define/NotificationSetting;)Z

    move-result v0

    if-nez v0, :cond_5c

    .line 761
    invoke-virtual {p1, v6, v4}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

    :cond_5c
    move v0, v1

    goto :goto_2d

    .line 771
    :cond_5e
    iget v1, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mFunction:I

    invoke-direct {p0, v1}, Lcom/cleanmaster/notification/af;->f(I)I

    move-result v1

    invoke-virtual {p1, v0, v1}, Landroid/widget/RemoteViews;->setImageViewResource(II)V

    goto :goto_1e

    .line 773
    :cond_68
    iget-object v1, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mLeftIconBmp:Landroid/graphics/Bitmap;

    if-eqz v1, :cond_72

    .line 774
    iget-object v1, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mLeftIconBmp:Landroid/graphics/Bitmap;

    invoke-virtual {p1, v0, v1}, Landroid/widget/RemoteViews;->setImageViewBitmap(ILandroid/graphics/Bitmap;)V

    goto :goto_1e

    .line 775
    :cond_72
    iget v1, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mLeftIconRes:I

    if-eqz v1, :cond_7c

    .line 776
    iget v1, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mLeftIconRes:I

    invoke-virtual {p1, v0, v1}, Landroid/widget/RemoteViews;->setImageViewResource(II)V

    goto :goto_1e

    .line 778
    :cond_7c
    iget v1, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mFunction:I

    invoke-direct {p0, v1}, Lcom/cleanmaster/notification/af;->f(I)I

    move-result v1

    invoke-virtual {p1, v0, v1}, Landroid/widget/RemoteViews;->setImageViewResource(II)V

    goto :goto_1e
.end method

.method private b(Lcom/cm/plugincluster/common/notification/define/NotificationSetting;)Z
    .registers 4

    .prologue
    .line 552
    iget v0, p1, Lcom/cm/plugincluster/common/notification/define/NotificationSetting;->mNotifyId:I

    const/16 v1, 0x31

    if-ne v0, v1, :cond_8

    const/4 v0, 0x1

    :goto_7
    return v0

    :cond_8
    const/4 v0, 0x0

    goto :goto_7
.end method

.method public static c()V
    .registers 3

    .prologue
    .line 278
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

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

    move-result-object v2

    invoke-virtual {v2, v0, v1}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->setLastNofiticationTime(J)V

    .line 280
    return-void
.end method

.method private c(Landroid/widget/RemoteViews;Lcom/cm/plugincluster/common/notification/define/NotificationModel;)V
    .registers 9

    .prologue
    const v5, 0x7f10063b

    const v4, 0x7f100644

    const/4 v3, 0x0

    const v2, 0x7f100645

    const/16 v1, 0x8

    .line 783
    iget-boolean v0, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->isRightBtnShow:Z

    if-nez v0, :cond_1c

    iget-object v0, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mRightText:Ljava/lang/CharSequence;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_1c

    .line 784
    invoke-virtual {p1, v5, v1}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

    .line 806
    :cond_1b
    :goto_1b
    return-void

    .line 787
    :cond_1c
    invoke-virtual {p1, v5, v3}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

    .line 790
    iget-boolean v0, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->isRightBtnShow:Z

    if-eqz v0, :cond_37

    .line 791
    invoke-virtual {p1, v4, v3}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

    .line 792
    invoke-virtual {p1, v2, v1}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

    .line 793
    iget-object v0, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mRightText:Ljava/lang/CharSequence;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_1b

    .line 794
    iget-object v0, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mRightText:Ljava/lang/CharSequence;

    invoke-virtual {p1, v4, v0}, Landroid/widget/RemoteViews;->setTextViewText(ILjava/lang/CharSequence;)V

    goto :goto_1b

    .line 797
    :cond_37
    invoke-virtual {p1, v4, v1}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

    .line 798
    iget-object v0, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mRightText:Ljava/lang/CharSequence;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_4b

    .line 799
    invoke-virtual {p1, v2, v3}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

    .line 800
    iget-object v0, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mRightText:Ljava/lang/CharSequence;

    invoke-virtual {p1, v2, v0}, Landroid/widget/RemoteViews;->setTextViewText(ILjava/lang/CharSequence;)V

    goto :goto_1b

    .line 802
    :cond_4b
    invoke-virtual {p1, v2, v1}, Landroid/widget/RemoteViews;->setViewVisibility(II)V

    goto :goto_1b
.end method

.method private c(Lcom/cm/plugincluster/common/notification/define/NotificationSetting;Lcom/cm/plugincluster/common/notification/define/NotificationModel;)V
    .registers 9

    .prologue
    .line 240
    if-nez p2, :cond_3

    .line 275
    :cond_2
    :goto_2
    return-void

    .line 244
    :cond_3
    invoke-static {}, Lcom/keniu/security/l;->d()Landroid/content/Context;

    .line 245
    iget v0, p1, Lcom/cm/plugincluster/common/notification/define/NotificationSetting;->mNotifyType:I

    const/4 v1, 0x2

    if-ne v0, v1, :cond_17

    iget v0, p1, Lcom/cm/plugincluster/common/notification/define/NotificationSetting;->mNotifyId:I

    const/16 v1, 0x3010

    if-lt v0, v1, :cond_17

    iget v0, p1, Lcom/cm/plugincluster/common/notification/define/NotificationSetting;->mNotifyId:I

    const/16 v1, 0x3099

    if-le v0, v1, :cond_1d

    :cond_17
    iget v0, p1, Lcom/cm/plugincluster/common/notification/define/NotificationSetting;->mNotifyId:I

    const/16 v1, 0x501

    if-ne v0, v1, :cond_29

    .line 269
    :cond_1d
    :goto_1d
    invoke-static {}, Lcom/cleanmaster/notification/af;->c()V

    .line 272
    iget-object v0, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mRcmdExculdeFlag:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_2

    goto :goto_2

    .line 251
    :cond_29
    invoke-static {}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->getInstance()Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;

    move-result-object v0

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

    .line 253
    invoke-static {}, Lcom/keniu/security/af;->d()J

    move-result-wide v0

    .line 254
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    .line 256
    invoke-static {}, Lcom/cleanmaster/hpsharelib/cloudconfig/BoostCubeCloudConfig$NotificationSetting;->getNewInstallNotifyCountTimeHour()I

    move-result v4

    .line 262
    sub-long v0, v2, v0

    mul-int/lit8 v2, v4, 0x3c

    mul-int/lit8 v2, v2, 0x3c

    int-to-long v2, v2

    const-wide/16 v4, 0x3e8

    mul-long/2addr v2, v4

    cmp-long v0, v0, v2

    if-gez v0, :cond_1d

    .line 263
    invoke-static {}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->getInstance()Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;

    move-result-object v0

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

    move-result v0

    .line 264
    invoke-static {}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->getInstance()Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;

    move-result-object v1

    add-int/lit8 v0, v0, 0x1

    invoke-virtual {v1, v0}, Lcom/cleanmaster/hpsharelib/configmanager/ServiceConfigManager;->setNotifyManagerNewInstallerNotifyCount(I)V

    goto :goto_1d
.end method

.method private c(Lcom/cm/plugincluster/common/notification/define/NotificationSetting;Lcom/cm/plugincluster/common/notification/define/NotificationModel;Landroid/widget/RemoteViews;)V
    .registers 9

    .prologue
    const/4 v4, 0x1

    .line 392
    iget-object v0, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mIntent:Landroid/content/Intent;

    if-eqz v0, :cond_c

    .line 393
    iget-object v0, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mIntent:Landroid/content/Intent;

    const-string v1, "notify_style_type"

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

    .line 396
    :cond_c
    invoke-static {}, Lcom/keniu/security/l;->d()Landroid/content/Context;

    move-result-object v1

    .line 398
    const-string v0, "notification"

    .line 399
    invoke-virtual {v1, v0}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/app/NotificationManager;

    .line 400
    iget-boolean v2, p1, Lcom/cm/plugincluster/common/notification/define/NotificationSetting;->mIsForceTop:Z

    iget-boolean v3, p1, Lcom/cm/plugincluster/common/notification/define/NotificationSetting;->mShowWhenLocked:Z

    invoke-direct {p0, v1, p2, v2, v3}, Lcom/cleanmaster/notification/af;->a(Landroid/content/Context;Lcom/cm/plugincluster/common/notification/define/NotificationModel;ZZ)Landroid/app/Notification;

    move-result-object v2

    .line 402
    invoke-virtual {p0, v2, p2, v4}, Lcom/cleanmaster/notification/af;->a(Landroid/app/Notification;Lcom/cm/plugincluster/common/notification/define/NotificationModel;Z)V

    .line 404
    iget v3, p1, Lcom/cm/plugincluster/common/notification/define/NotificationSetting;->mIntentType:I

    invoke-direct {p0, v1, v3, p2}, Lcom/cleanmaster/notification/af;->a(Landroid/content/Context;ILcom/cm/plugincluster/common/notification/define/NotificationModel;)Landroid/app/PendingIntent;

    move-result-object v1

    iput-object v1, v2, Landroid/app/Notification;->contentIntent:Landroid/app/PendingIntent;

    .line 405
    iget-object v1, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mTickerTitle:Ljava/lang/CharSequence;

    if-nez v1, :cond_4b

    const-string v1, ""

    :goto_31
    iput-object v1, v2, Landroid/app/Notification;->tickerText:Ljava/lang/CharSequence;

    .line 406
    iput-object p3, v2, Landroid/app/Notification;->contentView:Landroid/widget/RemoteViews;

    .line 409
    iget-boolean v1, p1, Lcom/cm/plugincluster/common/notification/define/NotificationSetting;->mShowHeaderView:Z

    if-eqz v1, :cond_42

    .line 410
    sget v1, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v3, 0x15

    if-ge v1, v3, :cond_4e

    .line 411
    invoke-direct {p0, p1, p2}, Lcom/cleanmaster/notification/af;->d(Lcom/cm/plugincluster/common/notification/define/NotificationSetting;Lcom/cm/plugincluster/common/notification/define/NotificationModel;)V

    .line 417
    :cond_42
    :goto_42
    iget v1, p1, Lcom/cm/plugincluster/common/notification/define/NotificationSetting;->mNotifyId:I

    invoke-direct {p0, v0, v1, v2}, Lcom/cleanmaster/notification/af;->a(Landroid/app/NotificationManager;ILandroid/app/Notification;)V

    .line 419
    invoke-direct {p0, p1, p2}, Lcom/cleanmaster/notification/af;->c(Lcom/cm/plugincluster/common/notification/define/NotificationSetting;Lcom/cm/plugincluster/common/notification/define/NotificationModel;)V

    .line 423
    return-void

    .line 405
    :cond_4b
    iget-object v1, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mTickerTitle:Ljava/lang/CharSequence;

    goto :goto_31

    .line 413
    :cond_4e
    invoke-direct {p0, p3, v2}, Lcom/cleanmaster/notification/af;->a(Landroid/widget/RemoteViews;Landroid/app/Notification;)V

    goto :goto_42
.end method

.method private c(Lcom/cm/plugincluster/common/notification/define/NotificationSetting;)Z
    .registers 4

    .prologue
    .line 556
    iget v0, p1, Lcom/cm/plugincluster/common/notification/define/NotificationSetting;->mNotifyId:I

    const/16 v1, 0x34

    if-ne v0, v1, :cond_8

    const/4 v0, 0x1

    :goto_7
    return v0

    :cond_8
    const/4 v0, 0x0

    goto :goto_7
.end method

.method private d(Lcom/cm/plugincluster/common/notification/define/NotificationSetting;Lcom/cm/plugincluster/common/notification/define/NotificationModel;)V
    .registers 12

    .prologue
    .line 519
    :try_start_0
    invoke-static {}, Lcom/cleanmaster/hpsharelib/base/ipc/ServiceManager;->getInstance()Lcom/cleanmaster/hpsharelib/base/ipc/ServiceManager;

    move-result-object v0

    sget-object v1, Lcom/cleanmaster/hpsharelib/synipc/ServiceDefine;->NOTIFY_STAET_MANAGER:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/cleanmaster/hpsharelib/base/ipc/ServiceManager;->getService(Ljava/lang/String;)Landroid/os/IInterface;

    move-result-object v0

    check-cast v0, Lcom/cleanmaster/hpsharelib/synipc/INotifyManager;

    .line 520
    if-eqz v0, :cond_36

    .line 521
    iget-boolean v1, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mUseDefaultInfoToHeaderView:Z

    if-eqz v1, :cond_24

    .line 522
    iget-object v1, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mTitle:Ljava/lang/CharSequence;

    iput-object v1, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mHeaderTitle:Ljava/lang/CharSequence;

    .line 523
    iget-object v1, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mContent:Ljava/lang/CharSequence;

    iput-object v1, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mHeaderContent:Ljava/lang/CharSequence;

    .line 524
    iget v1, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mLeftIconType:I

    const/4 v2, 0x0

    const/4 v3, 0x0

    invoke-direct {p0, v1, v2, v3}, Lcom/cleanmaster/notification/af;->a(IZZ)I

    move-result v1

    iput v1, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mHeaderLeftBmpRes:I

    .line 526
    :cond_24
    iget-object v2, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mHeaderTitle:Ljava/lang/CharSequence;

    iget-object v3, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mHeaderContent:Ljava/lang/CharSequence;

    iget v4, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mHeaderLeftBmpRes:I

    iget-object v5, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mHeaderLeftBmpPkg:Ljava/lang/String;

    iget v6, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mHeaderPosBtnTextRes:I

    iget v7, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mHeaderNegBtnTextRes:I

    iget-object v8, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mIntent:Landroid/content/Intent;

    move-object v1, p1

    invoke-interface/range {v0 .. v8}, Lcom/cleanmaster/hpsharelib/synipc/INotifyManager;->showHeaderViewWindow(Lcom/cm/plugincluster/common/notification/define/NotificationSetting;Ljava/lang/CharSequence;Ljava/lang/CharSequence;ILjava/lang/String;IILandroid/content/Intent;)Z
    :try_end_36
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_36} :catch_37

    .line 538
    :cond_36
    :goto_36
    return-void

    .line 535
    :catch_37
    move-exception v0

    .line 536
    invoke-virtual {v0}, Landroid/os/RemoteException;->printStackTrace()V

    goto :goto_36
.end method

.method private d(Lcom/cm/plugincluster/common/notification/define/NotificationSetting;Lcom/cm/plugincluster/common/notification/define/NotificationModel;Landroid/widget/RemoteViews;)V
    .registers 9
    .annotation build Landroid/annotation/SuppressLint;
        value = {
            "NewApi"
        }
    .end annotation

    .prologue
    const/4 v4, 0x1

    .line 459
    iget-object v0, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mIntent:Landroid/content/Intent;

    if-eqz v0, :cond_c

    .line 460
    iget-object v0, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mIntent:Landroid/content/Intent;

    const-string v1, "notify_style_type"

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

    .line 463
    :cond_c
    invoke-static {}, Lcom/keniu/security/l;->d()Landroid/content/Context;

    move-result-object v1

    .line 465
    const-string v0, "notification"

    .line 466
    invoke-virtual {v1, v0}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/app/NotificationManager;

    .line 467
    iget-boolean v2, p1, Lcom/cm/plugincluster/common/notification/define/NotificationSetting;->mIsForceTop:Z

    iget-boolean v3, p1, Lcom/cm/plugincluster/common/notification/define/NotificationSetting;->mShowWhenLocked:Z

    invoke-direct {p0, v1, p2, v2, v3}, Lcom/cleanmaster/notification/af;->a(Landroid/content/Context;Lcom/cm/plugincluster/common/notification/define/NotificationModel;ZZ)Landroid/app/Notification;

    move-result-object v2

    .line 469
    invoke-virtual {p0, v2, p2, v4}, Lcom/cleanmaster/notification/af;->a(Landroid/app/Notification;Lcom/cm/plugincluster/common/notification/define/NotificationModel;Z)V

    .line 471
    iget v3, p1, Lcom/cm/plugincluster/common/notification/define/NotificationSetting;->mIntentType:I

    invoke-direct {p0, v1, v3, p2}, Lcom/cleanmaster/notification/af;->a(Landroid/content/Context;ILcom/cm/plugincluster/common/notification/define/NotificationModel;)Landroid/app/PendingIntent;

    move-result-object v1

    iput-object v1, v2, Landroid/app/Notification;->contentIntent:Landroid/app/PendingIntent;

    .line 472
    iget-object v1, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mTickerTitle:Ljava/lang/CharSequence;

    if-nez v1, :cond_53

    const-string v1, ""

    :goto_31
    iput-object v1, v2, Landroid/app/Notification;->tickerText:Ljava/lang/CharSequence;

    .line 473
    sget v1, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v3, 0x10

    if-lt v1, v3, :cond_3b

    .line 474
    iput-object p3, v2, Landroid/app/Notification;->bigContentView:Landroid/widget/RemoteViews;

    .line 476
    :cond_3b
    iput-object p3, v2, Landroid/app/Notification;->contentView:Landroid/widget/RemoteViews;

    .line 479
    iget-boolean v1, p1, Lcom/cm/plugincluster/common/notification/define/NotificationSetting;->mShowHeaderView:Z

    if-eqz v1, :cond_4a

    .line 480
    sget v1, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v3, 0x15

    if-ge v1, v3, :cond_56

    .line 481
    invoke-direct {p0, p1, p2}, Lcom/cleanmaster/notification/af;->d(Lcom/cm/plugincluster/common/notification/define/NotificationSetting;Lcom/cm/plugincluster/common/notification/define/NotificationModel;)V

    .line 487
    :cond_4a
    :goto_4a
    iget v1, p1, Lcom/cm/plugincluster/common/notification/define/NotificationSetting;->mNotifyId:I

    invoke-direct {p0, v0, v1, v2}, Lcom/cleanmaster/notification/af;->a(Landroid/app/NotificationManager;ILandroid/app/Notification;)V

    .line 489
    invoke-direct {p0, p1, p2}, Lcom/cleanmaster/notification/af;->c(Lcom/cm/plugincluster/common/notification/define/NotificationSetting;Lcom/cm/plugincluster/common/notification/define/NotificationModel;)V

    .line 493
    return-void

    .line 472
    :cond_53
    iget-object v1, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mTickerTitle:Ljava/lang/CharSequence;

    goto :goto_31

    .line 483
    :cond_56
    invoke-direct {p0, p3, v2}, Lcom/cleanmaster/notification/af;->a(Landroid/widget/RemoteViews;Landroid/app/Notification;)V

    goto :goto_4a
.end method

.method private d(Lcom/cm/plugincluster/common/notification/define/NotificationSetting;)Z
    .registers 4

    .prologue
    .line 560
    iget v0, p1, Lcom/cm/plugincluster/common/notification/define/NotificationSetting;->mNotifyId:I

    const/16 v1, 0x43

    if-ne v0, v1, :cond_8

    const/4 v0, 0x1

    :goto_7
    return v0

    :cond_8
    const/4 v0, 0x0

    goto :goto_7
.end method

.method private e()Landroid/widget/RemoteViews;
    .registers 4

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

    move-result v0

    if-eqz v0, :cond_17

    .line 632
    new-instance v0, Landroid/widget/RemoteViews;

    invoke-static {}, Lcom/keniu/security/l;->d()Landroid/content/Context;

    move-result-object v1

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

    move-result-object v1

    const v2, 0x7f04018d

    invoke-direct {v0, v1, v2}, Landroid/widget/RemoteViews;-><init>(Ljava/lang/String;I)V

    .line 651
    :goto_16
    return-object v0

    .line 635
    :cond_17
    invoke-static {}, Lcom/cleanmaster/hpsharelib/base/util/MiuiV5Helper;->isMiuiV9()Z

    move-result v0

    if-eqz v0, :cond_2e

    .line 636
    new-instance v0, Landroid/widget/RemoteViews;

    invoke-static {}, Lcom/keniu/security/l;->d()Landroid/content/Context;

    move-result-object v1

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

    move-result-object v1

    const v2, 0x7f040190

    invoke-direct {v0, v1, v2}, Landroid/widget/RemoteViews;-><init>(Ljava/lang/String;I)V

    goto :goto_16

    .line 639
    :cond_2e
    invoke-static {}, Lcom/cleanmaster/hpsharelib/base/util/MiuiV5Helper;->isMiuiV8()Z

    move-result v0

    if-eqz v0, :cond_45

    .line 640
    new-instance v0, Landroid/widget/RemoteViews;

    invoke-static {}, Lcom/keniu/security/l;->d()Landroid/content/Context;

    move-result-object v1

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

    move-result-object v1

    const v2, 0x7f04018f

    invoke-direct {v0, v1, v2}, Landroid/widget/RemoteViews;-><init>(Ljava/lang/String;I)V

    goto :goto_16

    .line 643
    :cond_45
    invoke-static {}, Lcom/cleanmaster/hpsharelib/base/util/MiuiV5Helper;->isMiuiV7()Z

    move-result v0

    if-eqz v0, :cond_5c

    .line 644
    new-instance v0, Landroid/widget/RemoteViews;

    invoke-static {}, Lcom/keniu/security/l;->d()Landroid/content/Context;

    move-result-object v1

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

    move-result-object v1

    const v2, 0x7f04018e

    invoke-direct {v0, v1, v2}, Landroid/widget/RemoteViews;-><init>(Ljava/lang/String;I)V

    goto :goto_16

    .line 647
    :cond_5c
    invoke-static {}, Lcom/cleanmaster/hpsharelib/utils/EmuiHelper;->isEMUI3()Z

    move-result v0

    if-eqz v0, :cond_73

    .line 648
    new-instance v0, Landroid/widget/RemoteViews;

    invoke-static {}, Lcom/keniu/security/l;->d()Landroid/content/Context;

    move-result-object v1

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

    move-result-object v1

    const v2, 0x7f04018c

    invoke-direct {v0, v1, v2}, Landroid/widget/RemoteViews;-><init>(Ljava/lang/String;I)V

    goto :goto_16

    .line 651
    :cond_73
    new-instance v0, Landroid/widget/RemoteViews;

    invoke-static {}, Lcom/keniu/security/l;->d()Landroid/content/Context;

    move-result-object v1

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

    move-result-object v1

    const v2, 0x7f04018b

    invoke-direct {v0, v1, v2}, Landroid/widget/RemoteViews;-><init>(Ljava/lang/String;I)V

    goto :goto_16
.end method

.method private e(Lcom/cm/plugincluster/common/notification/define/NotificationSetting;Lcom/cm/plugincluster/common/notification/define/NotificationModel;)V
    .registers 12
    .annotation build Landroid/annotation/SuppressLint;
        value = {
            "NewApi"
        }
    .end annotation

    .prologue
    const/16 v4, 0x15

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

    move-result-object v1

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

    move-result-object v0

    invoke-virtual {v0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    iget v2, p1, Lcom/cm/plugincluster/common/notification/define/NotificationSetting;->mIntentType:I

    invoke-direct {p0, v0, v2, p2}, Lcom/cleanmaster/notification/af;->a(Landroid/content/Context;ILcom/cm/plugincluster/common/notification/define/NotificationModel;)Landroid/app/PendingIntent;

    .line 863
    const-string v0, "notification"

    .line 864
    invoke-virtual {v1, v0}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/app/NotificationManager;

    .line 865
    iget-boolean v2, p1, Lcom/cm/plugincluster/common/notification/define/NotificationSetting;->mIsForceTop:Z

    iget-boolean v3, p1, Lcom/cm/plugincluster/common/notification/define/NotificationSetting;->mShowWhenLocked:Z

    invoke-direct {p0, v1, p2, v2, v3}, Lcom/cleanmaster/notification/af;->a(Landroid/content/Context;Lcom/cm/plugincluster/common/notification/define/NotificationModel;ZZ)Landroid/app/Notification;

    move-result-object v2

    .line 866
    iget-object v1, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mTickerTitle:Ljava/lang/CharSequence;

    if-nez v1, :cond_81

    const-string v1, ""

    :goto_29
    iput-object v1, v2, Landroid/app/Notification;->tickerText:Ljava/lang/CharSequence;

    .line 868
    const/4 v1, 0x0

    invoke-virtual {p0, v2, p2, v1}, Lcom/cleanmaster/notification/af;->a(Landroid/app/Notification;Lcom/cm/plugincluster/common/notification/define/NotificationModel;Z)V

    .line 870
    sget v1, Landroid/os/Build$VERSION;->SDK_INT:I

    .line 871
    const/16 v3, 0xb

    if-lt v1, v3, :cond_4b

    if-ge v1, v4, :cond_4b

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

    move-result-object v1

    invoke-virtual {v1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    iget v3, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mFunction:I

    .line 873
    invoke-direct {p0, v3}, Lcom/cleanmaster/notification/af;->f(I)I

    move-result v3

    .line 872
    invoke-static {v1, v3}, Landroid/graphics/BitmapFactory;->decodeResource(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v1

    iput-object v1, v2, Landroid/app/Notification;->largeIcon:Landroid/graphics/Bitmap;

    .line 879
    :cond_4b
    iget v1, p1, Lcom/cm/plugincluster/common/notification/define/NotificationSetting;->mNotifyId:I

    invoke-direct {p0, v0, v1, v2}, Lcom/cleanmaster/notification/af;->a(Landroid/app/NotificationManager;ILandroid/app/Notification;)V

    .line 881
    iget-boolean v0, p1, Lcom/cm/plugincluster/common/notification/define/NotificationSetting;->mShowWhenLocked:Z

    if-nez v0, :cond_58

    iget-boolean v0, p1, Lcom/cm/plugincluster/common/notification/define/NotificationSetting;->mShowHeaderView:Z

    if-eqz v0, :cond_80

    :cond_58
    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    if-ge v0, v4, :cond_80

    .line 884
    :try_start_5c
    invoke-static {}, Lcom/cleanmaster/hpsharelib/base/ipc/ServiceManager;->getInstance()Lcom/cleanmaster/hpsharelib/base/ipc/ServiceManager;

    move-result-object v0

    sget-object v1, Lcom/cleanmaster/hpsharelib/synipc/ServiceDefine;->NOTIFY_STAET_MANAGER:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/cleanmaster/hpsharelib/base/ipc/ServiceManager;->getService(Ljava/lang/String;)Landroid/os/IInterface;

    move-result-object v0

    check-cast v0, Lcom/cleanmaster/hpsharelib/synipc/INotifyManager;

    .line 885
    if-eqz v0, :cond_80

    .line 886
    iget-boolean v1, p1, Lcom/cm/plugincluster/common/notification/define/NotificationSetting;->mShowHeaderView:Z

    if-eqz v1, :cond_80

    .line 887
    iget-object v2, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mHeaderTitle:Ljava/lang/CharSequence;

    iget-object v3, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mHeaderContent:Ljava/lang/CharSequence;

    iget v4, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mHeaderLeftBmpRes:I

    iget-object v5, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mHeaderLeftBmpPkg:Ljava/lang/String;

    iget v6, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mHeaderPosBtnTextRes:I

    iget v7, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mHeaderNegBtnTextRes:I

    iget-object v8, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mIntent:Landroid/content/Intent;

    move-object v1, p1

    invoke-interface/range {v0 .. v8}, Lcom/cleanmaster/hpsharelib/synipc/INotifyManager;->showHeaderViewWindow(Lcom/cm/plugincluster/common/notification/define/NotificationSetting;Ljava/lang/CharSequence;Ljava/lang/CharSequence;ILjava/lang/String;IILandroid/content/Intent;)Z
    :try_end_80
    .catch Landroid/os/RemoteException; {:try_start_5c .. :try_end_80} :catch_84

    .line 901
    :cond_80
    :goto_80
    return-void

    .line 866
    :cond_81
    iget-object v1, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mTickerTitle:Ljava/lang/CharSequence;

    goto :goto_29

    .line 897
    :catch_84
    move-exception v0

    .line 898
    invoke-virtual {v0}, Landroid/os/RemoteException;->printStackTrace()V

    goto :goto_80
.end method

.method private e(Lcom/cm/plugincluster/common/notification/define/NotificationSetting;)Z
    .registers 4

    .prologue
    .line 564
    iget v0, p1, Lcom/cm/plugincluster/common/notification/define/NotificationSetting;->mNotifyId:I

    const/4 v1, 0x5

    if-ne v0, v1, :cond_7

    const/4 v0, 0x1

    :goto_6
    return v0

    :cond_7
    const/4 v0, 0x0

    goto :goto_6
.end method

.method private f(I)I
    .registers 5

    .prologue
    const v0, 0x7f020156

    .line 1074
    packed-switch p1, :pswitch_data_52

    :pswitch_6
    move v1, v0

    .line 1130
    :goto_7
    const/16 v2, 0x915

    if-eq p1, v2, :cond_50

    .line 1133
    :goto_b
    return v0

    .line 1076
    :pswitch_c
    const v1, 0x7f02015b

    .line 1077
    goto :goto_7

    .line 1079
    :pswitch_10
    const v1, 0x7f02014d

    .line 1080
    goto :goto_7

    .line 1082
    :pswitch_14
    const v1, 0x7f02014c

    .line 1083
    goto :goto_7

    .line 1085
    :pswitch_18
    const v1, 0x7f020155

    .line 1086
    goto :goto_7

    .line 1088
    :pswitch_1c
    const v1, 0x7f02015c

    .line 1089
    goto :goto_7

    .line 1091
    :pswitch_20
    const v1, 0x7f02015a

    .line 1092
    goto :goto_7

    .line 1094
    :pswitch_24
    const v1, 0x7f020166

    .line 1095
    goto :goto_7

    .line 1097
    :pswitch_28
    const v1, 0x7f020167

    .line 1098
    goto :goto_7

    .line 1100
    :pswitch_2c
    const v1, 0x7f020165

    .line 1101
    goto :goto_7

    .line 1103
    :pswitch_30
    const v1, 0x7f02014a

    .line 1104
    goto :goto_7

    .line 1106
    :pswitch_34
    const v1, 0x7f020161

    .line 1107
    goto :goto_7

    .line 1109
    :pswitch_38
    const v1, 0x7f02016d

    .line 1110
    goto :goto_7

    .line 1112
    :pswitch_3c
    const v1, 0x7f020157

    .line 1113
    goto :goto_7

    .line 1115
    :pswitch_40
    const v1, 0x7f02014b

    .line 1116
    goto :goto_7

    .line 1118
    :pswitch_44
    const v1, 0x7f020159

    .line 1119
    goto :goto_7

    .line 1121
    :pswitch_48
    const v1, 0x7f020162

    .line 1122
    goto :goto_7

    .line 1124
    :pswitch_4c
    const v1, 0x7f0200c2

    .line 1125
    goto :goto_7

    :cond_50
    move v0, v1

    goto :goto_b

    .line 1074
    :pswitch_data_52
    .packed-switch 0x901
        :pswitch_c
        :pswitch_18
        :pswitch_14
        :pswitch_10
        :pswitch_44
        :pswitch_1c
        :pswitch_40
        :pswitch_20
        :pswitch_24
        :pswitch_48
        :pswitch_6
        :pswitch_6
        :pswitch_6
        :pswitch_6
        :pswitch_6
        :pswitch_28
        :pswitch_2c
        :pswitch_30
        :pswitch_34
        :pswitch_38
        :pswitch_3c
        :pswitch_4c
    .end packed-switch
.end method

.method private static f()Ljava/util/List;
    .registers 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List",
            "<",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation

    .prologue
    const/4 v0, 0x0

    .line 1365
    const/16 v1, 0xb

    const-string v2, "notification_toast"

    const-string v3, "avoid_appname"

    const-string v4, ""

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

    move-result-object v1

    .line 1366
    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_14

    .line 1373
    :cond_13
    :goto_13
    return-object v0

    .line 1369
    :cond_14
    const-string v2, ","

    invoke-virtual {v1, v2}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v1

    .line 1370
    if-eqz v1, :cond_13

    array-length v2, v1

    if-eqz v2, :cond_13

    .line 1373
    invoke-static {v1}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List;

    move-result-object v0

    goto :goto_13
.end method

.method private f(Lcom/cm/plugincluster/common/notification/define/NotificationSetting;)Z
    .registers 8

    .prologue
    .line 568
    invoke-direct {p0, p1}, Lcom/cleanmaster/notification/af;->b(Lcom/cm/plugincluster/common/notification/define/NotificationSetting;)Z

    move-result v0

    .line 569
    invoke-direct {p0, p1}, Lcom/cleanmaster/notification/af;->c(Lcom/cm/plugincluster/common/notification/define/NotificationSetting;)Z

    move-result v1

    .line 570
    invoke-direct {p0, p1}, Lcom/cleanmaster/notification/af;->d(Lcom/cm/plugincluster/common/notification/define/NotificationSetting;)Z

    move-result v2

    .line 571
    invoke-direct {p0, p1}, Lcom/cleanmaster/notification/af;->e(Lcom/cm/plugincluster/common/notification/define/NotificationSetting;)Z

    move-result v3

    .line 573
    if-eqz v0, :cond_1b

    .line 574
    new-instance v4, Lcom/keniu/security/main/b/l;

    invoke-direct {v4}, Lcom/keniu/security/main/b/l;-><init>()V

    const/4 v5, 0x2

    invoke-virtual {v4, v5}, Lcom/keniu/security/main/b/l;->a(I)V

    .line 576
    :cond_1b
    if-nez v0, :cond_23

    if-nez v1, :cond_23

    if-nez v2, :cond_23

    if-eqz v3, :cond_25

    :cond_23
    const/4 v0, 0x1

    :goto_24
    return v0

    :cond_25
    const/4 v0, 0x0

    goto :goto_24
.end method


# virtual methods
.method public a(I)V
    .registers 4

    .prologue
    .line 164
    :try_start_0
    invoke-static {}, Lcom/cleanmaster/hpsharelib/base/ipc/ServiceManager;->getInstance()Lcom/cleanmaster/hpsharelib/base/ipc/ServiceManager;

    move-result-object v0

    sget-object v1, Lcom/cleanmaster/hpsharelib/synipc/ServiceDefine;->NOTIFY_STAET_MANAGER:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/cleanmaster/hpsharelib/base/ipc/ServiceManager;->getService(Ljava/lang/String;)Landroid/os/IInterface;

    move-result-object v0

    check-cast v0, Lcom/cleanmaster/hpsharelib/synipc/INotifyManager;

    .line 165
    if-eqz v0, :cond_11

    .line 166
    invoke-interface {v0, p1}, Lcom/cleanmaster/hpsharelib/synipc/INotifyManager;->closeHeaderViewWindow(I)Z
    :try_end_11
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_11} :catch_12

    .line 171
    :cond_11
    :goto_11
    return-void

    .line 168
    :catch_12
    move-exception v0

    .line 169
    invoke-virtual {v0}, Landroid/os/RemoteException;->printStackTrace()V

    goto :goto_11
.end method

.method public a(IJ)V
    .registers 6

    .prologue
    .line 1215
    iget-object v0, p0, Lcom/cleanmaster/notification/af;->b:Landroid/util/SparseArray;

    if-nez v0, :cond_b

    .line 1216
    new-instance v0, Landroid/util/SparseArray;

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

    iput-object v0, p0, Lcom/cleanmaster/notification/af;->b:Landroid/util/SparseArray;

    .line 1218
    :cond_b
    iget-object v0, p0, Lcom/cleanmaster/notification/af;->b:Landroid/util/SparseArray;

    invoke-virtual {v0, p1}, Landroid/util/SparseArray;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/Runnable;

    .line 1219
    if-nez v0, :cond_2b

    .line 1220
    new-instance v0, Lcom/cleanmaster/notification/af$a;

    invoke-direct {v0, p0, p1}, Lcom/cleanmaster/notification/af$a;-><init>(Lcom/cleanmaster/notification/af;I)V

    .line 1221
    iget-object v1, p0, Lcom/cleanmaster/notification/af;->b:Landroid/util/SparseArray;

    invoke-virtual {v1, p1, v0}, Landroid/util/SparseArray;->put(ILjava/lang/Object;)V

    .line 1225
    :goto_1f
    invoke-static {}, Lcom/keniu/security/l;->e()Lcom/keniu/security/l;

    move-result-object v1

    invoke-virtual {v1}, Lcom/keniu/security/l;->l()Landroid/os/Handler;

    move-result-object v1

    invoke-virtual {v1, v0, p2, p3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    .line 1226
    return-void

    .line 1223
    :cond_2b
    invoke-static {}, Lcom/keniu/security/l;->e()Lcom/keniu/security/l;

    move-result-object v1

    invoke-virtual {v1}, Lcom/keniu/security/l;->l()Landroid/os/Handler;

    move-result-object v1

    invoke-virtual {v1, v0}, Landroid/os/Handler;->removeCallbacks(Ljava/lang/Runnable;)V

    goto :goto_1f
.end method

.method public a(Landroid/app/Notification;Lcom/cm/plugincluster/common/notification/define/NotificationModel;Z)V
    .registers 8

    .prologue
    const/4 v3, 0x0

    .line 926
    if-eqz p1, :cond_5

    if-nez p2, :cond_6

    .line 955
    :cond_5
    :goto_5
    return-void

    .line 930
    :cond_6
    invoke-static {}, Lcom/keniu/security/l;->d()Landroid/content/Context;

    move-result-object v1

    .line 932
    iget v0, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mLeftIconType:I

    const/4 v2, 0x5

    if-ne v0, v2, :cond_23

    .line 933
    iget v0, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mStatusIconResId:I

    .line 935
    :try_start_11
    invoke-virtual {v1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    invoke-virtual {v1, v0}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;
    :try_end_18
    .catch Ljava/lang/Exception; {:try_start_11 .. :try_end_18} :catch_1b

    .line 954
    :cond_18
    :goto_18
    iput v0, p1, Landroid/app/Notification;->icon:I

    goto :goto_5

    .line 936
    :catch_1b
    move-exception v0

    .line 937
    iget v0, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mLeftIconType:I

    invoke-direct {p0, v0, v3, p3}, Lcom/cleanmaster/notification/af;->a(IZZ)I

    move-result v0

    goto :goto_18

    .line 939
    :cond_23
    iget v0, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mLeftIconType:I

    const/4 v2, 0x6

    if-ne v0, v2, :cond_42

    .line 940
    iget v0, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mStatusIconResId:I

    .line 942
    :try_start_2a
    invoke-virtual {v1}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    invoke-virtual {v1, v0}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    .line 944
    iget v1, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mStatusIconLevel:I

    if-ltz v1, :cond_18

    .line 945
    iget v1, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mStatusIconLevel:I

    iput v1, p1, Landroid/app/Notification;->iconLevel:I
    :try_end_39
    .catch Ljava/lang/Exception; {:try_start_2a .. :try_end_39} :catch_3a

    goto :goto_18

    .line 947
    :catch_3a
    move-exception v0

    .line 948
    iget v0, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mLeftIconType:I

    invoke-direct {p0, v0, v3, p3}, Lcom/cleanmaster/notification/af;->a(IZZ)I

    move-result v0

    goto :goto_18

    .line 951
    :cond_42
    iget v0, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mLeftIconType:I

    invoke-direct {p0, v0, v3, p3}, Lcom/cleanmaster/notification/af;->a(IZZ)I

    move-result v0

    goto :goto_18
.end method

.method public a(Ljava/lang/String;)V
    .registers 4

    .prologue
    .line 132
    :try_start_0
    invoke-static {}, Lcom/cleanmaster/hpsharelib/base/ipc/ServiceManager;->getInstance()Lcom/cleanmaster/hpsharelib/base/ipc/ServiceManager;

    move-result-object v0

    sget-object v1, Lcom/cleanmaster/hpsharelib/synipc/ServiceDefine;->NOTIFY_STAET_MANAGER:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/cleanmaster/hpsharelib/base/ipc/ServiceManager;->getService(Ljava/lang/String;)Landroid/os/IInterface;

    move-result-object v0

    check-cast v0, Lcom/cleanmaster/hpsharelib/synipc/INotifyManager;

    .line 133
    if-eqz v0, :cond_11

    .line 134
    invoke-interface {v0, p1}, Lcom/cleanmaster/hpsharelib/synipc/INotifyManager;->updateForground(Ljava/lang/String;)V
    :try_end_11
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_11} :catch_12

    .line 139
    :cond_11
    :goto_11
    return-void

    .line 136
    :catch_12
    move-exception v0

    .line 137
    invoke-virtual {v0}, Landroid/os/RemoteException;->printStackTrace()V

    goto :goto_11
.end method

.method public a(Ljava/lang/String;Ljava/lang/String;)V
    .registers 5

    .prologue
    .line 118
    :try_start_0
    invoke-static {}, Lcom/cleanmaster/hpsharelib/base/ipc/ServiceManager;->getInstance()Lcom/cleanmaster/hpsharelib/base/ipc/ServiceManager;

    move-result-object v0

    sget-object v1, Lcom/cleanmaster/hpsharelib/synipc/ServiceDefine;->NOTIFY_STAET_MANAGER:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/cleanmaster/hpsharelib/base/ipc/ServiceManager;->getService(Ljava/lang/String;)Landroid/os/IInterface;

    move-result-object v0

    check-cast v0, Lcom/cleanmaster/hpsharelib/synipc/INotifyManager;

    .line 119
    if-eqz v0, :cond_11

    .line 120
    invoke-interface {v0, p1, p2}, Lcom/cleanmaster/hpsharelib/synipc/INotifyManager;->updateCMPkgFilterList(Ljava/lang/String;Ljava/lang/String;)V
    :try_end_11
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_11} :catch_12

    .line 125
    :cond_11
    :goto_11
    return-void

    .line 122
    :catch_12
    move-exception v0

    .line 123
    invoke-virtual {v0}, Landroid/os/RemoteException;->printStackTrace()V

    goto :goto_11
.end method

.method public a(Lcom/cm/plugincluster/common/notification/define/NotificationSetting;)Z
    .registers 5

    .prologue
    const/4 v1, 0x0

    .line 201
    iget-boolean v0, p1, Lcom/cm/plugincluster/common/notification/define/NotificationSetting;->mIsShowInPreInstall:Z

    if-nez v0, :cond_2e

    invoke-static {}, Lcom/cleanmaster/hpsharelib/base/Commons;->isInPreInstallAvoidTime()Z

    move-result v0

    if-eqz v0, :cond_2e

    .line 202
    invoke-static {}, Lcom/cleanmaster/hpsharelib/oeam/OEMConfig;->isSetOFFNotificationSetting()Z

    move-result v0

    if-eqz v0, :cond_2d

    .line 203
    iget-boolean v0, p1, Lcom/cm/plugincluster/common/notification/define/NotificationSetting;->mIsUserAllow:Z

    if-nez v0, :cond_2e

    .line 208
    new-instance v0, Ljava/lang/StringBuilder;

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

    const-string v2, "Block notification id: "

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget v2, p1, Lcom/cm/plugincluster/common/notification/define/NotificationSetting;->mNotifyId:I

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/cleanmaster/hpsharelib/utils/CMLogWrapper;->commonLog(Ljava/lang/String;)V

    .line 232
    :cond_2d
    :goto_2d
    return v1

    .line 216
    :cond_2e
    invoke-static {}, Lcom/keniu/security/l;->d()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/cleanmaster/notification/af;->a(Landroid/content/Context;)Z

    move-result v0

    if-eqz v0, :cond_2d

    .line 221
    :try_start_38
    invoke-static {}, Lcom/cleanmaster/hpsharelib/base/ipc/ServiceManager;->getInstance()Lcom/cleanmaster/hpsharelib/base/ipc/ServiceManager;

    move-result-object v0

    sget-object v2, Lcom/cleanmaster/hpsharelib/synipc/ServiceDefine;->NOTIFY_STAET_MANAGER:Ljava/lang/String;

    invoke-virtual {v0, v2}, Lcom/cleanmaster/hpsharelib/base/ipc/ServiceManager;->getService(Ljava/lang/String;)Landroid/os/IInterface;

    move-result-object v0

    check-cast v0, Lcom/cleanmaster/hpsharelib/synipc/INotifyManager;

    .line 222
    if-eqz v0, :cond_50

    .line 223
    invoke-interface {v0, p1}, Lcom/cleanmaster/hpsharelib/synipc/INotifyManager;->checkNotifyCanShow(Lcom/cm/plugincluster/common/notification/define/NotificationSetting;)Z
    :try_end_49
    .catch Landroid/os/RemoteException; {:try_start_38 .. :try_end_49} :catch_4c

    move-result v0

    :goto_4a
    move v1, v0

    .line 232
    goto :goto_2d

    .line 229
    :catch_4c
    move-exception v0

    .line 230
    invoke-virtual {v0}, Landroid/os/RemoteException;->printStackTrace()V

    :cond_50
    move v0, v1

    goto :goto_4a
.end method

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

    .prologue
    const/4 v1, 0x1

    const/4 v0, 0x0

    .line 589
    if-eqz p1, :cond_e

    if-eqz p2, :cond_e

    iget-object v2, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mIntent:Landroid/content/Intent;

    if-nez v2, :cond_f

    iget-object v2, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mPendingIntent:Landroid/app/PendingIntent;

    if-nez v2, :cond_f

    .line 620
    :cond_e
    :goto_e
    return v0

    .line 593
    :cond_f
    invoke-virtual {p0}, Lcom/cleanmaster/notification/af;->b()Ljava/lang/String;

    move-result-object v2

    invoke-static {p1, v2}, Lcom/cleanmaster/notification/af;->a(Lcom/cm/plugincluster/common/notification/define/NotificationSetting;Ljava/lang/String;)Z

    move-result v2

    .line 594
    if-nez v2, :cond_e

    .line 598
    invoke-direct {p0, p1}, Lcom/cleanmaster/notification/af;->f(Lcom/cm/plugincluster/common/notification/define/NotificationSetting;)Z

    move-result v2

    if-nez v2, :cond_25

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

    move-result v2

    if-eqz v2, :cond_e

    .line 603
    :cond_25
    iget v0, p1, Lcom/cm/plugincluster/common/notification/define/NotificationSetting;->mUiType:I

    if-ne v0, v1, :cond_4b

    .line 605
    iget-object v0, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mIntent:Landroid/content/Intent;

    if-eqz v0, :cond_34

    .line 606
    iget-object v0, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mIntent:Landroid/content/Intent;

    const-string v2, "notify_style_type"

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

    .line 609
    :cond_34
    invoke-direct {p0, p1, p2}, Lcom/cleanmaster/notification/af;->e(Lcom/cm/plugincluster/common/notification/define/NotificationSetting;Lcom/cm/plugincluster/common/notification/define/NotificationModel;)V

    .line 610
    invoke-direct {p0, p1, p2}, Lcom/cleanmaster/notification/af;->c(Lcom/cm/plugincluster/common/notification/define/NotificationSetting;Lcom/cm/plugincluster/common/notification/define/NotificationModel;)V

    .line 617
    :goto_3a
    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v2, 0x18

    if-ge v0, v2, :cond_49

    .line 618
    iget v0, p1, Lcom/cm/plugincluster/common/notification/define/NotificationSetting;->mUniqueId:I

    invoke-virtual {p0}, Lcom/cleanmaster/notification/af;->b()Ljava/lang/String;

    move-result-object v2

    invoke-static {p1, p2, v0, v2}, Lcom/cleanmaster/notification/popup/a;->a(Lcom/cm/plugincluster/common/notification/define/NotificationSetting;Lcom/cm/plugincluster/common/notification/define/NotificationModel;ILjava/lang/String;)V

    :cond_49
    move v0, v1

    .line 620
    goto :goto_e

    .line 613
    :cond_4b
    invoke-virtual {p0, 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

    .line 614
    invoke-direct {p0, p1, p2, v0}, Lcom/cleanmaster/notification/af;->c(Lcom/cm/plugincluster/common/notification/define/NotificationSetting;Lcom/cm/plugincluster/common/notification/define/NotificationModel;Landroid/widget/RemoteViews;)V

    goto :goto_3a
.end method

.method public a(Lcom/cm/plugincluster/common/notification/define/NotificationSetting;Lcom/cm/plugincluster/common/notification/define/NotificationModel;Landroid/widget/RemoteViews;)Z
    .registers 6

    .prologue
    const/4 v0, 0x0

    .line 370
    if-eqz p1, :cond_d

    if-eqz p2, :cond_d

    iget-object v1, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mIntent:Landroid/content/Intent;

    if-nez v1, :cond_e

    iget-object v1, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mPendingIntent:Landroid/app/PendingIntent;

    if-nez v1, :cond_e

    .line 378
    :cond_d
    :goto_d
    return v0

    .line 373
    :cond_e
    invoke-virtual {p0, p1}, Lcom/cleanmaster/notification/af;->a(Lcom/cm/plugincluster/common/notification/define/NotificationSetting;)Z

    move-result v1

    if-eqz v1, :cond_d

    .line 377
    invoke-direct {p0, p1, p2, p3}, Lcom/cleanmaster/notification/af;->c(Lcom/cm/plugincluster/common/notification/define/NotificationSetting;Lcom/cm/plugincluster/common/notification/define/NotificationModel;Landroid/widget/RemoteViews;)V

    .line 378
    const/4 v0, 0x1

    goto :goto_d
.end method

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

    .prologue
    .line 624
    invoke-direct {p0}, Lcom/cleanmaster/notification/af;->e()Landroid/widget/RemoteViews;

    move-result-object v0

    .line 625
    invoke-direct {p0, v0, p2, p1}, Lcom/cleanmaster/notification/af;->a(Landroid/widget/RemoteViews;Lcom/cm/plugincluster/common/notification/define/NotificationModel;Lcom/cm/plugincluster/common/notification/define/NotificationSetting;)Landroid/widget/RemoteViews;

    move-result-object v0

    .line 626
    return-object v0
.end method

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

    .prologue
    .line 145
    const-string v1, ""

    .line 147
    :try_start_2
    invoke-static {}, Lcom/cleanmaster/hpsharelib/base/ipc/ServiceManager;->getInstance()Lcom/cleanmaster/hpsharelib/base/ipc/ServiceManager;

    move-result-object v0

    sget-object v2, Lcom/cleanmaster/hpsharelib/synipc/ServiceDefine;->NOTIFY_STAET_MANAGER:Ljava/lang/String;

    invoke-virtual {v0, v2}, Lcom/cleanmaster/hpsharelib/base/ipc/ServiceManager;->getService(Ljava/lang/String;)Landroid/os/IInterface;

    move-result-object v0

    check-cast v0, Lcom/cleanmaster/hpsharelib/synipc/INotifyManager;

    .line 148
    if-eqz v0, :cond_19

    .line 149
    invoke-interface {v0}, Lcom/cleanmaster/hpsharelib/synipc/INotifyManager;->getForground()Ljava/lang/String;
    :try_end_13
    .catch Landroid/os/RemoteException; {:try_start_2 .. :try_end_13} :catch_15

    move-result-object v0

    .line 154
    :goto_14
    return-object v0

    .line 151
    :catch_15
    move-exception v0

    .line 152
    invoke-virtual {v0}, Landroid/os/RemoteException;->printStackTrace()V

    :cond_19
    move-object v0, v1

    goto :goto_14
.end method

.method public b(I)V
    .registers 4

    .prologue
    .line 290
    :try_start_0
    invoke-static {}, Lcom/cleanmaster/hpsharelib/base/ipc/ServiceManager;->getInstance()Lcom/cleanmaster/hpsharelib/base/ipc/ServiceManager;

    move-result-object v0

    sget-object v1, Lcom/cleanmaster/hpsharelib/synipc/ServiceDefine;->NOTIFY_STAET_MANAGER:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/cleanmaster/hpsharelib/base/ipc/ServiceManager;->getService(Ljava/lang/String;)Landroid/os/IInterface;

    move-result-object v0

    check-cast v0, Lcom/cleanmaster/hpsharelib/synipc/INotifyManager;

    .line 291
    if-eqz v0, :cond_11

    .line 292
    invoke-interface {v0, p1}, Lcom/cleanmaster/hpsharelib/synipc/INotifyManager;->cancelNotification(I)V
    :try_end_11
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_11} :catch_12

    .line 298
    :cond_11
    :goto_11
    return-void

    .line 295
    :catch_12
    move-exception v0

    .line 296
    invoke-virtual {v0}, Landroid/os/RemoteException;->printStackTrace()V

    goto :goto_11
.end method

.method public b(Lcom/cm/plugincluster/common/notification/define/NotificationSetting;Lcom/cm/plugincluster/common/notification/define/NotificationModel;Landroid/widget/RemoteViews;)Z
    .registers 6

    .prologue
    const/4 v0, 0x0

    .line 436
    if-eqz p1, :cond_d

    if-eqz p2, :cond_d

    iget-object v1, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mIntent:Landroid/content/Intent;

    if-nez v1, :cond_e

    iget-object v1, p2, Lcom/cm/plugincluster/common/notification/define/NotificationModel;->mPendingIntent:Landroid/app/PendingIntent;

    if-nez v1, :cond_e

    .line 444
    :cond_d
    :goto_d
    return v0

    .line 439
    :cond_e
    invoke-virtual {p0, p1}, Lcom/cleanmaster/notification/af;->a(Lcom/cm/plugincluster/common/notification/define/NotificationSetting;)Z

    move-result v1

    if-eqz v1, :cond_d

    .line 443
    invoke-direct {p0, p1, p2, p3}, Lcom/cleanmaster/notification/af;->d(Lcom/cm/plugincluster/common/notification/define/NotificationSetting;Lcom/cm/plugincluster/common/notification/define/NotificationModel;Landroid/widget/RemoteViews;)V

    .line 444
    const/4 v0, 0x1

    goto :goto_d
.end method

.method public c(I)V
    .registers 4

    .prologue
    .line 323
    :try_start_0
    invoke-static {}, Lcom/cleanmaster/hpsharelib/base/ipc/ServiceManager;->getInstance()Lcom/cleanmaster/hpsharelib/base/ipc/ServiceManager;

    move-result-object v0

    sget-object v1, Lcom/cleanmaster/hpsharelib/synipc/ServiceDefine;->NOTIFY_STAET_MANAGER:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/cleanmaster/hpsharelib/base/ipc/ServiceManager;->getService(Ljava/lang/String;)Landroid/os/IInterface;

    move-result-object v0

    check-cast v0, Lcom/cleanmaster/hpsharelib/synipc/INotifyManager;

    .line 324
    if-eqz v0, :cond_11

    .line 325
    invoke-interface {v0, p1}, Lcom/cleanmaster/hpsharelib/synipc/INotifyManager;->clickNotification(I)V
    :try_end_11
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_11} :catch_12

    .line 330
    :cond_11
    :goto_11
    return-void

    .line 327
    :catch_12
    move-exception v0

    .line 328
    invoke-virtual {v0}, Landroid/os/RemoteException;->printStackTrace()V

    goto :goto_11
.end method

.method public d()V
    .registers 3

    .prologue
    .line 502
    :try_start_0
    invoke-static {}, Lcom/cleanmaster/hpsharelib/base/ipc/ServiceManager;->getInstance()Lcom/cleanmaster/hpsharelib/base/ipc/ServiceManager;

    move-result-object v0

    sget-object v1, Lcom/cleanmaster/hpsharelib/synipc/ServiceDefine;->NOTIFY_STAET_MANAGER:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/cleanmaster/hpsharelib/base/ipc/ServiceManager;->getService(Ljava/lang/String;)Landroid/os/IInterface;

    move-result-object v0

    check-cast v0, Lcom/cleanmaster/hpsharelib/synipc/INotifyManager;

    .line 503
    if-eqz v0, :cond_11

    .line 504
    invoke-interface {v0}, Lcom/cleanmaster/hpsharelib/synipc/INotifyManager;->triggerWhenUnlocked()Z
    :try_end_11
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_11} :catch_12

    .line 509
    :cond_11
    :goto_11
    return-void

    .line 506
    :catch_12
    move-exception v0

    .line 507
    invoke-virtual {v0}, Landroid/os/RemoteException;->printStackTrace()V

    goto :goto_11
.end method

.method public d(I)Z
    .registers 4

    .prologue
    .line 1197
    :try_start_0
    invoke-static {}, Lcom/cleanmaster/hpsharelib/base/ipc/ServiceManager;->getInstance()Lcom/cleanmaster/hpsharelib/base/ipc/ServiceManager;

    move-result-object v0

    sget-object v1, Lcom/cleanmaster/hpsharelib/synipc/ServiceDefine;->NOTIFY_STAET_MANAGER:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/cleanmaster/hpsharelib/base/ipc/ServiceManager;->getService(Ljava/lang/String;)Landroid/os/IInterface;

    move-result-object v0

    check-cast v0, Lcom/cleanmaster/hpsharelib/synipc/INotifyManager;

    .line 1198
    if-eqz v0, :cond_17

    .line 1199
    invoke-interface {v0, p1}, Lcom/cleanmaster/hpsharelib/synipc/INotifyManager;->isNotificationShowing(I)Z
    :try_end_11
    .catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_11} :catch_13

    move-result v0

    .line 1205
    :goto_12
    return v0

    .line 1202
    :catch_13
    move-exception v0

    .line 1203
    invoke-virtual {v0}, Landroid/os/RemoteException;->printStackTrace()V

    .line 1205
    :cond_17
    const/4 v0, 0x0

    goto :goto_12
.end method

.method public e(I)V
    .registers 4

    .prologue
    .line 1234
    iget-object v0, p0, Lcom/cleanmaster/notification/af;->b:Landroid/util/SparseArray;

    if-eqz v0, :cond_1e

    .line 1235
    iget-object v0, p0, Lcom/cleanmaster/notification/af;->b:Landroid/util/SparseArray;

    invoke-virtual {v0, p1}, Landroid/util/SparseArray;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/Runnable;

    .line 1236
    if-eqz v0, :cond_1e

    .line 1237
    invoke-static {}, Lcom/keniu/security/l;->e()Lcom/keniu/security/l;

    move-result-object v1

    invoke-virtual {v1}, Lcom/keniu/security/l;->l()Landroid/os/Handler;

    move-result-object v1

    invoke-virtual {v1, v0}, Landroid/os/Handler;->removeCallbacks(Ljava/lang/Runnable;)V

    .line 1238
    iget-object v0, p0, Lcom/cleanmaster/notification/af;->b:Landroid/util/SparseArray;

    invoke-virtual {v0, p1}, Landroid/util/SparseArray;->remove(I)V

    .line 1241
    :cond_1e
    return-void
.end method