Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit b0339436 authored by Brad Ebinger's avatar Brad Ebinger
Browse files

Check CALL_PHONE and MANAGE_OWN_CALLS permission in placeCall

Staticaly check CALL_PHONE and MANAGE_OWN_CALLS depending on the
PhoneAccountHandle package name passed in instead of taking into
account whether or not the PhoneAccountHandle is associated with
a registered self-managed ConnectionService. This makes sure
we do not leak Telecom state with respect to which PhoneAccounts
are registered back to the caller.

Bug: 231988638
Test: atest TelecomUnitTests
Change-Id: Ie5eb859f79df22fc4710a0a745e8b6bd9b48aeb9
parent 1720eeec
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment