title: Notification action button does not fire pending intent
body: <p>I try to send intent to BroadcastReceiver from notification action button my problem is that when I click the button the intent in not fired or not getting to the BroadcastReceiver.</p>
  
  <p>Here is my code:</p>
  
  <p>The notification:</p>
  
  <pre><code>Intent accept = new Intent(this, ChallengesActionReceiver.class);
  accept.setAction("com.soinfit.utilities.CHALLENGE_CLICK");
  accept.putExtra("reqId", extras.getString("reqId"));
  accept.putExtra("answer", "1");       
  PendingIntent acceptIntent = PendingIntent.getActivity(this, 1, accept, PendingIntent.FLAG_CANCEL_CURRENT);
  
  NotificationCompat.Builder mBuilder = new NotificationCompat.Builder(this)
  
  .setLargeIcon(image)
  .setSmallIcon(R.drawable.app_icon_small)
  .setContentTitle("soInFit")
  .setStyle(new NotificationCompat.BigTextStyle()
  .bigText(msg))
  .setAutoCancel(true)
  .addAction(R.drawable.app_icon_small, getString(R.string.accept), acceptIntent)
  .setContentText(msg);
  
  mBuilder.setContentIntent(contentIntent);
  
  Notification nof = mBuilder.getNotification();
  
  nof.defaults|= Notification.DEFAULT_SOUND;
  nof.defaults|= Notification.DEFAULT_LIGHTS;
  nof.defaults|= Notification.DEFAULT_VIBRATE;
  
  nof.flags = Notification.FLAG_AUTO_CANCEL;
  
  NotificationManager notificationManager = (NotificationManager) this.getSystemService(this.NOTIFICATION_SERVICE);
  notificationManager.notify(id+1, nof); 
  </code></pre>
  
  <p>The BroadcastReceiver </p>
  
  <pre><code>public class ChallengesActionReceiver  extends BroadcastReceiver
  
  {
  
      @Override
      public void onReceive(Context context, Intent intent) {
  
         Log.i("test", "test");
  }
  
  }
  </code></pre>
  
  <p>Manifest:</p>
  
  <pre><code>&lt;receiver
      android:name="utilities.ChallengesActionReceiver"
      android:enabled="true" &gt;
  
       &lt;intent-filter&gt;
      &lt;action android:name="com.soinfit.utilities.CHALLENGE_CLICK" /&gt;     
         &lt;/intent-filter&gt;
  </code></pre>
  
  <p>If I call this code:</p>
  
  <pre><code>    Intent accept = new Intent(this, ChallengesActionReceiver.class);
      accept.setAction("com.soinfit.utilities.CHALLENGE_CLICK");
      accept.putExtra("reqId", extras.getString("reqId"));
      accept.putExtra("answer", "1");       
      PendingIntent acceptIntent = PendingIntent.getActivity(this, 1, accept, PendingIntent.FLAG_CANCEL_CURRENT);
  
  this.sendBroadcast(accept);
  </code></pre>
  
  <p>Its working fine. </p>