class KujakuNotification {

    @SuppressWarnings("deprecation")
    public NotificationCompat.Builder createNotification(String title, @Nullable String content) {
        NotificationCompat.Builder builder = new NotificationCompat.Builder(context)
                .setContentTitle(title)
                .setSmallIcon(smallIcon);

        if (content != null) {
            builder.setContentText(content);
        }

        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
            builder.setChannelId(notificationChannel.getId());
        }

        return builder;
    }

}