NotificationManagerWrapper.smali
.class public Lcom/cleanmaster/hpsharelib/notification/NotificationManagerWrapper;
.super Ljava/lang/Object;
.source "NotificationManagerWrapper.java"
# static fields
.field public static final NOTIFICATION_CM_CLOUD_PERMANENT_NOTIFYID:I = 0x4010
.field public static final NOTIFICATION_CM_CLOUD_TASK_AUTO_BACKUP_GUIDE:I = 0x4005
.field public static final NOTIFICATION_CM_CLOUD_TASK_AUTO_BACKUP_LACK_SPACE:I = 0x4004
.field public static final NOTIFICATION_CM_CLOUD_TASK_AUTO_BACKUP_REPORT:I = 0x4003
.field public static final NOTIFICATION_CM_CLOUD_TASK_BACKUP:I = 0x4001
.field public static final NOTIFICATION_CM_CLOUD_TASK_NOTIFYID:I = 0x4020
.field public static final NOTIFICATION_CM_CLOUD_TASK_RESTORE:I = 0x4002
.field public static final NOTIFICATION_PERMANENT_NOTIFYID:I = 0x3001
.field public static final NOTIFICATION_SAVEPOWER_NOTIFYID:I = 0x4021
.field public static final NOTIFICATION_SERVICE_FORGROUND_FLOATSERVICE:I = 0x1001
.field public static final NOTIFICATION_SERVICE_FORGROUND_PCCONNECTION:I = 0x1002
.field public static final NOTIFICATION_TOOL_NOTIFYID:I = 0x3002
# direct methods
.method public constructor <init>()V
.registers 1
.prologue
.line 17
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static cancelNotification(I)V
.registers 5
.prologue
.line 44
const v0, 0x100080
const/4 v1, 0x1
new-array v1, v1, [Ljava/lang/Object;
const/4 v2, 0x0
invoke-static {p0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v3
aput-object v3, v1, v2
invoke-static {v0, v1}, Lcom/cm/plugincluster/spec/CommanderManager;->invokeCommandExpNull(I[Ljava/lang/Object;)Ljava/lang/Object;
.line 45
return-void
.end method
.method public static postRemoveNotifyTaskDelayed(IJ)V
.registers 8
.prologue
.line 69
const v0, 0x1000a6
const/4 v1, 0x2
new-array v1, v1, [Ljava/lang/Object;
const/4 v2, 0x0
invoke-static {p0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v3
aput-object v3, v1, v2
const/4 v2, 0x1
invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object v3
aput-object v3, v1, v2
invoke-static {v0, v1}, Lcom/cm/plugincluster/spec/CommanderManager;->invokeCommandExpNull(I[Ljava/lang/Object;)Ljava/lang/Object;
.line 70
return-void
.end method
.method public static sendBigNotification(Lcom/cm/plugincluster/common/notification/define/NotificationSetting;Lcom/cm/plugincluster/common/notification/define/NotificationModel;)Z
.registers 6
.prologue
const/4 v3, 0x0
.line 40
invoke-static {v3}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object v0
const v1, 0x10002d
const/4 v2, 0x2
new-array v2, v2, [Ljava/lang/Object;
aput-object p0, v2, v3
const/4 v3, 0x1
aput-object p1, v2, v3
invoke-static {v0, v1, v2}, Lcom/cm/plugincluster/spec/CommanderManager;->invokeCommandExpDefault(Ljava/lang/Object;I[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/Boolean;
invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z
move-result v0
return v0
.end method
.method public static sendNotification(Lcom/cm/plugincluster/common/notification/define/NotificationSetting;Lcom/cm/plugincluster/common/notification/define/NotificationModel;)Z
.registers 6
.prologue
const/4 v3, 0x0
.line 36
invoke-static {v3}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object v0
const v1, 0x10001d
const/4 v2, 0x2
new-array v2, v2, [Ljava/lang/Object;
aput-object p0, v2, v3
const/4 v3, 0x1
aput-object p1, v2, v3
invoke-static {v0, v1, v2}, Lcom/cm/plugincluster/spec/CommanderManager;->invokeCommandExpDefault(Ljava/lang/Object;I[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/Boolean;
invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z
move-result v0
return v0
.end method
.method public static setNotificationClick(I)V
.registers 3
.prologue
.line 58
: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 59
if-eqz v0, :cond_11
.line 60
invoke-interface {v0, p0}, Lcom/cleanmaster/hpsharelib/synipc/INotifyManager;->clickNotification(I)V
:try_end_11
.catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_11} :catch_12
.line 66
:cond_11
:goto_11
return-void
.line 63
:catch_12
move-exception v0
.line 64
invoke-virtual {v0}, Landroid/os/RemoteException;->printStackTrace()V
goto :goto_11
.end method
.method public static showNewsNotification(Lcom/cm/plugincluster/common/notification/define/NotificationSetting;Lcom/cm/plugincluster/common/notification/define/NotificationModel;Ljava/lang/String;Landroid/graphics/Bitmap;)Z
.registers 8
.prologue
const/4 v3, 0x0
.line 48
invoke-static {v3}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object v0
const v1, 0x10008d
const/4 v2, 0x4
new-array v2, v2, [Ljava/lang/Object;
aput-object p0, v2, v3
const/4 v3, 0x1
aput-object p1, v2, v3
const/4 v3, 0x2
aput-object p2, v2, v3
const/4 v3, 0x3
aput-object p3, v2, v3
invoke-static {v0, v1, v2}, Lcom/cm/plugincluster/spec/CommanderManager;->invokeCommandExpDefault(Ljava/lang/Object;I[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/Boolean;
invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z
move-result v0
return v0
.end method
.method public static tryNotificationRes()Z
.registers 3
.prologue
const/4 v2, 0x0
.line 32
invoke-static {v2}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object v0
const v1, 0x10001c
new-array v2, v2, [Ljava/lang/Object;
invoke-static {v0, v1, v2}, Lcom/cm/plugincluster/spec/CommanderManager;->invokeCommandExpDefault(Ljava/lang/Object;I[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/Boolean;
invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z
move-result v0
return v0
.end method
.method public static updateCMPkgFilterList(Ljava/lang/String;Ljava/lang/String;)V
.registers 4
.prologue
.line 77
: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 78
if-eqz v0, :cond_11
.line 79
invoke-interface {v0, p0, p1}, 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 84
:cond_11
:goto_11
return-void
.line 81
:catch_12
move-exception v0
.line 82
invoke-virtual {v0}, Landroid/os/RemoteException;->printStackTrace()V
goto :goto_11
.end method