Revert "Revert "wifi: Set the mode at native layer""

This reverts commit 69b60809c4c899bb56062f233c9b8316b7788cd1.
Frameworks: LockBeforeUnlock the new way (1/2)

Due that aosp removed the whole LockBeforeUnlock controll (show slider
lockscreen before an unsecure internal lockscreen) we must try to find another way
without touching the security system itself. Long guess sort solution, lmao

here it is, next SlimBean feature

cheers

PatchSet:
- bring eca button to front in lockbeforeunlock mode to make
  it clickable on slider lockscreen

Change-Id: Iaa247c6baf3c4aa85f5097081de79c9ce901e3a6

Conflicts:
	core/java/android/provider/Settings.java
	policy/src/com/android/internal/policy/impl/keyguard/KeyguardSelectorView.java
Frameworks: Move LockBeforeUnlock -> Secure (1/2)

not really needed because it does not touch the security system.
But imo better from consistence so I decided to move it.

Also found a duplicate in provider.Settings from first porting
merges

cheers

Change-Id: I465d28973e480010bdc4966933e83cf6c0df9990

Conflicts:
	core/java/android/provider/Settings.java
Merge branch 'jb3' of https://github.com/CarbonDev/android_frameworks_base into CB4.3