summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author James.cf Lin <jamescflin@google.com> 2021-01-15 04:28:55 +0800
committer James.cf Lin <jamescflin@google.com> 2021-01-15 04:39:13 +0800
commitf3279724985951d269e4a5a1a41fb0a75756f60f (patch)
tree70024632939ef23e5cf3be44dad0ba6f3e7c95d5
parentfe962c3a7b6d4663766a8e2645c7cd17ab59ca8d (diff)
Remove the hidden API "onRemoteCapabilityRequest" from the exposed interface CapabilityExchangeEventListener
The interface CapabilityExchangeEventListener is exposed. However the API "onRemoteCapabilityRequest" is hidden and it will cause it cannot be implemented. Remove this api for now and add it back when the api is ready to exposed. Bug: 177451691 Test: atest CtsSystemApiSignatureTestCases:android.signature.cts.api.system.SignatureTest#testSignature Change-Id: I9ac1b8a5654fe16b9ae862d6e65aec9319cb6be5
-rw-r--r--telephony/java/android/telephony/ims/stub/CapabilityExchangeEventListener.java24
1 files changed, 0 insertions, 24 deletions
diff --git a/telephony/java/android/telephony/ims/stub/CapabilityExchangeEventListener.java b/telephony/java/android/telephony/ims/stub/CapabilityExchangeEventListener.java
index d2cb9761a028..d9734a7475c0 100644
--- a/telephony/java/android/telephony/ims/stub/CapabilityExchangeEventListener.java
+++ b/telephony/java/android/telephony/ims/stub/CapabilityExchangeEventListener.java
@@ -18,15 +18,12 @@ package android.telephony.ims.stub;
import android.annotation.NonNull;
import android.annotation.SystemApi;
-import android.net.Uri;
import android.telephony.ims.ImsException;
import android.telephony.ims.RcsContactUceCapability;
import android.telephony.ims.RcsUceAdapter;
import android.telephony.ims.feature.ImsFeature;
import android.telephony.ims.feature.RcsFeature;
-import java.util.List;
-
/**
* The interface of the capabilities event listener for ImsService to notify the framework of the
* UCE request and status updated.
@@ -84,25 +81,4 @@ public interface CapabilityExchangeEventListener {
* Telephony stack has crashed.
*/
void onUnpublish() throws ImsException;
-
- /**
- * Inform the framework of a query for this device's UCE capabilities.
- * <p>
- * The framework will respond via the
- * {@link OptionsRequestCallback#onRespondToCapabilityRequest} or
- * {@link OptionsRequestCallback#onRespondToCapabilityRequestWithError}
- * @param contactUri The URI associated with the remote contact that is
- * requesting capabilities.
- * @param remoteCapabilities The remote contact's capability information.
- * @param callback The callback of this request which is sent from the remote user.
- * @throws ImsException If this {@link RcsCapabilityExchangeImplBase} instance is not
- * currently connected to the framework. This can happen if the {@link RcsFeature} is not
- * {@link ImsFeature#STATE_READY} and the {@link RcsFeature} has not received
- * the {@link ImsFeature#onFeatureReady()} callback. This may also happen in rare
- * cases when the Telephony stack has crashed.
- * @hide
- */
- void onRemoteCapabilityRequest(@NonNull Uri contactUri,
- @NonNull List<String> remoteCapabilities,
- @NonNull OptionsRequestCallback callback) throws ImsException;
}