223 lines
5.6 KiB
Smali
223 lines
5.6 KiB
Smali
.class public final Lcom/google/firebase/messaging/Constants$MessagePayloadKeys;
|
|
.super Ljava/lang/Object;
|
|
.source "com.google.firebase:firebase-messaging@@23.0.0"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/google/firebase/messaging/Constants;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "MessagePayloadKeys"
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final COLLAPSE_KEY:Ljava/lang/String; = "collapse_key"
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final DELIVERED_PRIORITY:Ljava/lang/String; = "google.delivered_priority"
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final FROM:Ljava/lang/String; = "from"
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final MESSAGE_TYPE:Ljava/lang/String; = "message_type"
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final MSGID:Ljava/lang/String; = "google.message_id"
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final MSGID_SERVER:Ljava/lang/String; = "message_id"
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final ORIGINAL_PRIORITY:Ljava/lang/String; = "google.original_priority"
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final PRIORITY_REDUCED_V19:Ljava/lang/String; = "google.priority_reduced"
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final PRIORITY_V19:Ljava/lang/String; = "google.priority"
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final RAW_DATA:Ljava/lang/String; = "rawData"
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final RESERVED_CLIENT_LIB_PREFIX:Ljava/lang/String; = "google.c."
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final RESERVED_PREFIX:Ljava/lang/String; = "google."
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final SENDER_ID:Ljava/lang/String; = "google.c.sender.id"
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final SENT_TIME:Ljava/lang/String; = "google.sent_time"
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final TO:Ljava/lang/String; = "google.to"
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final TTL:Ljava/lang/String; = "google.ttl"
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method private constructor <init>()V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static extractDeveloperDefinedPayload(Landroid/os/Bundle;)Landroidx/collection/a;
|
|
.locals 5
|
|
.param p0 # Landroid/os/Bundle;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Landroid/os/Bundle;",
|
|
")",
|
|
"Landroidx/collection/a<",
|
|
"Ljava/lang/String;",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
new-instance v0, Landroidx/collection/a;
|
|
|
|
invoke-direct {v0}, Landroidx/collection/a;-><init>()V
|
|
|
|
.line 2
|
|
invoke-virtual {p0}, Landroid/os/Bundle;->keySet()Ljava/util/Set;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-interface {v1}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object v1
|
|
|
|
:cond_0
|
|
:goto_0
|
|
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast v2, Ljava/lang/String;
|
|
|
|
.line 3
|
|
invoke-virtual {p0, v2}, Landroid/os/Bundle;->get(Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
.line 4
|
|
instance-of v4, v3, Ljava/lang/String;
|
|
|
|
if-eqz v4, :cond_0
|
|
|
|
.line 5
|
|
check-cast v3, Ljava/lang/String;
|
|
|
|
const-string v4, "google."
|
|
|
|
.line 6
|
|
invoke-virtual {v2, v4}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
|
|
|
|
move-result v4
|
|
|
|
if-nez v4, :cond_0
|
|
|
|
const-string v4, "gcm."
|
|
|
|
.line 7
|
|
invoke-virtual {v2, v4}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
|
|
|
|
move-result v4
|
|
|
|
if-nez v4, :cond_0
|
|
|
|
const-string v4, "from"
|
|
|
|
.line 8
|
|
invoke-virtual {v2, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v4
|
|
|
|
if-nez v4, :cond_0
|
|
|
|
const-string v4, "message_type"
|
|
|
|
.line 9
|
|
invoke-virtual {v2, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v4
|
|
|
|
if-nez v4, :cond_0
|
|
|
|
const-string v4, "collapse_key"
|
|
|
|
.line 10
|
|
invoke-virtual {v2, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v4
|
|
|
|
if-nez v4, :cond_0
|
|
|
|
.line 11
|
|
invoke-virtual {v0, v2, v3}, Landroidx/collection/l;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return-object v0
|
|
.end method
|