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

Commit 992f4f3e authored by Suresh Koleti's avatar Suresh Koleti Committed by Deepak Kundra
Browse files

Add support for wifi calling settings

Add API's to support wifi calling settings.

Change-Id: I806f053d46ebc0208a3ba374ec70592f248eef40
CRs-Fixed: 818899

Conflicts:
	telephony/java/com/android/ims/ImsConfigListener.aidl
parent 83435d7c
Loading
Loading
Loading
Loading
+23 −0
Original line number Diff line number Diff line
@@ -70,4 +70,27 @@ oneway interface ImsConfigListener {
     * @throws ImsException if calling the IMS service results in an error.
     */
     void onSetVideoQuality(int status);

    /**
     * Notifies client the value of the get operation result on the wifi calling preference.
     *
     * @param status. as defined in com.android.ims.ImsConfig#OperationStatusConstants.
     * @param wifiCallingStatus. as defined in com.android.ims.ImsConfig#WifiCallingValueConstants.
     * @param wifiCallingPreference. as defined in com.android.ims.ImsConfig#WifiCallingPreference.
     * @return void
     *
     * @throws ImsException if calling the IMS service results in an error.
     */
     void onGetWifiCallingPreference(int status, int wifiCallingStatus, int wifiCallingPreference);

    /**
     * Notifies client the set value operation result for wifi calling preference item.
     * Used by clients that need to be notified the set operation result.
     *
     * @param status. as defined in com.android.ims.ImsConfig#OperationStatusConstants.
     * @return void
     *
     * @throws ImsException if calling the IMS service results in an error.
     */
     void onSetWifiCallingPreference(int status);
}
+21 −0
Original line number Diff line number Diff line
@@ -140,4 +140,25 @@ interface IImsConfig {
     * @return void
     */
    boolean getVolteProvisioned();

    /**
     * Gets the value for IMS fature item wifi calling preference.
     *
     * @param listener. Wifi preference will be returned asynchronously through listener.
     * @return void
     */
    oneway void getWifiCallingPreference(ImsConfigListener listener);

    /**
     * Sets the value for IMS feature item wifi calling preference.
     *
     * @param wifiCallingStatus, as defined in com.android.ims.ImsConfig#WifiCallingValueConstants.
     * @param wifiCallingPreference, as defined in com.android.ims.ImsConfig#WifiCallingPreference.
     * @param listener, provided if caller needs to be notified for set result.
     * @return void
     *
     * @throws ImsException if calling the IMS service results in an error.
     */
    oneway void setWifiCallingPreference(int wifiCallingStatus, int wifiCallingPreference,
            ImsConfigListener listener);
}