Framework: Speaker proximity only while in call (1/3)

Gives the option to only enable the speaker proximity
        feature during incall (speaker won't turn on
        while the phone is ringing, but will turn on
        after you remove the phone from your face, only
        after the receiving party has answered the call).

Change-Id: I3464f256c9b085b515f3614132eb76d3db04e41b

Conflicts:
	core/java/android/provider/Settings.java
Framework: Enable Speaker on Proximity (1/3)

restoring abandoned commit from:
    https://gerrit.slimroms.net/#/c/15838/

Change-Id: I7f59306814d67d36cfc27c2ce9a64c242bd6581d

Conflicts:
	core/java/android/provider/Settings.java
SettingsProvider: fix load protected sms setting logic

The method assumed a string resource, but we are working with
string-arrays.

Change-Id: I7d03821c5f5ac5d24445e5c03f7911c3a81c16dd
Signed-off-by: Roman Birg <roman@cyngn.com>