Loading telephony/java/android/telephony/ims/ImsCallSession.java +2 −12 Original line number Diff line number Diff line Loading @@ -1173,18 +1173,8 @@ public class ImsCallSession { public void callSessionMergeComplete(IImsCallSession newSession) { if (mListener != null) { if (newSession != null) { // Check if the active session is the same session that was // active before the merge request was sent. ImsCallSession validActiveSession = ImsCallSession.this; try { if (!Objects.equals(miSession.getCallId(), newSession.getCallId())) { // New session created after conference validActiveSession = new ImsCallSession(newSession); } } catch (RemoteException rex) { Log.e(TAG, "callSessionMergeComplete: exception for getCallId!"); } mListener.callSessionMergeComplete(validActiveSession); mListener.callSessionMergeComplete(new ImsCallSession(newSession)); } else { // Session already exists. Hence no need to pass mListener.callSessionMergeComplete(null); Loading Loading
telephony/java/android/telephony/ims/ImsCallSession.java +2 −12 Original line number Diff line number Diff line Loading @@ -1173,18 +1173,8 @@ public class ImsCallSession { public void callSessionMergeComplete(IImsCallSession newSession) { if (mListener != null) { if (newSession != null) { // Check if the active session is the same session that was // active before the merge request was sent. ImsCallSession validActiveSession = ImsCallSession.this; try { if (!Objects.equals(miSession.getCallId(), newSession.getCallId())) { // New session created after conference validActiveSession = new ImsCallSession(newSession); } } catch (RemoteException rex) { Log.e(TAG, "callSessionMergeComplete: exception for getCallId!"); } mListener.callSessionMergeComplete(validActiveSession); mListener.callSessionMergeComplete(new ImsCallSession(newSession)); } else { // Session already exists. Hence no need to pass mListener.callSessionMergeComplete(null); Loading