Merge "Add APIs in CrossProfileApps to obtain the profile type of target profiles" into main