public PendingIntent getActionIntent(NotificationEntry entry, NotificationEntry.Action act) {
        Intent intent = new Intent(ACTION_ACTION);
        intent.putExtra(KEY_ENTRY_ID, entry.ID);
        intent.putExtra(KEY_ACTION_ID, entry.mActions.indexOf(act));
        return PendingIntent.getBroadcast(mContext, genIdForPendingIntent(), intent, 0);
    }
public PendingIntent getActionIntent ( NotificationEntry entry , NotificationEntry . Action act ) { Intent intent = new Intent ( ACTION_ACTION ) ; intent . putExtra ( KEY_ENTRY_ID , entry . ID ) ; intent . putExtra ( KEY_ACTION_ID , entry . mActions . indexOf ( act ) ) ; return PendingIntent . getBroadcast ( mContext , genIdForPendingIntent ( ) , intent , 0 ) ; }
Create an PendingIntent to be fired when the notification action is invoked.

@see android.app.Notification#addAction(int, CharSequence, PendingIntent)

@param entry
@param act
@return PendingIntent