diff options
| -rw-r--r-- | telephony/java/android/telephony/ims/RcsContactUceCapability.java | 14 | ||||
| -rw-r--r-- | telephony/java/android/telephony/ims/stub/RcsCapabilityExchangeImplBase.java | 24 |
2 files changed, 0 insertions, 38 deletions
diff --git a/telephony/java/android/telephony/ims/RcsContactUceCapability.java b/telephony/java/android/telephony/ims/RcsContactUceCapability.java index a133eadb3517..acfa13380948 100644 --- a/telephony/java/android/telephony/ims/RcsContactUceCapability.java +++ b/telephony/java/android/telephony/ims/RcsContactUceCapability.java @@ -282,20 +282,6 @@ public final class RcsContactUceCapability implements Parcelable { * <p> * Note: this is only populated if {@link #getCapabilityMechanism} is * {@link RcsContactUceCapability#CAPABILITY_MECHANISM_OPTIONS} - * @hide - */ - public @NonNull List<String> getOptionsFeatureTags() { - if (mCapabilityMechanism != CAPABILITY_MECHANISM_OPTIONS) { - return Collections.emptyList(); - } - return Collections.unmodifiableList(new ArrayList<>(mFeatureTags)); - } - - /** - * @return The feature tags present in the OPTIONS response from the network. - * <p> - * Note: this is only populated if {@link #getCapabilityMechanism} is - * {@link RcsContactUceCapability#CAPABILITY_MECHANISM_OPTIONS} */ public @NonNull Set<String> getFeatureTags() { if (mCapabilityMechanism != CAPABILITY_MECHANISM_OPTIONS) { diff --git a/telephony/java/android/telephony/ims/stub/RcsCapabilityExchangeImplBase.java b/telephony/java/android/telephony/ims/stub/RcsCapabilityExchangeImplBase.java index a117adcfb99a..57616d35f8fa 100644 --- a/telephony/java/android/telephony/ims/stub/RcsCapabilityExchangeImplBase.java +++ b/telephony/java/android/telephony/ims/stub/RcsCapabilityExchangeImplBase.java @@ -441,30 +441,6 @@ public class RcsCapabilityExchangeImplBase { * @param contactUri The URI of the remote user that we wish to get the capabilities of. * @param myCapabilities The capabilities of this device to send to the remote user. * @param callback The callback of this request which is sent from the remote user. - * @hide - */ - // executor used is defined in the constructor. - @SuppressLint("ExecutorRegistration") - public void sendOptionsCapabilityRequest(@NonNull Uri contactUri, - @NonNull List<String> myCapabilities, @NonNull OptionsResponseCallback callback) { - // Stub - to be implemented by service - Log.w(LOG_TAG, "sendOptionsCapabilityRequest called with no implementation."); - try { - callback.onCommandError(COMMAND_CODE_NOT_SUPPORTED); - } catch (ImsException e) { - // Do not do anything, this is a stub implementation. - } - } - - /** - * Push one's own capabilities to a remote user via the SIP OPTIONS presence exchange mechanism - * in order to receive the capabilities of the remote user in response. - * <p> - * The implementer must use {@link OptionsResponseCallback} to send the response of - * this query from the network back to the framework. - * @param contactUri The URI of the remote user that we wish to get the capabilities of. - * @param myCapabilities The capabilities of this device to send to the remote user. - * @param callback The callback of this request which is sent from the remote user. */ // executor used is defined in the constructor. @SuppressLint("ExecutorRegistration") |