title: intent.putExtra() in pending intent not working
body: <p>I am passing a pending intent through alarmreceiver, from a service class. But, after the pendingIntent fires, the intent.putExtra() information is not being received by the broadcastreceiver class. Here is my code for firing the pendingIntent</p>
  
  <pre><code>Intent aint = new Intent(getApplicationContext(), AlarmReceiver.class);
  PendingIntent pendingIntent = PendingIntent.getBroadcast(getApplicationContext(), id, aint, PendingIntent.FLAG_UPDATE_CURRENT);
  aint.putExtra("msg", msg);
  aint.putExtra("phone", phone);
  alarmManager.set(AlarmManager.RTC_WAKEUP, cal.getTimeInMillis(), pendingIntent);
  </code></pre>
  
  <p>The alarm receiver class is below</p>
  
  <pre><code>public String msg, phonen;
  
  @Override
  public void  onReceive(Context context, Intent intent){
      Bundle extras = intent.getExtras();
      msg = extras.getString("msg");
      phonen = extras.getString("phone");
  
      Log.d("onReceive", "About to execute MyTask");
      Toast.makeText(context,msg, Toast.LENGTH_LONG).show();
  }
  </code></pre>
  
  <p>The <strong>msg</strong> information in toast, that is being received from pending intent, is not being shown. Instead, a blank toast is shown.</p>