EuiccChannelManager: Allow attempting OMAPI for non-zero port IDs

If the OMAPI eSE API is implemented based on **logical slots**, this
**could** work, however there is no guarantee.
This commit is contained in:
Peter Cai 2023-12-31 14:39:16 -05:00
parent 6a6af15896
commit 2fc84146da

View file

@ -59,8 +59,7 @@ open class EuiccChannelManager(protected val context: Context) {
protected fun tryOpenEuiccChannelUnprivileged(port: UiccPortInfoCompat): EuiccChannel? {
if (port.portIndex != 0) {
Log.w(TAG, "OMAPI channel attempted on non-zero portId, ignoring")
return null
Log.w(TAG, "OMAPI channel attempted on non-zero portId, this may or may not work.")
}
Log.i(TAG, "Trying OMAPI for physical slot ${port.card.physicalSlotIndex}")