2020-05-17 12:40:10 +00:00
|
|
|
.class public final Lcom/discord/workers/MessageSendWorker$b;
|
2020-09-02 04:07:20 +00:00
|
|
|
.super Lk0/o/c/j;
|
2020-05-17 12:40:10 +00:00
|
|
|
.source "MessageSendWorker.kt"
|
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Lkotlin/jvm/functions/Function1;
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
|
|
value = Lcom/discord/workers/MessageSendWorker;->doWork()Landroidx/work/ListenableWorker$Result;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x19
|
|
|
|
name = null
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2020-09-02 04:07:20 +00:00
|
|
|
"Lk0/o/c/j;",
|
2020-05-17 12:40:10 +00:00
|
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
|
|
"Ljava/lang/Integer;",
|
|
|
|
"Lkotlin/Unit;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public final synthetic $channelId:J
|
|
|
|
|
|
|
|
.field public final synthetic $channelName:Ljava/lang/String;
|
|
|
|
|
|
|
|
.field public final synthetic this$0:Lcom/discord/workers/MessageSendWorker;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(Lcom/discord/workers/MessageSendWorker;JLjava/lang/String;)V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
iput-object p1, p0, Lcom/discord/workers/MessageSendWorker$b;->this$0:Lcom/discord/workers/MessageSendWorker;
|
|
|
|
|
|
|
|
iput-wide p2, p0, Lcom/discord/workers/MessageSendWorker$b;->$channelId:J
|
|
|
|
|
|
|
|
iput-object p4, p0, Lcom/discord/workers/MessageSendWorker$b;->$channelName:Ljava/lang/String;
|
|
|
|
|
|
|
|
const/4 p1, 0x1
|
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
invoke-direct {p0, p1}, Lk0/o/c/j;-><init>(I)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2020-07-08 16:44:49 +00:00
|
|
|
.method public invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.locals 7
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
check-cast p1, Ljava/lang/Number;
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Number;->intValue()I
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
move-result v6
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
sget-object v0, Lcom/discord/utilities/fcm/NotificationRenderer;->INSTANCE:Lcom/discord/utilities/fcm/NotificationRenderer;
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
iget-object p1, p0, Lcom/discord/workers/MessageSendWorker$b;->this$0:Lcom/discord/workers/MessageSendWorker;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
invoke-virtual {p1}, Landroidx/work/ListenableWorker;->getApplicationContext()Landroid/content/Context;
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
const-string p1, "applicationContext"
|
2020-05-17 12:40:10 +00:00
|
|
|
|
2020-09-02 04:07:20 +00:00
|
|
|
invoke-static {v1, p1}, Lk0/o/c/i;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
2020-05-17 12:40:10 +00:00
|
|
|
|
|
|
|
iget-wide v2, p0, Lcom/discord/workers/MessageSendWorker$b;->$channelId:J
|
|
|
|
|
|
|
|
iget-object v4, p0, Lcom/discord/workers/MessageSendWorker$b;->$channelName:Ljava/lang/String;
|
|
|
|
|
|
|
|
const/4 v5, 0x0
|
|
|
|
|
|
|
|
invoke-virtual/range {v0 .. v6}, Lcom/discord/utilities/fcm/NotificationRenderer;->displaySent(Landroid/content/Context;JLjava/lang/CharSequence;ZI)V
|
|
|
|
|
2020-07-08 16:44:49 +00:00
|
|
|
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
|
|
|
|
|
|
|
|
return-object p1
|
2020-05-17 12:40:10 +00:00
|
|
|
.end method
|