Files
rr3-apk/decompiled/sources/com/firemint/realracing/RRPushTNGIntentService.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

33 lines
1.4 KiB
Java

package com.firemint.realracing;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import androidx.core.app.NotificationCompat;
import com.ea.nimble.pushtng.NimblePushTNGIntentService;
/* loaded from: classes2.dex */
public class RRPushTNGIntentService extends NimblePushTNGIntentService {
@Override // com.ea.nimble.pushtng.NimblePushTNGIntentService, com.ea.eadp.pushnotification.forwarding.FCMMessageService
public void customizeNotification(NotificationCompat.Builder builder, Bundle bundle) {
Context applicationContext = getApplicationContext();
if (applicationContext == null) {
return;
}
builder.setColor(applicationContext.getResources().getColor(R.color.NotificationColor));
Intent intent = new Intent(this, (Class<?>) UnpackAssetsActivity.class);
intent.putExtras(bundle);
builder.setContentIntent(PendingIntent.getActivity(this, 0, intent, 335544320));
if (MainActivity.IsAtLeastAPI(26)) {
builder.setChannelId(applicationContext.getString(R.string.NOTIFICATION_CHANNEL_GENERAL_ID));
}
super.customizeNotification(builder, bundle);
}
@Override // com.ea.nimble.pushtng.NimblePushTNGIntentService, com.ea.eadp.pushnotification.forwarding.FCMMessageService
public boolean isInForeground() {
return Platform.IsInForeground();
}
}