sPFFramework/src/main/java/it/polimi/spf/framework/notification/SPFNotificationManager.java
public boolean deleteTrigger(long id, String appPackageName) {

        boolean success = mTriggerTable.deleteTrigger(id, appPackageName);
        if (success) {
            if (mHandler != null)
                mHandler.postRemoveTrigger(id);
        }
        return success;
    }
public boolean deleteTrigger(long id, String appPackageName) {

        boolean success = mTriggerTable.deleteTrigger(id, appPackageName);
        if (success) {
            if (mHandler != null)
                mHandler.postRemoveTrigger(id);
        }
        return success;
    }
Deletes the trigger specified by its id.

@param id
@return true if the trigger has been deleted