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

Skip to content
Commit d17e5fda authored by Pranav Madapurmath's avatar Pranav Madapurmath
Browse files

Update InCallController to support work profiles.

Allow work profiles to place/receive calls using the associated dialer
app. The existing code will use the primary profile to query the
potential apps to connect to. Instead, we can get the right user from
the phone account that is stored in the call. Also, we need to allow
users with the across users permission to access phone accounts from
other users (getAllPhoneAccountHandles/getCallCapablePhoneAccounts).

A regression was introduced in the initial commit where emergency calls
were unable to be placed from the lock screen so I added a test in
InCallControllerTests to verify that the method behaves properly when
there is not any InCallServices bound.

Bug: 255343995
Bug: 257953390
Bug: 262487224
Test: Manual, atest TelecomUnitTests, atest CtsTelecomTestCases
Change-Id: I3a6977940b989c802eecb5a4ff9077080fae26c3
parent 660551bb
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