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

Commit defd31e1 authored by Alvin Dey's avatar Alvin Dey Committed by Automerger Merge Worker
Browse files

IMS : Fix the user handle being passed to Telecom am: 4158d592

parents 5bc2a121 4158d592
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1749,11 +1749,12 @@ public class TelecomServiceImpl {
                    throw new SecurityException("Package " + callingPackage + " is not allowed"
                            + " to start conference call");
                }

                // Binder is clearing the identity, so we need to keep the store the handle
                UserHandle currentUserHandle = Binder.getCallingUserHandle();
                long token = Binder.clearCallingIdentity();
                try {
                    mCallsManager.startConference(participants, extras, callingPackage,
                            Binder.getCallingUserHandle());
                            currentUserHandle);
                } finally {
                    Binder.restoreCallingIdentity(token);
                }