title: Getting bundled extras from a notification reliever intent to a started activity
body: <p>I have a notification receiver that is being called from my alarm.</p>
  
  <p>The notification receiver bundles the data for a new intent (activity) and starts it like this:</p>
  
  <pre><code>// Create an in intent to go to the new alarm video
  Intent repeatingAlarmIntent = new Intent(context,RepeatingAlarmActivity.class);
  
  // Bundle the videoID the alarm has the correct video to open
  Bundle alarmExtras = new Bundle();
  extras.putString("AlarmVidId", VideoId);
  repeatingAlarmIntent.putExtras(alarmExtras);
  
  // Set the flags for the alarm intent
  repeatingAlarmIntent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
                      repeatingAlarmIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
  
  // Start the alarm intent
  context.startActivity(repeatingAlarmIntent);
  </code></pre>
  
  <p>In the new activity when I try to retrieve the bundled data it is null, this is how I am attempting to retrieve the bundled data:</p>
  
  <pre><code>public class RepeatingAlarmActivity extends YouTubeBaseActivity implements YouTubePlayer.OnInitializedListener {
  
      String VideoId;
  
      @Override
      protected void onCreate(@Nullable Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
  
          Intent intent = getIntent();
          VideoId= intent.getStringExtra("AlarmVidId");
  </code></pre>
  
  <p>Not sure what I am doing wrong. </p>
  
  <p>Thanks in advance for your help.</p>