private void setContentIntent(NotificationCompat.Builder builder) {
        Intent clickIntent = new Intent(context, NotificationClickActivity.class)
            .putExtra(Notification.EXTRA_ID, options.getId())
            .putExtra(Action.EXTRA_ID, Action.CLICK_ACTION_ID)
            .putExtra(Options.EXTRA_LAUNCH, options.isLaunch());

        // Set the Activity to start in a new, empty task.
        clickIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK);

        // Create the PendingIntent
        PendingIntent clickPendingIntent = PendingIntent.getActivity(context,
            // Each click intent have to get a unique request code, so they don't overwrite each other
            Manager.getRandomRequestCode(),
            clickIntent, PendingIntent.FLAG_UPDATE_CURRENT | PendingIntent.FLAG_IMMUTABLE);

        builder.setContentIntent(clickPendingIntent);
    }
Supply a PendingIntent to send when the notification is clicked.
Will bring the app to foreground.
src/android/Notification.java