title: Android notification don't start
body: <p>Hi i a class Asynctask and in onProgressUpdate i want create notification in to status bar, i have do so:</p>
  
  <pre><code>    @Override
  protected void onProgressUpdate(Object[] values) {
  
      this.holder.itemView.setBackgroundColor(Color.WHITE);
      if(messaggio){
  
          PendingIntent pi = PendingIntent.getActivity(context, 0, new Intent(context, EUDroid_Main_Activity.class), 0);
          Notification notification = new NotificationCompat.Builder(context)
                  .setTicker("Ticker")
                  .setContentTitle("Title")
                  .setContentText("Hello")
                  .setContentIntent(pi)
                  .setAutoCancel(true)
                  .build();
  
          NotificationManager notificationManager = (NotificationManager) context.getSystemService(NOTIFICATION_SERVICE);
          notificationManager.notify(0, notification);
  
  
      }
      super.onProgressUpdate(values);
  
  }
  </code></pre>
  
  <p>but notification don't star why?
  How i do to create notification?</p>
  
  <p>Edit I have do so:</p>
  
  <pre><code>@Override
  protected void onProgressUpdate(Object[] values) {
  
      this.holder.itemView.setBackgroundColor(Color.WHITE);
      if(messaggio){
  
          try {
              Thread.sleep(Integer.parseInt(ritardoMessaggio)*1000);
          } catch (InterruptedException e){
              e.printStackTrace();
          }
  
          NotificationCompat.Builder notification;
          PendingIntent pIntent;
          NotificationManager manager;
          Intent resultIntent;
          TaskStackBuilder stackBuilder;
  
          notification = new NotificationCompat.Builder(context);
  
          notification.setContentTitle(nameFile);
  
          notification.setContentText(testoMessaggio);
  
          notification.setTicker("Evento EUDroid");
  
          notification.setSmallIcon(R.drawable.splash);
  
          notification.setVibrate(new long[] { 1000, 1000, 1000, 1000, 1000 });
          notification.setLights(Color.BLUE, 500, 500);
          Uri alarmSound = RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION);
          notification.setSound(alarmSound);
  
          //Creating new Stack Builder
          stackBuilder = TaskStackBuilder.create(context);
          stackBuilder.addParentStack(EUDroid_Main_Activity.class);
          //Intent which is opened when notification is clicked
          resultIntent = new Intent(context, EUDroid_Main_Activity.class);
          stackBuilder.addNextIntent(resultIntent);
          pIntent =  stackBuilder.getPendingIntent(0,PendingIntent.FLAG_UPDATE_CURRENT);
          notification.setContentIntent(pIntent);
          manager =(NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE);
          manager.notify(0, notification.build());
  
  
      }
      super.onProgressUpdate(values);
  
  }
  </code></pre>
  
  <p>Now i have this problem:
  when i reiceive notification it produces two beeps why? how i receive two notify</p>