After some discussion internally this morning, if one or both of the SIM was PIN or PUK-locked, the wizard page would require the wizard to store a temporary settings, and then attempt to apply the setting after the user had entered the required PINs/PUKs.
A simple implementation would be to have ofono's rilmodem continue to default to 'Powered' == True on first run, and then quirk the logic for MTK dual-sim such that it prevents the second modem from being 'Powered'. Our current mtk dual-SIM implementation as similar logic to ensure for instance that only one of the modem's is 'Attached' for instance. It's possible that this 'Attached' code could prove unnecessary altogther...
After some discussion internally this morning, if one or both of the SIM was PIN or PUK-locked, the wizard page would require the wizard to store a temporary settings, and then attempt to apply the setting after the user had entered the required PINs/PUKs.
A simple implementation would be to have ofono's rilmodem continue to default to 'Powered' == True on first run, and then quirk the logic for MTK dual-sim such that it prevents the second modem from being 'Powered'. Our current mtk dual-SIM implementation as similar logic to ensure for instance that only one of the modem's is 'Attached' for instance. It's possible that this 'Attached' code could prove unnecessary altogther...