boolean deleteTrigger(long id, String appPackageName) {
		String where = Contract.COLUMN_APP_IDENTIFIER + " = ? AND " + Contract._ID + " = ?";
		String[] whereArgs = { appPackageName, Long.toString(id) };
		int count = getReadableDatabase().delete(Contract.TABLE_NAME, where, whereArgs);
		return count > 0;

	}
boolean deleteTrigger(long id, String appPackageName) {
		String where = Contract.COLUMN_APP_IDENTIFIER + " = ? AND " + Contract._ID + " = ?";
		String[] whereArgs = { appPackageName, Long.toString(id) };
		int count = getReadableDatabase().delete(Contract.TABLE_NAME, where, whereArgs);
		return count > 0;

	}
boolean deleteTrigger ( long id , String appPackageName ) { String where = Contract . COLUMN_APP_IDENTIFIER + " = ? AND " + Contract . _ID + " = ?" ; String [ ] whereArgs = { appPackageName , Long . toString ( id ) } ; int count = getReadableDatabase ( ) . delete ( Contract . TABLE_NAME , where , whereArgs ) ; return count > 0 ; }
Delete the trigger with the given id.

@param id
@param appPackageName
@return true if there is a deletion
Delete the trigger with the given id .