Merge "Add the event EVENT_DISPLAY_SOS_MESSAGE for satellite"

This commit is contained in:
Thomas Nguyen
2023-02-16 01:40:26 +00:00
committed by Android (Google) Code Review

View File

@@ -359,6 +359,18 @@ public final class Call {
public static final String EXTRA_DIAGNOSTIC_MESSAGE =
"android.telecom.extra.DIAGNOSTIC_MESSAGE";
/**
* Event reported from the Telecom stack to indicate that the {@link Connection} is not able to
* find any network and likely will not get connected. Upon receiving this event, the dialer
* app should show satellite SOS button if satellite is provisioned.
* <p>
* The dialer app receives this event via
* {@link Call.Callback#onConnectionEvent(Call, String, Bundle)}.
* @hide
*/
public static final String EVENT_DISPLAY_SOS_MESSAGE =
"android.telecom.event.DISPLAY_SOS_MESSAGE";
/**
* Reject reason used with {@link #reject(int)} to indicate that the user is rejecting this
* call because they have declined to answer it. This typically means that they are unable