- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
28 lines
1.1 KiB
Java
28 lines
1.1 KiB
Java
package com.google.firebase.messaging;
|
|
|
|
import android.os.Bundle;
|
|
import androidx.collection.ArrayMap;
|
|
import com.ea.eadp.pushnotification.forwarding.FCMMessageService;
|
|
import java.util.concurrent.TimeUnit;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public abstract class Constants {
|
|
public static final long WAKE_LOCK_ACQUIRE_TIMEOUT_MILLIS = TimeUnit.MINUTES.toMillis(3);
|
|
|
|
public static final class MessagePayloadKeys {
|
|
public static ArrayMap extractDeveloperDefinedPayload(Bundle bundle) {
|
|
ArrayMap arrayMap = new ArrayMap();
|
|
for (String str : bundle.keySet()) {
|
|
Object obj = bundle.get(str);
|
|
if (obj instanceof String) {
|
|
String str2 = (String) obj;
|
|
if (!str.startsWith("google.") && !str.startsWith("gcm.") && !str.equals("from") && !str.equals("message_type") && !str.equals(FCMMessageService.PushIntentExtraKeys.COLLAPSE_KEY)) {
|
|
arrayMap.put(str, str2);
|
|
}
|
|
}
|
|
}
|
|
return arrayMap;
|
|
}
|
|
}
|
|
}
|