Settings: Update Legacy Options' Position

PS6:
- Fix imports

PS7:
- Fix layout resources

PS10:
- Test onPrepareOptionsMenu changes

PS13-14:
- Rebase

PS17-18:
- Redo

PS19-20
- Remove CM's Performance Settings, whitespace fix

PS21
- Fix a build error

Signed-off-by: Andre Saddler <ayysir@aospal.com>
Change-Id: Ife7b152a832ebdd9b5eb066158e0d71fc834dc73
Settings: set proper default value for tap to wake

The first time the display_settings.xml file gets inflated, the
PreferenceManager takes the defaultValue and persists it in the default
shared preferences file.

When we read the double tap to wake preference,
we assume it has a default value of true, which it uses until the user
enters Display Settings for the first time. At that point, the default
value is persisted, and every boot after will use the default value in
display_settings.xml.

Remove the default defined in the XML file.

Change-Id: I0989dd73b6b3c42ff8649bc17eebf4e191293ee4
Signed-off-by: Roman Birg <roman@cyngn.com>
DisplaySettings: Update peek pacakge name

Peek package was changed when it moved in the play store

Update it here so the system peek setting is properly disabled

Change-Id: If7acf3c3dd34b965b4a74a0ec9747178c601eda9
Signed-off-by: Evan Anderson <evananderson@aospa.co>
Settings: Add proximity wake-up toggle

Change-Id: I2f2449eb324f61b2f7a93acd91b99f144930e66e
Re-implement headset settings



Signed-off-by: Ayysir <ayysir@aospal.com>
Change-Id: I1ee973bec35d95285a646b86213ced3dd15852ed
Settings: add back some hardware tunables

Change-Id: If55ba3a5f45614cfdf0087e2c57205461a5bbdc6
Settings: Fix carrier/sim slot string logic for msim settings

Original change: http://review.cyanogenmod.org/#/c/74670/
Original author: cretin45 <cretin45@gmail.com>

Change-Id: Ieaf660ec3b937ea7dd26394be343c439fbdfbd80
Settings: Disable mobile network switch if MSIM

Original change: http://review.cyanogenmod.org/#/c/74455/
Original author: cretin45 <cretin45@gmail.com>

Change-Id: Ia676e31eefec3c90cc7e501f4e4766adaaf2955d
Merge branch 'kitkat' of https://github.com/AOSPA-legacy/android_packages_apps_Settings into kitkat

Conflicts:
	res/values/pa_strings.xml
	res/values/palp_strings.xml
	res/xml/display_settings_palp.xml
	src/com/android/settings/PALP/LegacyParts.java
	src/com/android/settings/paranoid/DisplaySettingsAdvanced.java