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

Commit fd792365 authored by Peter Cai's avatar Peter Cai
Browse files

Remove unneeded seId default values

parent f498c22a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -169,7 +169,7 @@ open class DefaultEuiccChannelManager(

    protected suspend fun findEuiccChannelByLogicalSlot(
        logicalSlotId: Int,
        seId: EuiccChannel.SecureElementId = EuiccChannel.SecureElementId.DEFAULT
        seId: EuiccChannel.SecureElementId
    ): EuiccChannel? =
        withContext(Dispatchers.IO) {
            if (logicalSlotId == EuiccChannelManager.USB_CHANNEL_ID) {
+1 −1
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@ class PrivilegedEuiccChannelManager(appContainer: AppContainer, context: Context
    }

    override suspend fun notifyEuiccProfilesChanged(logicalSlotId: Int) {
        val channel = findEuiccChannelByLogicalSlot(logicalSlotId) ?: return
        val channel = findEuiccChannelByLogicalSlot(logicalSlotId, EuiccChannel.SecureElementId.DEFAULT) ?: return
        appContainer.subscriptionManager.tryRefreshCachedEuiccInfo(channel.cardId)
    }
}