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

Commit 3b00945c authored by Sumit Bajpai's avatar Sumit Bajpai Committed by Linux Build Service Account
Browse files

BT: Send info if call is CS type from telecomm service to BT apps.

The change adds broadcast intent for updating call info from telecomm
service to bluetooth application.

CRs-Fixed: 977025
Change-Id: I18d3a22d25099906d86efb0412f309696c02e321
parent ccbae684
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
@@ -152,6 +152,17 @@ public class TelecomManager {
    public static final String ACTION_DEFAULT_DIALER_CHANGED =
            "android.telecom.action.DEFAULT_DIALER_CHANGED";

    /**
     *@hide Broadcast intent action indicating the call type(CS call or Non-CS call).
     * The string extra {@link #EXTRA_CALL_TYPE_CS} will contain the
     * boolean value true if call is CS call else false.
     *
     * @see #EXTRA_CALL_TYPE_CS
     */
    public static final String ACTION_CALL_TYPE =
            "codeaurora.telecom.action.CALL_TYPE";


    /**
     * Extra value used to provide the package name for {@link #ACTION_CHANGE_DEFAULT_DIALER}.
     */
@@ -279,6 +290,13 @@ public class TelecomManager {
    public static final String EXTRA_CALL_TECHNOLOGY_TYPE =
            "android.telecom.extra.CALL_TECHNOLOGY_TYPE";

    /**
     *@hide  Extra value used to provide the call type for {@link #ACTION_CALL_TYPE}.
     */
    public static final String EXTRA_CALL_TYPE_CS =
            "codeaurora.telecom.extra.CALL_TYPE_CS";


    /**
     * An optional {@link android.content.Intent#ACTION_CALL} intent extra denoting the
     * package name of the app specifying an alternative gateway for the call.