Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bb53df9d authored by Brad Ebinger's avatar Brad Ebinger
Browse files

Remove "one shot" type of FeatureCallback

Instead of having a special case for ImsManager#getInstance,
implement it properly.

Test: atest CtsTelephonyTestCases
Change-Id: I2e986fb2a1086043a25b11c71c005481cea74196
parent 748eb4b5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -22,6 +22,7 @@ import android.telephony.ims.aidl.IRcsUceControllerCallback;
import android.telephony.ims.aidl.IRcsUcePublishStateCallback;
import android.telephony.ims.aidl.IImsRegistrationCallback;

import com.android.ims.ImsFeatureContainer;
import com.android.ims.internal.IImsServiceFeatureCallback;
import com.android.internal.telephony.IIntegerConsumer;

@@ -53,7 +54,6 @@ interface IImsRcsController {
    void unregisterUcePublishStateCallback(int subId, IRcsUcePublishStateCallback c);

    // Internal commands that should not be made public
    void registerRcsFeatureCallback(int slotId, in IImsServiceFeatureCallback callback,
            boolean oneShot);
    void registerRcsFeatureCallback(int slotId, in IImsServiceFeatureCallback callback);
    void unregisterImsFeatureCallback(in IImsServiceFeatureCallback callback);
}
+1 −2
Original line number Diff line number Diff line
@@ -829,8 +829,7 @@ interface ITelephony {
     *  as well as registering the MmTelFeature for callbacks using the IImsServiceFeatureCallback
     *  interface.
     */
    void registerMmTelFeatureCallback(int slotId, in IImsServiceFeatureCallback callback,
            boolean oneShot);
    void registerMmTelFeatureCallback(int slotId, in IImsServiceFeatureCallback callback);

    /**
     * Unregister a callback that was previously registered through