Bladeren bron

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: 2260445
Change-Id: I18d3a22d25099906d86efb0412f309696c02e321
ten
Sumit Bajpai 5 jaren geleden
bovenliggende
commit
a67cb175b4
1 gewijzigde bestanden met toevoegingen van 17 en 0 verwijderingen
  1. 17
    0
      telecomm/java/android/telecom/TelecomManager.java

+ 17
- 0
telecomm/java/android/telecom/TelecomManager.java Bestand weergeven

@@ -181,6 +181,17 @@ public class TelecomManager {
"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}.
*/
public static final String EXTRA_CHANGE_DEFAULT_DIALER_PACKAGE_NAME =
@@ -378,6 +389,12 @@ public class TelecomManager {
"android.telecom.extra.CALL_NETWORK_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.
* The value is a string.

Laden…
Annuleren
Opslaan