Ensure calls from profile log under initiating user.
Existing logic ensures calls started from work profile only log under the
work profile; broadening this to include "profiles" in the general sense
so that we also encapsulate private profiles and other future profiles.
Test: Create secondary user. Place call; verify the call does show up
in primary user call log and does not show up in work profile or private
space call log.
Test: Place call in primary user; verify the call does not show up in
work profile or private space call log. Verify call does show up in
secondary user.
Test: Receive missed call in secondary user. Verify it shows up in call
log; verify it shows up in primary user. Verify it does not show up in
private space user or generate private space missed call notification.
Verify it doesn't show up in work profile dialer or show missed call
notification there.
Test: Updated unit tests to account for this.Test: Test incoming/outgoing
call logging for: private profile, work profile, primary user, guest user.
Fixes: 299564732
Flag: For 24Q3.
Change-Id: I50c15d89841225295f222a429a0fc45804e77cc7
4 files changed