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
Settings: Change labels for MSIM

Change-Id: I5389fef3e0ab974e0ea756a91b4dda53ddef5455
Settings (MSIM): Refactor tab labels to use global sim name

Change-Id: I02d60901d4d16f3b16ede9c34dce8f000a79addc

Conflicts:
	src/com/android/settings/SelectSubscription.java
Settings: Minor string update for msim

Change-Id: I20edc79b291405b44cbf483f615c6473e5934de8

Conflicts:
	res/values/cm_strings.xml
Add support for single color notification LED (2/2)

Change-Id: I4cf21dda3d9e311146149c2ec81fe2398f5f9f87
Settings: update Data Usage summary multi sim title

Change tab names to match the About SIM tabs and Mobile networks tabs as
well.

Change-Id: I401a7a9e57a0f87fd99f6835d5a91b26ff930ad9
Signed-off-by: Roman Birg <roman@cyngn.com>
Settings: Fix sim name derp

Change-Id: I6d58cf2c5c006e52c4e3652eff5acbcbf7c0f118
Settings: Don't use a progress dialog when setting msim data subscription

Change-Id: I60f0c8da0c56bf985aa4dc04e0232b70496f263c
Settings: move getFormattedSimName() to frameworks (1/2)

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

Conflicts:
	res/values/cm_strings.xml
Launch theme chooser that supports cyngn.intent.category.APP_THEMES

If we receive an ActivityNotFound exception we will simply show
the theme settings fragment.

Change-Id: I38bf6857125cdeda310e3bb5614fd6adaba8265f

Conflicts:
	src/com/android/settings/Settings.java
Merge branch 'kitkat' of https://github.com/AOSPA-legacy/android_packages_apps_Settings into AOSPA-legacy-kitkat
B�dzie zabawa z kompilacj� ale Ilovethatshit
Conflicts:
	res/values/cm_strings.xml
	res/values/pa_strings.xml
	res/xml/display_settings.xml
	res/xml/performance_settings.xml
	res/xml/processor_settings.xml
	src/com/android/settings/DisplaySettings.java
	src/com/android/settings/MultiSimSettings.java
	src/com/android/settings/Settings.java
	src/com/android/settings/SoundSettings.java
	src/com/android/settings/cyanogenmod/BootReceiver.java
	src/com/android/settings/cyanogenmod/Processor.java

	modified:   AndroidManifest.xml
	deleted:    res/drawable-hdpi/ic_action_paste.png
	deleted:    res/drawable-hdpi/ic_settings_palp.png
	deleted:    res/drawable-hdpi/ic_settings_performance.png
	deleted:    res/drawable-mdpi/ic_action_paste.png
	deleted:    res/drawable-mdpi/ic_settings_palp.png
	deleted:    res/drawable-mdpi/ic_settings_performance.png
	deleted:    res/drawable-xhdpi/ic_action_paste.png
	deleted:    res/drawable-xhdpi/ic_settings_palp.png
	deleted:    res/drawable-xhdpi/ic_settings_performance.png
	deleted:    res/drawable-xxhdpi/ic_action_paste.png
	deleted:    res/drawable-xxhdpi/ic_settings_palp.png
	deleted:    res/drawable/background_tab.xml
	modified:   res/layout/dialog_light_settings.xml
	deleted:    res/layout/legacy_parts.xml
	modified:   res/values/cm_arrays.xml
	modified:   res/values/cm_strings.xml
	modified:   res/values/config.xml
	modified:   res/values/extras_strings.xml
	deleted:    res/values/pa_attrs.xml
	modified:   res/values/pa_colors.xml
	modified:   res/values/pa_strings.xml
	deleted:    res/values/palp_strings.xml
	modified:   res/values/strings.xml
	modified:   res/xml/display_settings.xml
	new file:   res/xml/display_settings_advanced.xml
	deleted:    res/xml/display_settings_palp.xml
	deleted:    res/xml/general_lp_settings.xml
	deleted:    res/xml/ioscheduler_settings.xml
	deleted:    res/xml/memory_management.xml
	deleted:    res/xml/perf_profile_settings.xml
	modified:   res/xml/settings_headers.xml
	modified:   res/xml/sound_settings.xml
	modified:   src/com/android/settings/DataUsageSummary.java
	modified:   src/com/android/settings/MultiSimSettings.java
	deleted:    src/com/android/settings/PALP/GeneralLP.java
	deleted:    src/com/android/settings/PALP/LegacyParts.java
	deleted:    src/com/android/settings/PALP/extensions/PagerSlidingTabStrip.java
	modified:   src/com/android/settings/SelectSubscription.java
	modified:   src/com/android/settings/Settings.java
	modified:   src/com/android/settings/SoundSettings.java
	modified:   src/com/android/settings/cyanogenmod/BootReceiver.java
	deleted:    src/com/android/settings/cyanogenmod/IOScheduler.java
	deleted:    src/com/android/settings/cyanogenmod/MemoryManagement.java
	deleted:    src/com/android/settings/cyanogenmod/PerformanceProfile.java
	deleted:    src/com/android/settings/cyanogenmod/PerformanceSettings.java
	modified:   src/com/android/settings/notificationlight/ApplicationLightPreference.java
	modified:   src/com/android/settings/notificationlight/BatteryLightSettings.java
	modified:   src/com/android/settings/notificationlight/LightSettingsDialog.java
	modified:   src/com/android/settings/notificationlight/NotificationLightSettings.java
	renamed:    src/com/android/settings/PALP/DisplaySettingsLP.java -> src/com/android/settings/paranoid/DisplaySettingsAdvanced.java
Merge branch 'AOSPA-legacy-kitkat' into kitkat