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