diff --git a/radio/aidl/aidl_api/android.hardware.radio.config/current/android/hardware/radio/config/SimPortInfo.aidl b/radio/aidl/aidl_api/android.hardware.radio.config/current/android/hardware/radio/config/SimPortInfo.aidl index 2cfb8d0fb0..5cc90176ac 100644 --- a/radio/aidl/aidl_api/android.hardware.radio.config/current/android/hardware/radio/config/SimPortInfo.aidl +++ b/radio/aidl/aidl_api/android.hardware.radio.config/current/android/hardware/radio/config/SimPortInfo.aidl @@ -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; } diff --git a/radio/aidl/android/hardware/radio/config/SimPortInfo.aidl b/radio/aidl/android/hardware/radio/config/SimPortInfo.aidl index 78f1309fe3..54b98907bc 100644 --- a/radio/aidl/android/hardware/radio/config/SimPortInfo.aidl +++ b/radio/aidl/android/hardware/radio/config/SimPortInfo.aidl @@ -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; }