Fix: Even when the list is entirely unchecked there may still be components
which are still protected and need to cleared when Reset is triggered.

https://jira.cyanogenmod.org/browse/BACON-679
https://jira.cyanogenmod.org/browse/CYAN-4835

Change-Id: Ifee3e8b87be39769aedfed0f9a5bda366c67ee45
(cherry picked from commit 700473b680f572adf7f599b2cd6b0bfe5c2c1941)
ProtectedApps pattern lock for landscape mode.

Change-Id: I9ef70a0e363d4d17510188d24f4742f458fba38e
(cherry picked from commit cfa67bc11300e6df1963d40e718d3e6646209cd1)
Fix keyboard opening on pattern entry.

For protected apps, on some devices (consistent repro on flo), the soft
keyboard will open every time you enter the LockPatternActivity. Fix
this by setting the keyboard state to hidden in the manifest for this
activity.

Change-Id: I56fb6644cacd7a05100199637b1a27159ca04829
(cherry picked from commit 65ff49a8a6ddcdfb66c1c59fc98bac4913feefe4)
Wifi Country code

Change-Id: Ic57d5f86e63e0fadd69d98c282a1e81360d5c6ae
(cherry picked from commit 16f777da54f287158de3229d094c570cc3af9f69)