Program: 97653
Project: 97653
Buggy source:
public static void showNotActivatedNotification(String packageName,String appName){
  Intent intent=new Intent(sContext,WelcomeActivity.class);
  intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
  intent.putExtra("String_Node_Str",1);
  PendingIntent pModulesTab=PendingIntent.getActivity(sContext,PENDING_INTENT_OPEN_MODULES,intent,PendingIntent.FLAG_UPDATE_CURRENT);
  String title=sContext.getString(R.string.module_is_not_activated_yet);
  NotificationCompat.Builder builder=new NotificationCompat.Builder(sContext).setContentTitle(title).setContentText(appName).setTicker(title).setContentIntent(pModulesTab).setVibrate(new long[]{0}).setAutoCancel(true).setSmallIcon(R.drawable.ic_notification).setColor(sContext.getResources().getColor(R.color.colorPrimary));
  if (Build.VERSION.SDK_INT >= 21)   builder.setPriority(2);
  Intent iActivateAndReboot=new Intent(sContext,RebootReceiver.class);
  iActivateAndReboot.putExtra(RebootReceiver.EXTRA_ACTIVATE_MODULE,packageName);
  PendingIntent pActivateAndReboot=PendingIntent.getBroadcast(sContext,PENDING_INTENT_ACTIVATE_MODULE_AND_REBOOT,iActivateAndReboot,PendingIntent.FLAG_UPDATE_CURRENT);
  Intent iActivate=new Intent(sContext,RebootReceiver.class);
  iActivate.putExtra(RebootReceiver.EXTRA_ACTIVATE_MODULE,packageName);
  iActivate.putExtra(RebootReceiver.EXTRA_ACTIVATE_MODULE_AND_RETURN,true);
  PendingIntent pActivate=PendingIntent.getBroadcast(sContext,PENDING_INTENT_ACTIVATE_MODULE_AND_REBOOT,iActivate,PendingIntent.FLAG_UPDATE_CURRENT);
  NotificationCompat.BigTextStyle notiStyle=new NotificationCompat.BigTextStyle();
  notiStyle.setBigContentTitle(title);
  notiStyle.bigText(sContext.getString(R.string.module_is_not_activated_yet_detailed,appName));
  builder.setStyle(notiStyle);
  if (!ModuleUtil.getInstance().getEnabledModules().isEmpty()) {
    builder.addAction(R.drawable.ic_menu_refresh,sContext.getString(R.string.activate_and_reboot),pActivateAndReboot);
    builder.addAction(R.drawable.ic_save,sContext.getString(R.string.activate_only),pActivate);
  }
  sNotificationManager.notify(packageName,NOTIFICATION_MODULE_NOT_ACTIVATED_YET,builder.build());
}

Fixed version (ground truth):
public static void showNotActivatedNotification(String packageName,String appName){
  Intent intent=new Intent(sContext,WelcomeActivity.class);
  intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
  intent.putExtra("String_Node_Str",1);
  PendingIntent pModulesTab=PendingIntent.getActivity(sContext,PENDING_INTENT_OPEN_MODULES,intent,PendingIntent.FLAG_UPDATE_CURRENT);
  String title=sContext.getString(R.string.module_is_not_activated_yet);
  NotificationCompat.Builder builder=new NotificationCompat.Builder(sContext).setContentTitle(title).setContentText(appName).setTicker(title).setContentIntent(pModulesTab).setVibrate(new long[]{0}).setAutoCancel(true).setSmallIcon(R.drawable.ic_notification).setColor(sContext.getResources().getColor(R.color.colorPrimary));
  if (Build.VERSION.SDK_INT >= 21)   builder.setPriority(2);
  Intent iActivateAndReboot=new Intent(sContext,RebootReceiver.class);
  iActivateAndReboot.putExtra(RebootReceiver.EXTRA_ACTIVATE_MODULE,packageName);
  PendingIntent pActivateAndReboot=PendingIntent.getBroadcast(sContext,PENDING_INTENT_ACTIVATE_MODULE_AND_REBOOT,iActivateAndReboot,PendingIntent.FLAG_UPDATE_CURRENT);
  Intent iActivate=new Intent(sContext,RebootReceiver.class);
  iActivate.putExtra(RebootReceiver.EXTRA_ACTIVATE_MODULE,packageName);
  iActivate.putExtra(RebootReceiver.EXTRA_ACTIVATE_MODULE_AND_RETURN,true);
  PendingIntent pActivate=PendingIntent.getBroadcast(sContext,PENDING_INTENT_ACTIVATE_MODULE,iActivate,PendingIntent.FLAG_UPDATE_CURRENT);
  NotificationCompat.BigTextStyle notiStyle=new NotificationCompat.BigTextStyle();
  notiStyle.setBigContentTitle(title);
  notiStyle.bigText(sContext.getString(R.string.module_is_not_activated_yet_detailed,appName));
  builder.setStyle(notiStyle);
  if (!ModuleUtil.getInstance().getEnabledModules().isEmpty()) {
    builder.addAction(R.drawable.ic_menu_refresh,sContext.getString(R.string.activate_and_reboot),pActivateAndReboot);
    builder.addAction(R.drawable.ic_save,sContext.getString(R.string.activate_only),pActivate);
  }
  sNotificationManager.notify(packageName,NOTIFICATION_MODULE_NOT_ACTIVATED_YET,builder.build());
}