Merge "Adds speakerphone extra to ACTION_DIAL (2/2)."

This commit is contained in:
Sai Cheemalapati
2014-06-17 20:20:50 +00:00
committed by Android (Google) Code Review
2 changed files with 9 additions and 0 deletions

View File

@@ -27703,6 +27703,7 @@ package android.telecomm {
field public static final java.lang.String EXTRA_CALL_SERVICE_DESCRIPTOR = "android.intent.extra.CALL_SERVICE_DESCRIPTOR";
field public static final java.lang.String EXTRA_INCOMING_CALL_EXTRAS = "android.intent.extra.INCOMING_CALL_EXTRAS";
field public static final java.lang.String EXTRA_PACKAGE_NAME = "package";
field public static final java.lang.String EXTRA_START_CALL_WITH_SPEAKERPHONE = "android.intent.extra.START_CALL_WITH_SPEAKERPHONE";
}
public class TelecommManager {

View File

@@ -16,6 +16,7 @@
package android.telecomm;
import android.content.Intent;
import android.os.Bundle;
import android.telephony.TelephonyManager;
@@ -69,6 +70,13 @@ public final class TelecommConstants {
*/
public static final String EXTRA_PACKAGE_NAME = "package";
/**
* Optional extra for {@link Intent#ACTION_CALL} containing a boolean that determines whether
* the speakerphone should be automatically turned on for an outgoing call.
*/
public static final String EXTRA_START_CALL_WITH_SPEAKERPHONE =
"android.intent.extra.START_CALL_WITH_SPEAKERPHONE";
/**
* Extra for {@link #ACTION_INCOMING_CALL} containing the {@link CallServiceDescriptor} that
* describes the call service to use for the incoming call.