mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Replacing SimPortInfo.portState enum with portActive flag
Test: build Bug: 205666689 Change-Id: I81a880f6e4f5646faaeb76b48c746c3cbdb2ce27
This commit is contained in:
committed by
Sandeep Jawalkar
parent
236fa8908c
commit
34a675a1fd
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user