Intent from notification does not have extras
===

This seem to be a common problem and I went through all the related questions I could find already:
http://stackoverflow.com/questions/5628382/activity-isnt-picking-up-new-intent, http://stackoverflow.com/questions/10456655/why-extra-data-integer-is-not-sent-in-android-notification-intent, http://stackoverflow.com/questions/7370324/notification-passes-old-intent-extras/9330144, http://stackoverflow.com/questions/7098893/cant-put-extras-for-an-intent-in-notification, http://stackoverflow.com/questions/3009059/android-pending-intent-notification-problem; but still cannot figure this out.

Problem is the same. I set a notification with a PendingIntent carrying some extra information and I don't get it on the other side.

Here is the code for generating the notification:

    Intent new_intent = new Intent(this, MyActivity.class);
    Bundle b = new Bundle();
    b.putBoolean("start_test", true);
    new_intent.putExtras(b);
    new_intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
    notification.setLatestEventInfo(this, "Notification", "Go to app", PendingIntent.getActivity(this, (int) System.currentTimeMillis(), new_intent, PendingIntent.FLAG_UPDATE_CURRENT));

And on the other side:

    Bundle b = getIntent().getExtras();
    boolean start_test=false;
    if (b!=null) {
        start_test = b.getBoolean("start_test", false);
    }

The bundle is actually not there (getExtras() returns null).

I tried the different flags for `PendingIntent.getActivity` (`FLAG_UPDATE_CURRENT`, `FLAG_CANCEL_CURRENT`, `FLAG_ONE_SHOT`), none of those helped.

As shown in the code, I use getCurrentMillis to make sure the requestID changes....

Am I missing something very simple ?