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

Commit 31d1e139 authored by Hakjun Choi's avatar Hakjun Choi
Browse files

Rename CONNECTED and NOT CONNECTED to IN SERVICE and OUT OF SERVICE

CONNECTED and NOT CONNECTED has confused a lot with RRC states
Thefore renamed it to IN_SERVICE and OUT_OF_SERVICE

Bug: 349504154
Flag: EXEMPT bugfix
Test: Regression test includes sending and receiving message via satellite network
Change-Id: I3ef180f1bafa2bc538bbeefd02473d329bc29f92
parent 687232d1
Loading
Loading
Loading
Loading
+5 −5
Original line number Original line Diff line number Diff line
@@ -22,7 +22,7 @@ package android.telephony.satellite.stub;
@Backing(type="int")
@Backing(type="int")
enum SatelliteModemState {
enum SatelliteModemState {
    /**
    /**
     * Satellite modem is in idle state.
     * Satellite Idle state during which modem will scan for TN networks.
     */
     */
    SATELLITE_MODEM_STATE_IDLE = 0,
    SATELLITE_MODEM_STATE_IDLE = 0,
    /**
    /**
@@ -46,13 +46,13 @@ enum SatelliteModemState {
     */
     */
    SATELLITE_MODEM_STATE_UNAVAILABLE = 5,
    SATELLITE_MODEM_STATE_UNAVAILABLE = 5,
    /**
    /**
     * The satellite modem is powered on but the device is not registered to a satellite cell.
     * The satellite modem is powered on but the device is out of service.
     */
     */
    SATELLITE_MODEM_STATE_NOT_CONNECTED = 6,
    SATELLITE_MODEM_STATE_OUT_OF_SERVICE = 6,
    /**
    /**
     * The satellite modem is powered on and the device is registered to a satellite cell.
     * The satellite modem is powered on and the device is registered and in service.
     */
     */
    SATELLITE_MODEM_STATE_CONNECTED = 7,
    SATELLITE_MODEM_STATE_IN_SERVICE = 7,
    /**
    /**
     * Satellite modem state is unknown. This generic modem state should be used only when the
     * Satellite modem state is unknown. This generic modem state should be used only when the
     * modem state cannot be mapped to other specific modem states.
     * modem state cannot be mapped to other specific modem states.