Loading src/java/com/android/internal/telephony/Connection.java +10 −0 Original line number Original line Diff line number Diff line Loading @@ -16,6 +16,7 @@ package com.android.internal.telephony; package com.android.internal.telephony; import android.net.Uri; import android.os.SystemClock; import android.os.SystemClock; import android.telecom.ConferenceParticipant; import android.telecom.ConferenceParticipant; import android.telephony.Rlog; import android.telephony.Rlog; Loading Loading @@ -557,6 +558,15 @@ public abstract class Connection { } } } } /** * Notifies this Connection of a request to disconnect a participant of the conference managed * by the connection. * * @param endpoint the {@link Uri} of the participant to disconnect. */ public void onDisconnectConferenceParticipant(Uri endpoint) { } /** /** * Build a human representation of a connection instance, suitable for debugging. * Build a human representation of a connection instance, suitable for debugging. * Don't log personal stuff unless in debug mode. * Don't log personal stuff unless in debug mode. Loading src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java +22 −0 Original line number Original line Diff line number Diff line Loading @@ -17,6 +17,7 @@ package com.android.internal.telephony.imsphone; package com.android.internal.telephony.imsphone; import android.content.Context; import android.content.Context; import android.net.Uri; import android.os.AsyncResult; import android.os.AsyncResult; import android.os.Handler; import android.os.Handler; import android.os.Looper; import android.os.Looper; Loading Loading @@ -662,5 +663,26 @@ public class ImsPhoneConnection extends Connection { public int getPreciseDisconnectCause() { public int getPreciseDisconnectCause() { return 0; return 0; } } /** * Notifies this Connection of a request to disconnect a participant of the conference managed * by the connection. * * @param endpoint the {@link android.net.Uri} of the participant to disconnect. */ @Override public void onDisconnectConferenceParticipant(Uri endpoint) { ImsCall imsCall = getImsCall(); if (imsCall == null) { return; } try { imsCall.removeParticipants(new String[]{endpoint.toString()}); } catch (ImsException e) { // No session in place -- no change Rlog.e(LOG_TAG, "onDisconnectConferenceParticipant: no session in place. "+ "Failed to disconnect endpoint = " + endpoint); } } } } Loading
src/java/com/android/internal/telephony/Connection.java +10 −0 Original line number Original line Diff line number Diff line Loading @@ -16,6 +16,7 @@ package com.android.internal.telephony; package com.android.internal.telephony; import android.net.Uri; import android.os.SystemClock; import android.os.SystemClock; import android.telecom.ConferenceParticipant; import android.telecom.ConferenceParticipant; import android.telephony.Rlog; import android.telephony.Rlog; Loading Loading @@ -557,6 +558,15 @@ public abstract class Connection { } } } } /** * Notifies this Connection of a request to disconnect a participant of the conference managed * by the connection. * * @param endpoint the {@link Uri} of the participant to disconnect. */ public void onDisconnectConferenceParticipant(Uri endpoint) { } /** /** * Build a human representation of a connection instance, suitable for debugging. * Build a human representation of a connection instance, suitable for debugging. * Don't log personal stuff unless in debug mode. * Don't log personal stuff unless in debug mode. Loading
src/java/com/android/internal/telephony/imsphone/ImsPhoneConnection.java +22 −0 Original line number Original line Diff line number Diff line Loading @@ -17,6 +17,7 @@ package com.android.internal.telephony.imsphone; package com.android.internal.telephony.imsphone; import android.content.Context; import android.content.Context; import android.net.Uri; import android.os.AsyncResult; import android.os.AsyncResult; import android.os.Handler; import android.os.Handler; import android.os.Looper; import android.os.Looper; Loading Loading @@ -662,5 +663,26 @@ public class ImsPhoneConnection extends Connection { public int getPreciseDisconnectCause() { public int getPreciseDisconnectCause() { return 0; return 0; } } /** * Notifies this Connection of a request to disconnect a participant of the conference managed * by the connection. * * @param endpoint the {@link android.net.Uri} of the participant to disconnect. */ @Override public void onDisconnectConferenceParticipant(Uri endpoint) { ImsCall imsCall = getImsCall(); if (imsCall == null) { return; } try { imsCall.removeParticipants(new String[]{endpoint.toString()}); } catch (ImsException e) { // No session in place -- no change Rlog.e(LOG_TAG, "onDisconnectConferenceParticipant: no session in place. "+ "Failed to disconnect endpoint = " + endpoint); } } } }