Android - Notification Intents Doubling Up
===

I have a Service that uploads images. Once the images are uploaded, it notifies the user. Once the user taps on the notification, it takes them to the image.

My problem is this. I upload two images, with titles "One" and "Two".

I get two notifications, one says "Upload Complete: One" and the other says "Upload Complete: Two". However, when I click on either of them, they take me to the details for the first image. What gives?

     Notification nSuccess = new Notification( icon, "Upload Complete", when );
    
     nSuccess.flags |= Notification.FLAG_ONLY_ALERT_ONCE | Notification.FLAG_AUTO_CANCEL;
    
     if( contentId != null )
     {
       Intent contentIntent = new Intent( ImageUploadService.this.getApplicationContext(), ContentDetailActivity.class );
    
       U.log( "Uri: " + C.API_CONTENT + contentId + "/" );

       contentIntent.putExtra( "mResourceUri", C.API_CONTENT + contentId + "/" );
    
       PendingIntent contentPendingIntent = PendingIntent.getActivity( ImageUploadService.this.getApplicationContext(), 0, contentIntent, 0 );
    
       nSuccess.setLatestEventInfo( getApplicationContext(), "App Name", "Upload Complete: " + title,
                                    contentPendingIntent );
     }
    
     mNotificationManager.notify( id, nSuccess );

Where `mNotificationManger` is defined earlier in the overridden `onHandleIntent` method of my Service, like so:


    private static final String NS = Context.NOTIFICATION_SERVICE;
    mNotificationManager = ( NotificationManager )getSystemService( NS );

And, where the logged URIs, that I pass to my Activity via the Intent are:


    07-18 12:55:33.975: E/004 - APPNAME(29896): Uri: /api/v1/content/925/

    07-18 12:55:42.275: E/004 - APPNAME(29896): Uri: /api/v1/content/926/
