rilmodem/ofono — pull request #127 by alfonsosanchezbeato (2014-10-03 10:14:33+00:00)
Title: Enter PIN before unlocking it

We enter the SIM PIN in case it has not been entered yet when unlocking the PIN. This homogenizes the unlock feature for different modems, as in some cases the modem firmware already enters the PIN before
unlocking but in other cases it does not. Entering the PIN before for modems that already support that feature is innocuous, so we enter the PIN from ofono in all cases.

This fixes

https://bugs.launchpad.net/ubuntu/+source/ubuntu-system-settings/+bug/1375945

Tested in

system-image-cli -i
current build number: 263
device name: mako
channel: ubuntu-touch/utopic-proposed
last update: 2014-09-30 07:59:46
version version: 263
version ubuntu: 20140930
version device: 20140929.1
version custom: mako-0.6

system-image-cli -i
current build number: 78
device name: krillin
channel: ubuntu-touch/ubuntu-rtm/14.09-proposed
last update: 2014-10-02 15:08:43
version version: 78
version ubuntu: 20141002
version device: 20141002-d5938d7
version custom: 1411735617