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

Commit 8c27cd58 authored by Grace Jia's avatar Grace Jia Committed by Automerger Merge Worker
Browse files

Set default value of EXTRA_ADD_SELF_MANAGED_CALLS_TO_INCALLSERVICE am:...

Set default value of EXTRA_ADD_SELF_MANAGED_CALLS_TO_INCALLSERVICE am: 1a360c47 am: 5e9d933d am: e28f4203

Original change: https://android-review.googlesource.com/c/platform/packages/services/Telecomm/+/1570988

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I58b693bd399688c057433259b01a126041e84a81
parents 4decc25b e28f4203
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1252,7 +1252,7 @@ public class CallsManager extends Call.ListenerBase
                call.setIsVoipAudioMode(true);
                call.setVisibleToInCallService(phoneAccountExtras != null
                        && phoneAccountExtras.getBoolean(
                        PhoneAccount.EXTRA_ADD_SELF_MANAGED_CALLS_TO_INCALLSERVICE, false));
                        PhoneAccount.EXTRA_ADD_SELF_MANAGED_CALLS_TO_INCALLSERVICE, true));
            } else {
                // Incoming call is managed, the active call is self-managed and can't be held.
                // We need to set extras on it to indicate whether answering will cause a 
@@ -1518,7 +1518,7 @@ public class CallsManager extends Call.ListenerBase
                call.setIsVoipAudioMode(true);
                call.setVisibleToInCallService(phoneAccountExtra != null
                        && phoneAccountExtra.getBoolean(
                                PhoneAccount.EXTRA_ADD_SELF_MANAGED_CALLS_TO_INCALLSERVICE, false));
                                PhoneAccount.EXTRA_ADD_SELF_MANAGED_CALLS_TO_INCALLSERVICE, true));
            }
            call.setInitiatingUser(initiatingUser);
            isReusedCall = false;