Adding extra key to indicate when the last emergency call was made.
This can be used to determine if an incoming call is potentially an emergency callback. Bug: 30952524 Test: none Change-Id: I2d4ca8e6885c0314394b3a2ad389ad8115b79156
This commit is contained in:
committed by
Michael Dooley
parent
e961992ed3
commit
4af561ff17
@@ -36726,6 +36726,7 @@ package android.telecom {
|
||||
method public void unhold();
|
||||
method public void unregisterCallback(android.telecom.Call.Callback);
|
||||
field public static final java.lang.String AVAILABLE_PHONE_ACCOUNTS = "selectPhoneAccountAccounts";
|
||||
field public static final java.lang.String EXTRA_LAST_EMERGENCY_CALLBACK_TIME_MILLIS = "android.telecom.extra.LAST_EMERGENCY_CALLBACK_TIME_MILLIS";
|
||||
field public static final int STATE_ACTIVE = 4; // 0x4
|
||||
field public static final int STATE_CONNECTING = 9; // 0x9
|
||||
field public static final int STATE_DIALING = 1; // 0x1
|
||||
|
||||
@@ -39660,6 +39660,7 @@ package android.telecom {
|
||||
method public void unhold();
|
||||
method public void unregisterCallback(android.telecom.Call.Callback);
|
||||
field public static final java.lang.String AVAILABLE_PHONE_ACCOUNTS = "selectPhoneAccountAccounts";
|
||||
field public static final java.lang.String EXTRA_LAST_EMERGENCY_CALLBACK_TIME_MILLIS = "android.telecom.extra.LAST_EMERGENCY_CALLBACK_TIME_MILLIS";
|
||||
field public static final int STATE_ACTIVE = 4; // 0x4
|
||||
field public static final int STATE_CONNECTING = 9; // 0x9
|
||||
field public static final int STATE_DIALING = 1; // 0x1
|
||||
|
||||
@@ -36844,6 +36844,7 @@ package android.telecom {
|
||||
method public void unhold();
|
||||
method public void unregisterCallback(android.telecom.Call.Callback);
|
||||
field public static final java.lang.String AVAILABLE_PHONE_ACCOUNTS = "selectPhoneAccountAccounts";
|
||||
field public static final java.lang.String EXTRA_LAST_EMERGENCY_CALLBACK_TIME_MILLIS = "android.telecom.extra.LAST_EMERGENCY_CALLBACK_TIME_MILLIS";
|
||||
field public static final int STATE_ACTIVE = 4; // 0x4
|
||||
field public static final int STATE_CONNECTING = 9; // 0x9
|
||||
field public static final int STATE_DIALING = 1; // 0x1
|
||||
|
||||
@@ -115,6 +115,13 @@ public final class Call {
|
||||
*/
|
||||
public static final String AVAILABLE_PHONE_ACCOUNTS = "selectPhoneAccountAccounts";
|
||||
|
||||
/**
|
||||
* Extra key used to indicate the time (in millis) when the last outgoing emergency call was
|
||||
* made. This is used to identify potential emergency callbacks.
|
||||
*/
|
||||
public static final String EXTRA_LAST_EMERGENCY_CALLBACK_TIME_MILLIS =
|
||||
"android.telecom.extra.LAST_EMERGENCY_CALLBACK_TIME_MILLIS";
|
||||
|
||||
public static class Details {
|
||||
|
||||
/** Call can currently be put on hold or unheld. */
|
||||
|
||||
Reference in New Issue
Block a user