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

Commit 9059a92d authored by Chen Xu's avatar Chen Xu Committed by Automerger Merge Worker
Browse files

Merge "Replacing SimPortInfo.portState enum with portActive flag" am: 4c718b3d am: e2b1c7c0

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1875273

Change-Id: I3949421a6e9de16d736e4a70d74ca5e5fdce2ec9
parents 5a725c7f e2b1c7c0
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -36,7 +36,5 @@ package android.hardware.radio.config;
parcelable SimPortInfo {
  String iccId;
  int logicalSlotId;
  int portState;
  const int PORT_STATE_INACTIVE = 0;
  const int PORT_STATE_ACTIVE = 1;
  boolean portActive;
}
+4 −12
Original line number Diff line number Diff line
@@ -34,18 +34,10 @@ parcelable SimPortInfo {
     * Logical slot id is identifier of the active slot
     */
    int logicalSlotId;
    /*
     * Port is Inactive
     * Inactive means logical modem is no longer associated to the port
     */
    const int PORT_STATE_INACTIVE = 0;
    /*
     * Port is Active
     * Active means logical modem is associated to the port
     */
    const int PORT_STATE_ACTIVE = 1;
    /**
     * Port state in the slot. Values are portState.[PORT_STATE_INACTIVE, PORT_STATE_ACTIVE].
     * Port active status in the slot.
     * Inactive means logical modem is no longer associated to the port.
     * Active means logical modem is associated to the port.
     */
    int portState;
    boolean portActive;
}