@@ -161,7 +161,7 @@ open class EuiccChannelManager(protected val context: Context) {
seService = null
}
- open fun notifyEuiccProfilesChanged(slotId: Int) {
+ open fun notifyEuiccProfilesChanged(logicalSlotId: Int) {
// No-op for unprivileged
@@ -85,7 +85,7 @@ open class EuiccManagementFragment : Fragment(), EuiccFragmentMarker, EuiccProfi
lifecycleScope.launch {
val profiles = withContext(Dispatchers.IO) {
- euiccChannelManager.notifyEuiccProfilesChanged(slotId)
+ euiccChannelManager.notifyEuiccProfilesChanged(channel.logicalSlotId)
channel.lpa.profiles
@@ -85,7 +85,7 @@ open class MainActivity : AppCompatActivity() {
// Request the system to refresh the list of profiles every time we start
// Note that this is currently supposed to be no-op when unprivileged,
// but it could change in the future
- manager.notifyEuiccProfilesChanged(it.slotId)
+ manager.notifyEuiccProfilesChanged(it.logicalSlotId)
@@ -45,9 +45,9 @@ class PrivilegedEuiccChannelManager(context: Context): EuiccChannelManager(conte
- override fun notifyEuiccProfilesChanged(slotId: Int) {
+ override fun notifyEuiccProfilesChanged(logicalSlotId: Int) {
(context.applicationContext as OpenEuiccApplication).subscriptionManager.apply {
- findEuiccChannelBySlotBlocking(slotId)?.let {
+ findEuiccChannelBySlotBlocking(logicalSlotId)?.let {
tryRefreshCachedEuiccInfo(it.cardId)