Loading telephony/java/android/telephony/ims/stub/ImsEcbmImplBase.java +4 −4 Original line number Diff line number Diff line Loading @@ -57,10 +57,10 @@ public class ImsEcbmImplBase { } else if (listener != null && mListener == null) { mListener = listener; } else { // Fail fast here instead of silently overwriting the listener to another // listener due to another connection connecting. throw new IllegalStateException("ImsEcbmImplBase: Listener already set by " + "another connection."); // Warn that the listener is being replaced while active Log.w(TAG, "setListener is being called when there is already an active " + "listener"); mListener = listener; } } } Loading telephony/java/android/telephony/ims/stub/ImsMultiEndpointImplBase.java +4 −4 Original line number Diff line number Diff line Loading @@ -62,10 +62,10 @@ public class ImsMultiEndpointImplBase { } else if (listener != null && mListener == null) { mListener = listener; } else { // Fail fast here instead of silently overwriting the listener to another // listener due to another connection connecting. throw new IllegalStateException("ImsMultiEndpointImplBase: Listener already" + " set by another connection."); // Warn that the listener is being replaced while active Log.w(TAG, "setListener is being called when there is already an active " + "listener"); mListener = listener; } } } Loading telephony/java/android/telephony/ims/stub/ImsUtImplBase.java +4 −5 Original line number Diff line number Diff line Loading @@ -224,11 +224,10 @@ public class ImsUtImplBase { } else if (listener != null && mUtListener == null) { mUtListener = new ImsUtListener(listener); } else { // This is a limitation of the current API surface, there can only be one // listener connected. Fail fast instead of silently overwriting the other // listener. throw new IllegalStateException("ImsUtImplBase#setListener: listener already " + "set by another connected interface!"); // Warn that the listener is being replaced while active Log.w(TAG, "setListener is being called when there is already an active " + "listener"); mUtListener = new ImsUtListener(listener); } } Loading Loading
telephony/java/android/telephony/ims/stub/ImsEcbmImplBase.java +4 −4 Original line number Diff line number Diff line Loading @@ -57,10 +57,10 @@ public class ImsEcbmImplBase { } else if (listener != null && mListener == null) { mListener = listener; } else { // Fail fast here instead of silently overwriting the listener to another // listener due to another connection connecting. throw new IllegalStateException("ImsEcbmImplBase: Listener already set by " + "another connection."); // Warn that the listener is being replaced while active Log.w(TAG, "setListener is being called when there is already an active " + "listener"); mListener = listener; } } } Loading
telephony/java/android/telephony/ims/stub/ImsMultiEndpointImplBase.java +4 −4 Original line number Diff line number Diff line Loading @@ -62,10 +62,10 @@ public class ImsMultiEndpointImplBase { } else if (listener != null && mListener == null) { mListener = listener; } else { // Fail fast here instead of silently overwriting the listener to another // listener due to another connection connecting. throw new IllegalStateException("ImsMultiEndpointImplBase: Listener already" + " set by another connection."); // Warn that the listener is being replaced while active Log.w(TAG, "setListener is being called when there is already an active " + "listener"); mListener = listener; } } } Loading
telephony/java/android/telephony/ims/stub/ImsUtImplBase.java +4 −5 Original line number Diff line number Diff line Loading @@ -224,11 +224,10 @@ public class ImsUtImplBase { } else if (listener != null && mUtListener == null) { mUtListener = new ImsUtListener(listener); } else { // This is a limitation of the current API surface, there can only be one // listener connected. Fail fast instead of silently overwriting the other // listener. throw new IllegalStateException("ImsUtImplBase#setListener: listener already " + "set by another connected interface!"); // Warn that the listener is being replaced while active Log.w(TAG, "setListener is being called when there is already an active " + "listener"); mUtListener = new ImsUtListener(listener); } } Loading