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

Commit 0625c508 authored by Hakjun Choi's avatar Hakjun Choi Committed by Android (Google) Code Review
Browse files

Merge "Move unknown state to 0 and shift up others as per the guide of metrics...

Merge "Move unknown state to 0 and shift up others as per the guide of metrics council" into udc-dev
parents 5fa6d3bd 681c25eb
Loading
Loading
Loading
Loading
+9 −9
Original line number Diff line number Diff line
@@ -723,25 +723,25 @@ public class SatelliteManager {
    @Retention(RetentionPolicy.SOURCE)
    public @interface SatelliteModemState {}

    /**
     * Datagram type is unknown. This generic datagram type should be used only when the
     * datagram type cannot be mapped to other specific datagram types.
     */
    public static final int DATAGRAM_TYPE_UNKNOWN = 0;
    /**
     * Datagram type indicating that the datagram to be sent or received is of type SOS message.
     */
    public static final int DATAGRAM_TYPE_SOS_MESSAGE = 0;
    public static final int DATAGRAM_TYPE_SOS_MESSAGE = 1;
    /**
     * Datagram type indicating that the datagram to be sent or received is of type
     * location sharing.
     */
    public static final int DATAGRAM_TYPE_LOCATION_SHARING = 1;
    /**
     * Datagram type is unknown. This generic datagram type should be used only when the
     * datagram type cannot be mapped to other specific datagram types.
     */
    public static final int DATAGRAM_TYPE_UNKNOWN = -1;
    public static final int DATAGRAM_TYPE_LOCATION_SHARING = 2;

    @IntDef(prefix = "DATAGRAM_TYPE_", value = {
            DATAGRAM_TYPE_UNKNOWN,
            DATAGRAM_TYPE_SOS_MESSAGE,
            DATAGRAM_TYPE_LOCATION_SHARING,
            DATAGRAM_TYPE_UNKNOWN
            DATAGRAM_TYPE_LOCATION_SHARING
    })
    @Retention(RetentionPolicy.SOURCE)
    public @interface DatagramType {}