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

Commit 0f705b51 authored by dhacker29's avatar dhacker29 Committed by David Hacker
Browse files

telephony: Add AOSP compatibility methods for IMS

Adds changes from 2cdac3bd IMS: change getMasterValue to getProvisionedValue
but leaves current methods in place to preserve BSP.

Change-Id: I1044a795edeb864a1e95707dbfc2a40e7ea8b751
parent 038cb80c
Loading
Loading
Loading
Loading
+19 −0
Original line number Diff line number Diff line
@@ -133,6 +133,25 @@ interface IImsConfig {
     */
     oneway void setVideoQuality(int quality, ImsConfigListener listener);

    /* AOSP Compatibility methods */
    /**
     * Gets the value for ims service/capabilities parameters from the provisioned
     * value storage. Synchronous blocking call.
     *
     * @param item, as defined in com.android.ims.ImsConfig#ConfigConstants.
     * @return value in Integer format.
     */
    int getProvisionedValue(int item);

    /**
     * Gets the value for ims service/capabilities parameters from the provisioned
     * value storage. Synchronous blocking call.
     *
     * @param item, as defined in com.android.ims.ImsConfig#ConfigConstants.
     * @return value in String format.
     */
    String getProvisionedStringValue(int item);

    /**
     * Gets the value for IMS volte provisioned.
     * This should be the same as the operator provisioned value if applies.