Files
rr3-apk/decompiled-community/sources/com/ea/eadp/pushnotification/forwarding/FCMMessageReceiver.java
Daniel Elliott c080f0d97f Add Discord community version (64-bit only)
- Added realracing3-community.apk (71.57 MB)
- Removed 32-bit support (armeabi-v7a)
- Only includes arm64-v8a libraries
- Decompiled source code included
- Added README-community.md with analysis
2026-02-18 15:48:36 -08:00

31 lines
1.2 KiB
Java

package com.ea.eadp.pushnotification.forwarding;
import android.content.ComponentName;
import android.content.Intent;
import com.ea.nimble.ApplicationEnvironment;
import com.ea.nimble.pushtng.PushNotification;
import com.google.firebase.messaging.FirebaseMessagingService;
import com.google.firebase.messaging.RemoteMessage;
/* loaded from: classes2.dex */
public class FCMMessageReceiver extends FirebaseMessagingService {
@Override // com.google.firebase.messaging.FirebaseMessagingService
public final void onMessageReceived(RemoteMessage remoteMessage) {
ComponentName componentName = new ComponentName(getApplicationContext().getPackageName(), getIntentServiceName());
Intent intent = remoteMessage.toIntent();
intent.setComponent(componentName);
FCMMessageService.enqueueWork(getApplicationContext(), getIntentServiceName(), intent);
}
@Override // com.google.firebase.messaging.FirebaseMessagingService
public final void onNewToken(String str) {
if (ApplicationEnvironment.isMainApplicationActive()) {
PushNotification.getComponent().updateToken(str);
}
}
public String getIntentServiceName() {
return FCMMessageService.class.getName();
}
}