Add the event EVENT_DISPLAY_SOS_MESSAGE for satellite

Bug: 268542899
Test: Build

Change-Id: I4a5193200bfe959e405e0a67e653d3b4534f2efc
This commit is contained in:
Thomas Nguyen
2023-02-15 15:42:34 -08:00
parent 583896310f
commit eb4276755d

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