Files
rr3-apk/decompiled-community/sources/com/firemint/realracing/RRPushTNGIntentService.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

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();
}
}