Source:
<code>private void showNotification(ItineraryDescription description, int title, int message, Class<? extends Activity> notificationTarget, Bundle params, List<Itinerary> itineraries) { String titleText = getResources().getString(title); String messageText = getResources().getString(message); Intent openIntent = new Intent(getApplicationContext(), notificationTarget); openIntent.putExtras(params); openIntent.putExtra(OTPConstants.INTENT_SOURCE, OTPConstants.Source.NOTIFICATION); openIntent.putExtra(OTPConstants.ITINERARIES, (ArrayList<Itinerary>) itineraries); openIntent.setFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP); PendingIntent openPendingIntent = PendingIntent .getActivity(getApplicationContext(), 0, openIntent, PendingIntent.FLAG_CANCEL_CURRENT); NotificationCompat.Builder mBuilder = <START> new NotificationCompat.Builder(getApplicationContext(),Application.CHANNEL_REALTIME_ID) <END> .setSmallIcon(R.drawable.ic_stat_notification) .setContentTitle(titleText) .setStyle(new NotificationCompat.BigTextStyle().bigText(messageText)) .setContentText(messageText) .setPriority(NotificationCompat.PRIORITY_MAX) .setContentIntent(openPendingIntent); NotificationManager notificationManager = (NotificationManager) getApplicationContext() .getSystemService(Context.NOTIFICATION_SERVICE); Notification notification = mBuilder.build(); notification.defaults = Notification.DEFAULT_ALL; notification.flags |= Notification.FLAG_AUTO_CANCEL | Notification.FLAG_SHOW_LIGHTS; Integer notificationId = description.getId(); notificationManager.notify(notificationId, notification); }</code><technical_language>please change ,Application.CHANNEL_REALTIME_ID , Application.CHANNEL_REALTIME_ID (add a space)</technical_language>

Target:
private void showNotification(ItineraryDescription description, int title, int message, Class<? extends Activity> notificationTarget, Bundle params, List<Itinerary> itineraries) { String titleText = getResources().getString(title); String messageText = getResources().getString(message); Intent openIntent = new Intent(getApplicationContext(), notificationTarget); openIntent.putExtras(params); openIntent.putExtra(OTPConstants.INTENT_SOURCE, OTPConstants.Source.NOTIFICATION); openIntent.putExtra(OTPConstants.ITINERARIES, (ArrayList<Itinerary>) itineraries); openIntent.setFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP); PendingIntent openPendingIntent = PendingIntent .getActivity(getApplicationContext(), 0, openIntent, PendingIntent.FLAG_CANCEL_CURRENT); NotificationCompat.Builder mBuilder = new NotificationCompat.Builder(getApplicationContext(), Application.CHANNEL_TRIP_PLAN_UPDATES_ID) .setSmallIcon(R.drawable.ic_stat_notification) .setContentTitle(titleText) .setStyle(new NotificationCompat.BigTextStyle().bigText(messageText)) .setContentText(messageText) .setPriority(NotificationCompat.PRIORITY_MAX) .setContentIntent(openPendingIntent); NotificationManager notificationManager = (NotificationManager) getApplicationContext() .getSystemService(Context.NOTIFICATION_SERVICE); Notification notification = mBuilder.build(); notification.defaults = Notification.DEFAULT_ALL; notification.flags |= Notification.FLAG_AUTO_CANCEL | Notification.FLAG_SHOW_LIGHTS; Integer notificationId = description.getId(); notificationManager.notify(notificationId, notification); }