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

Commit cb0795c0 authored by Deqiang Chen's avatar Deqiang Chen Committed by android-build-merger
Browse files

Merge "When adding bluetooth phone account as emergency capable, also list it...

Merge "When adding bluetooth phone account as emergency capable, also list it for multi user" into qt-dev
am: a629364f

Change-Id: Idff8702334ada0e9cd5974b17405264e3aca52dd
parents b02a46d1 a629364f
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -335,6 +335,10 @@ public class HfpClientConnectionService extends ConnectionService {
                .hfp_client_connection_service_support_emergency_call)) {
                .hfp_client_connection_service_support_emergency_call)) {
            // Need to have an emergency call capability to place emergency call
            // Need to have an emergency call capability to place emergency call
            capabilities |= PhoneAccount.CAPABILITY_PLACE_EMERGENCY_CALLS;
            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 =
        PhoneAccount account =