@since: BuddyPress 2.3.4 Add new parameter to get the user id the avatar was set for.
Description
bp_xprofile_new_avatar_activity()

Adds an activity feed item when a user has uploaded a new avatar.

Source: bp-xprofile/bp-xprofile-activity.php:210