diff options
author | Brad Ebinger <breadley@google.com> | 2020-05-20 19:07:49 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2020-05-20 19:07:49 +0000 |
commit | 0b35eb55a86718c94281567db75565304b102ef3 (patch) | |
tree | 482503c48d77d22b7faea07e0a9ea27999c16a9b /telephony/java/com | |
parent | c83fbdea5c95991f702b1c11ab7e1c8dc3c9f85d (diff) | |
parent | 64e101323b62fb2bf77594919610812f21cbe349 (diff) |
Merge "Fix MmTelFeatureConnection Memory Leak" into rvc-dev
Diffstat (limited to 'telephony/java/com')
-rw-r--r-- | telephony/java/com/android/internal/telephony/ITelephony.aidl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/telephony/java/com/android/internal/telephony/ITelephony.aidl b/telephony/java/com/android/internal/telephony/ITelephony.aidl index f5cd68f050a4..369020033a59 100644 --- a/telephony/java/com/android/internal/telephony/ITelephony.aidl +++ b/telephony/java/com/android/internal/telephony/ITelephony.aidl @@ -851,6 +851,14 @@ interface ITelephony { IImsRcsFeature getRcsFeatureAndListen(int slotId, in IImsServiceFeatureCallback callback); /** + * Unregister a callback that was previously registered through + * {@link #getMmTelFeatureAndListen} or {@link #getRcsFeatureAndListen}. This should always be + * called when the callback is no longer being used. + */ + void unregisterImsFeatureCallback(int slotId, int featureType, + in IImsServiceFeatureCallback callback); + + /** * Returns the IImsRegistration associated with the slot and feature specified. */ IImsRegistration getImsRegistration(int slotId, int feature); |