86 lines
2.3 KiB
Smali
86 lines
2.3 KiB
Smali
.class public final Lcom/discord/utilities/fcm/NotificationClient$init$3;
|
|
.super Ljava/lang/Object;
|
|
.source "NotificationClient.kt"
|
|
|
|
# interfaces
|
|
.implements Lf/h/a/d/o/e;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/discord/utilities/fcm/NotificationClient;->init(Landroid/app/Application;)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<TResult:",
|
|
"Ljava/lang/Object;",
|
|
">",
|
|
"Ljava/lang/Object;",
|
|
"Lf/h/a/d/o/e<",
|
|
"Lcom/google/firebase/iid/InstanceIdResult;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final INSTANCE:Lcom/discord/utilities/fcm/NotificationClient$init$3;
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
new-instance v0, Lcom/discord/utilities/fcm/NotificationClient$init$3;
|
|
|
|
invoke-direct {v0}, Lcom/discord/utilities/fcm/NotificationClient$init$3;-><init>()V
|
|
|
|
sput-object v0, Lcom/discord/utilities/fcm/NotificationClient$init$3;->INSTANCE:Lcom/discord/utilities/fcm/NotificationClient$init$3;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final onSuccess(Lcom/google/firebase/iid/InstanceIdResult;)V
|
|
.locals 2
|
|
|
|
sget-object v0, Lcom/discord/utilities/fcm/NotificationClient;->INSTANCE:Lcom/discord/utilities/fcm/NotificationClient;
|
|
|
|
const-string v1, "it"
|
|
|
|
invoke-static {p1, v1}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-interface {p1}, Lcom/google/firebase/iid/InstanceIdResult;->a()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {v0, p1}, Lcom/discord/utilities/fcm/NotificationClient;->onNewToken(Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public bridge synthetic onSuccess(Ljava/lang/Object;)V
|
|
.locals 0
|
|
|
|
check-cast p1, Lcom/google/firebase/iid/InstanceIdResult;
|
|
|
|
invoke-virtual {p0, p1}, Lcom/discord/utilities/fcm/NotificationClient$init$3;->onSuccess(Lcom/google/firebase/iid/InstanceIdResult;)V
|
|
|
|
return-void
|
|
.end method
|