Enforce outgoing conference call restriction.
When the user has the UserManager.DISALLOW_OUTGOING_CALLS restriction set, it is still possible for an app to start a conference via TM#startConference. Unlike TM#placeCall, which hits UserCallIntentProcessor, TM#startConference calls into CallsManager directly, bypassing the outgoing call restriction check. We should ensure that the outgoing call restriction gets applied when an app invokes TM#startConference. I verified locally from AdhocConferenceTest that the conference calls are placed even when the outgoing call restriction is set. Bug: 290920435 Test: atest AdhocConferenceTest (set up device with outgoing call restriction on admin and verified that associated tests fail when TM#startConference is invoked) Change-Id: I0f3d5396bd8cf831a441567fbdad578a9166a838 Merged-In: I0f3d5396bd8cf831a441567fbdad578a9166a838
Loading