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

Commit 8570bbd9 authored by Omkar Kolangade's avatar Omkar Kolangade Committed by Linux Build Service Account
Browse files

IMS RAT Reporting in Registration Unsol

Adding a parameter to the IMS registration complete
and progressing callbacks allowing frameworks to be
notified of the radio access technology over which
IMS is registered.

Bug: 21902225
Change-Id: I3b340da3776b617fd9d944585672bce51c5d9c1e
parent c02a10d8
Loading
Loading
Loading
Loading
+9 −2
Original line number Original line Diff line number Diff line
@@ -17,6 +17,7 @@
package com.android.ims.internal;
package com.android.ims.internal;


import com.android.ims.ImsReasonInfo;
import com.android.ims.ImsReasonInfo;

/**
/**
 * A listener type for receiving notifications about the changes to
 * A listener type for receiving notifications about the changes to
 * the IMS connection(registration).
 * the IMS connection(registration).
@@ -26,13 +27,19 @@ import com.android.ims.ImsReasonInfo;
interface IImsRegistrationListener {
interface IImsRegistrationListener {
    /**
    /**
     * Notifies the application when the device is connected to the IMS network.
     * Notifies the application when the device is connected to the IMS network.
     *
     * @param imsRadioTech the radio access technology. Valid values are {@code
     * RIL_RADIO_TECHNOLOGY_*} defined in {@link ServiceState}.
     */
     */
    void registrationConnected();
    void registrationConnected(int imsRadioTech);


    /**
    /**
     * Notifies the application when the device is trying to connect the IMS network.
     * Notifies the application when the device is trying to connect the IMS network.
     *
     * @param imsRadioTech the radio access technology. Valid values are {@code
     * RIL_RADIO_TECHNOLOGY_*} defined in {@link ServiceState}.
     */
     */
    void registrationProgressing();
    void registrationProgressing(int imsRadioTech);


    /**
    /**
     * Notifies the application when the device is disconnected from the IMS network.
     * Notifies the application when the device is disconnected from the IMS network.