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

Commit 15687989 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Added null check when setting up conferenceCall."

parents 3d9de096 11864d02
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -452,8 +452,14 @@ public class ConnectionServiceWrapper extends ServiceBinder implements
                            childCall.setParentAndChildCall(null);
                        } else {
                            Call conferenceCall = mCallIdMapper.getCall(conferenceCallId);
                            // In a situation where a cmgr is used, the conference should be tracked
                            // by that cmgr's instance of CSW. The cmgr instance of CSW will track
                            // and properly set the parent and child calls so the request from the
                            // original Telephony instance of CSW can be ignored.
                            if (conferenceCall != null){
                                childCall.setParentAndChildCall(conferenceCall);
                            }
                        }
                    } else {
                        // Log.w(this, "setIsConferenced, unknown call id: %s", args.arg1);
                    }