62 lines
1.6 KiB
Smali
62 lines
1.6 KiB
Smali
.class public Lcom/ea/nimble/NimbleLocalNotifications;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# static fields
|
|
.field public static final COMPONENT_ID:Ljava/lang/String; = "com.ea.nimble.base.localNotifications"
|
|
|
|
.field public static final DEEP_LINK_URL:Ljava/lang/String; = "deepLinkUrl"
|
|
|
|
.field static final KEY_NOTIFICATION_ID:Ljava/lang/String; = "pushId"
|
|
|
|
.field static final KEY_NOTIFICATION_PN_TYPE:Ljava/lang/String; = "pnType"
|
|
|
|
.field static final NOTIFICATION_TYPE_LOCAL:Ljava/lang/String; = "local"
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 9
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static getComponent()Lcom/ea/nimble/INimbleLocalNotifications;
|
|
.locals 1
|
|
|
|
const-string v0, "com.ea.nimble.base.localNotifications"
|
|
|
|
.line 29
|
|
invoke-static {v0}, Lcom/ea/nimble/Base;->getComponent(Ljava/lang/String;)Lcom/ea/nimble/Component;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Lcom/ea/nimble/INimbleLocalNotifications;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private static initialize()V
|
|
.locals 2
|
|
|
|
const-string v0, "LocalNotification"
|
|
|
|
.line 22
|
|
invoke-static {v0}, Lcom/ea/nimble/Log$Helper;->LOGFUNCS(Ljava/lang/String;)V
|
|
|
|
.line 23
|
|
new-instance v0, Lcom/ea/nimble/NimbleLocalNotificationsImpl;
|
|
|
|
invoke-direct {v0}, Lcom/ea/nimble/NimbleLocalNotificationsImpl;-><init>()V
|
|
|
|
const-string v1, "com.ea.nimble.base.localNotifications"
|
|
|
|
invoke-static {v0, v1}, Lcom/ea/nimble/Base;->registerComponent(Lcom/ea/nimble/Component;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|