<commit_before>// This class is used on all Androids below Honeycomb
package org.sleepytonic.cordova.plugins.notification;


import android.app.Notification;
import android.app.Notification.Builder;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;

import org.sleepytonic.HelloCordovaTouch.R;

public class StatusNotificationIntent {
    public static Notification buildNotification( Context context, CharSequence tag, CharSequence contentTitle, CharSequence contentText, int flag ) {
        int icon = R.drawable.notification;
        long when = System.currentTimeMillis();

        //Notification noti = new Notification(icon, contentTitle, when);
        //noti.flags |= flag;
        //http://developer.android.com/reference/android/app/Notification.Builder.html
        //http://stackoverflow.com/questions/18918336/android-notification-remoteserviceexception
        Notification noti = new Notification.Builder(context)
         .setContentTitle(contentTitle)
         .setContentText(contentText)
         .setSmallIcon(R.drawable.notification)
         .build();

         //.setLargeIcon(aBitmap)
<commit_msg>use a dummy R class import<commit_after>// This class is used on all Androids below Honeycomb
package org.sleepytonic.cordova.plugins.notification;


import android.app.Notification;
import android.app.Notification.Builder;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;

//change this to your application's Java package 
import com.your.app.R;

public class StatusNotificationIntent {
    public static Notification buildNotification( Context context, CharSequence tag, CharSequence contentTitle, CharSequence contentText, int flag ) {
        int icon = R.drawable.notification;
        long when = System.currentTimeMillis();

        //Notification noti = new Notification(icon, contentTitle, when);
        //noti.flags |= flag;
        //http://developer.android.com/reference/android/app/Notification.Builder.html
        //http://stackoverflow.com/questions/18918336/android-notification-remoteserviceexception
        Notification noti = new Notification.Builder(context)
         .setContentTitle(contentTitle)
         .setContentText(contentText)
         .setSmallIcon(R.drawable.notification)
         .build();

         //.setLargeIcon(aBitmap)

{'fraction_non_alphanumeric': 0.0929383116883117, 'fraction_numerical': 0.006493506493506494, 'mean_word_length': 3.7771317829457365, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5383694', 'n_tokens_mistral': 655, 'n_tokens_neox': 623, 'n_words': 148}