Add isForAllUserProfiles
Since U, a sub can be associated to a particular profile, and thus in V we enforce filtering on caller and only show the subs that are associated with the caller.
However, in some cases the caller indeed needs to see all subs regardless its association, e.g. sysUI. Therefore, a param isForAllProfile is added to indicate whether the caller intends to see all subs. Extra permission might be needed depeding on PWG review(b/308809058).
Bug: 296076674
Test: voice call + data browsing
Flag: ACONFIG com.android.internal.telephony.flags.work_profile_api_split DEVELOPMENT
API Bug: 307806262
Change-Id: If0ed571c9d3414dc06005692dd7e1ecd783cc1ce
3 files changed