Skip to content

WIP: iface-modem,shared-qmi: Detect hotswap on all slots

Pavan Holla requested to merge pholla/ModemManager:hotswap_3 into master

Prior to this change, only hotswaps on the active slot could be detected. This change has 4 components:

  1. Setup hotswap after loading sim slots. This allows us to ignore any slot switches performed while loading sim slots.
  2. Desensitize hotswap detection for 3 seconds after hotswap is setup. This is necessary since inactive SIM's require time to be ready and may send notifications after LOAD_SIM_SLOTS.
  3. Detect a hotswap even if it occurs on an inactive slot. We need to detect these to keep our SIM objects updated.
  4. Disable hotswap detection when the active slot is being changed intentionally.
Edited by Pavan Holla

Merge request reports