浏览代码

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.
Peter Cai 2 年之前
父节点
当前提交
2fc84146da
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      app-common/src/main/java/im/angry/openeuicc/core/EuiccChannelManager.kt

+ 1 - 2
app-common/src/main/java/im/angry/openeuicc/core/EuiccChannelManager.kt

@@ -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}")