Can anyone see why this Intent isnt being picked up?
<pre><code>//Create intent 

notificationManager = (NotificationManager) ctx.getSystemService(Context.NOTIFICATION_SERVICE);
        note = new Notification(android.R.drawable.btn_star_big_on, contentText, System.currentTimeMillis() );

Intent notificationIntent = new Intent();
notificationIntent.putExtra("aff_id",aff_id);
notificationIntent.setAction("com.mindfsck.PossAff.aff");

notificationIntent =  notificationIntent.setFlags(Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED);

contentIntent = PendingIntent.getActivity(ctx, aff_id, notificationIntent, 0);
note.setLatestEventInfo(ctx, title, aff_id + contentText, contentIntent);

notificationManager.notify(aff_id,note);

//Pickup intent 

package com.mindfsck.PossAff;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.app.PendingIntent;

public class PosAffIntentReceiver extends BroadcastReceiver{
    @Override
    public void onReceive(Context context, Intent intent) {
        if (intent.getAction().equals("com.mindfsck.PossAff.aff")) {
            System.out.println("Picked up broadcast with aff");
            context.startActivity(new Intent(context, com.mindfsck.PossAff.MainActivity.class));
        }else if(intent.getAction().equals("android.intent.action.BOOT_COMPLETED")){        

        }

        System.out.println("Picked up broadcast");
    }
}

//Manifest
    &lt;application android:icon="@drawable/icon" android:label="@string/app_name"
    android:debuggable="true"&gt;

    &lt;activity android:name=".MainActivity"
         android:label="@string/app_name" android:configChanges="orientation|keyboardHidden"&gt;
        &lt;intent-filter&gt;
            &lt;action android:name="android.intent.action.MAIN" /&gt;
            &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
        &lt;/intent-filter&gt;
    &lt;/activity&gt;

    &lt;receiver android:name=".PosAffIntentReceiver"&gt;
        &lt;intent-filter&gt;
            &lt;!--&lt;action android:name="com.mindfsck.PossAff.intent.action.aff"&gt;&lt;/action&gt; --&gt;
            &lt;action android:name="com.mindfsck.PossAff.aff"&gt;&lt;/action&gt;
        &lt;/intent-filter&gt;
    &lt;/receiver&gt;

    &lt;receiver android:name=".NotificationAlarm"&gt;
        &lt;intent-filter&gt;
        &lt;action android:name="android.intent.action.BOOT_COMPLETED" /&gt;
        &lt;category android:name="android.intent.category.HOME" /&gt;
        &lt;/intent-filter&gt;
    &lt;/receiver&gt;

&lt;/application&gt;
</code></pre>

<p>I see the following in the Debug monitor when I click the notification </p>

<p>03-04 11:00:24.652: INFO/ActivityManager(1296): Starting activity: Intent { act=com.mindfsck.PossAff.aff flg=0x200000 (has extras) }</p>

<p>but it never gets picked up</p>
