Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eb427675 authored by Thomas Nguyen's avatar Thomas Nguyen
Browse files

Add the event EVENT_DISPLAY_SOS_MESSAGE for satellite

Bug: 268542899
Test: Build

Change-Id: I4a5193200bfe959e405e0a67e653d3b4534f2efc
parent 58389631
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -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