the attached branches add a capability for the unconfined applications to request unlocking of a specific SIM by name (ofono modem path):
$ dbus-send --session --print-reply --dest=com.ubuntu.connectivity1 /com/ubuntu/connectivity1/Private com.ubuntu.connectivity1.Private.UnlockModem string:/ril_0 ** Branch linked: lp:~unity-api-team/indicator-network/unlock- modem-15.04 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to indicator-network in Ubuntu. https://bugs.launchpad.net/bugs/1374082 Title: no API to unlock a specific sim Status in the base for Ubuntu mobile products: Confirmed Status in Network Menu: In Progress Status in indicator-network package in Ubuntu: In Progress Status in indicator-network source package in Utopic: Triaged Status in indicator-network source package in Vivid: In Progress Status in indicator-network package in Ubuntu RTM: In Progress Bug description: In dialer-app on dual sim phones users will be given an option to unlock a specific modem. The current api only supports unlocking all modems at once: UnlockAllModems(). We need a way to invoke the unlock screen to a specific modem, like UnlockModem(objectPath). clients: https://bugs.launchpad.net/messaging-app/+bug/1371661 To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1374082/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp