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

Commit f8899acc authored by deqiang chen's avatar deqiang chen
Browse files

Remove CAPABILITY_MULTI_USER from Bluetooth phoneAccount

Test:  local test. adb shell setprop ril.ecclist 911,122,*911,#911,411.
And then manual test that the bluetooth phone account is chosen for
411 ecall and verify after phone is disconnected, call contacts
are cleared

Bug: 138684166

Change-Id: I2bb74d7eda4cca35e87aa790a6f863c4a19e068b
parent 8de4272c
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -335,10 +335,6 @@ public class HfpClientConnectionService extends ConnectionService {
                .hfp_client_connection_service_support_emergency_call)) {
            // Need to have an emergency call capability to place emergency call
            capabilities |= PhoneAccount.CAPABILITY_PLACE_EMERGENCY_CALLS;
            // Emergency call is processed in user 0 context in multi-user setting
            // even if caller is from another user. Declare multi user
            // capability for the account to be chosen.
            capabilities |= PhoneAccount.CAPABILITY_MULTI_USER;
        }

        PhoneAccount account =