summaryrefslogtreecommitdiff
path: root/telephony/java/com
diff options
context:
space:
mode:
authorBrad Ebinger <breadley@google.com>2020-09-14 12:11:28 -0700
committerBrad Ebinger <breadley@google.com>2020-09-15 11:22:30 -0700
commit03a843a281f058390cb55550ed8939cd0d05faf3 (patch)
treee09cfb8cfba7e817f745a6b249c379d75d298e1d /telephony/java/com
parent558a921d818e8000169ad0157debd0439220f81b (diff)
Decouple the ImsFeature status listener from creating the feature
Add the listener after the ImsFeature has been created to ensure that listeners do not miss the state update due to the feature not being tracked internally yet. (This is part 1 of a two part process to clean up ImsFeature connecting). Test: atest CtsTelephonyTestCases FrameworksTelephonyTests ImsCommonTests Change-Id: I6a0cf4a4dfae2593ea77d3b098cd7a93325ea740
Diffstat (limited to 'telephony/java/com')
-rw-r--r--telephony/java/com/android/ims/internal/IImsServiceController.aidl10
1 files changed, 6 insertions, 4 deletions
diff --git a/telephony/java/com/android/ims/internal/IImsServiceController.aidl b/telephony/java/com/android/ims/internal/IImsServiceController.aidl
index 857089fac33a..e9528f474082 100644
--- a/telephony/java/com/android/ims/internal/IImsServiceController.aidl
+++ b/telephony/java/com/android/ims/internal/IImsServiceController.aidl
@@ -25,8 +25,10 @@ import com.android.ims.internal.IImsRcsFeature;
* {@hide}
*/
interface IImsServiceController {
- IImsMMTelFeature createEmergencyMMTelFeature(int slotId, in IImsFeatureStatusCallback c);
- IImsMMTelFeature createMMTelFeature(int slotId, in IImsFeatureStatusCallback c);
- IImsRcsFeature createRcsFeature(int slotId, in IImsFeatureStatusCallback c);
- void removeImsFeature(int slotId, int featureType, in IImsFeatureStatusCallback c);
+ IImsMMTelFeature createEmergencyMMTelFeature(int slotId);
+ IImsMMTelFeature createMMTelFeature(int slotId);
+ IImsRcsFeature createRcsFeature(int slotId);
+ void removeImsFeature(int slotId, int featureType);
+ void addFeatureStatusCallback(int slotId, int featureType, in IImsFeatureStatusCallback c);
+ void removeFeatureStatusCallback(int slotId, int featureType, in IImsFeatureStatusCallback c);
}