Messenger disappears from bundle onCreate
<p>I'm trying to use Messenger as an IPC mechanism between my appwidget and an activity.</p>

<p>I do the following:
I create an intent that starts a specific activity when a button is clicked on my appwidget.</p>

<pre><code>intent = new Intent(mContext, TorchLightActivity.class);
intent.putExtra(RPC, new Messenger(mHandler));
intent.putExtra(TYPE, mType);
...
final PendingIntent actionPendingIntent = PendingIntent.getActivity(mContext, 0, intent, 0);
remoteView.setOnClickPendingIntent(layout, actionPendingIntent);
</code></pre>

<p>When I click on my widget button an activity is started</p>

<pre><code>onCreate(...)
final Bundle bun = getIntent().getExtras();
// Get null here
mMessanger = (Messenger) bun.get(FlashlightModule.RPC); 
// Working great
mType = bun.getInt(FlashlightModule.Type);
</code></pre>

<p>When looking at the bundle I can see that the only extra data I have is <code>FlashlightModule.Type</code> e.g. the int value.</p>

<p>The intent is created with extras from the start (see <a href="http://stackoverflow.com/questions/7637453/get-the-intent-from-oncreate-in-android">Get the intent from onCreate in Android</a> ) and setData is used from the start (see <a href="http://stackoverflow.com/questions/4663242/application-widget-with-bundle">Application widget with bundle?</a>)</p>

<p>Is it possible at all to pass Messenger between AppWidget to my own activity?</p>

<p>Thank you.</p>
