Gesture Anywhere: Add gesture anywhere feature into the ChaOS Lab [2/2]

Change-Id: I51ead6cc35684104ecc1211df0a598d1a0b816c1

Conflicts:
	AndroidManifest.xml
	res/values/arrays_aicp.xml
	res/values/ose_attrs.xml
	res/values/strings_aicp.xml
	res/xml/aicp_lab_prefs.xml

Conflicts:
	res/values/liquid_arrays.xml
	res/values/liquid_strings.xml
	res/xml/misc_tweaks.xml

Conflicts:
	AndroidManifest.xml
	res/values/liquid_dimens.xml
	res/values/liquid_strings.xml
	res/xml/liquid_interface_settings.xml
Remove borked custom font size option

This is broken due to change LCD density on the fly option
SoundSettings: Hide Ascending ringtone preference if device doesn't have voice capability

Change-Id: I24fb7a1dd509af6e848a155043f561fc225b5f17
FindBugs: Call to equals() comparing different types

Change-Id: If4185f9eec0adfa47a6741eb21111b6cdafac008
Settings: add back SMS security limit

Limit the number of outgoing messages per every 15 minutes by
any application that sends text messages.

PS2-4: Whitespace fixes

Change-Id: Ibb61396ea9adb3f95cdbd13b91cbbc3477f6e361

Conflicts:
	res/values/cm_arrays.xml
	res/values/cm_strings.xml
	src/com/android/settings/SecuritySettings.java
[2/2] settings: Change density on the fly

Change-Id: Ifd036c75f0423c334f8e25aaf6b3229833e779d7

Conflicts:
	res/values/liquid_strings.xml
	src/com/android/settings/liquid/InterfaceSettings.java
[2/2] Squashed: Battery Saver mode

Credit: Squadzone

introduce battery saver mode
this based from what user want or what user do to saving the battery life
this include:
1. Automatically switch mobile network into what user choice and also disable mobile data IF wifi connected to an AP
2. Automatically switch mobile network and disable mobile data IF battery low (battery level can configure)
3. Reduce screen brightness based low battery (this feature will disabled if Auto brightness mode enabled)
4. Not changing network IF on Call or Usb tether enabled or WifiAP enabled
5. Not changing network IF there is Download/upload progress
6. Support For Both GSM and CDMA devices (need someone to test for CDMA devices)
7. every condition has an option :D
8. Restore all network configuration if battery saver mode disabled
9. Add Time Range to start battery saver mode
10. allow device without mobile data support, to using this feature
11. fix inconsistent battery low level
12. rewrite to better performance
13. modified the controller to support battery saver mode
14. add bluetooth, gps, wifi, and mobile data (if support) to be disabled while power saving activated
15. fix build QuickSettings because of LocationController change
16. rewrite to better performance
17. fix brightness value
18. rewrite (again) to allow add more saving mode
19. do delay changing only for POWER SAVING not NORMAL mode
20. add Cpu power saving mode
21. fix Cpu freq value
22. fix call saving state for non user configuration mode
23. fix NPE
24. add kill all task
25. add disable sync

Conflicts:
	res/values/custom_strings.xml

Change-Id: I19502c731b74e82a3873f19f51965ee5a88c1f04

Conflicts:
	AndroidManifest.xml
	res/values/custom_strings.xml
	src/com/android/settings/fuelgauge/PowerUsageSummary.java

[3/3] OmniGears: Battery Saver Mode

introduce battery saver mode
this based from what user want or what user do to saving the battery life
this include:
1. Automatically switch mobile network into what user choice and also disable mobile data IF wifi connected to an AP
2. Automatically switch mobile network and disable mobile data IF battery low (battery level can configure)
3. Reduce screen brightness based low battery (this feature will disabled if Auto brightness mode enabled)
4. Not changing network IF on Call or Usb tether enabled or WifiAP enabled
5. Not changing network IF there is Download/upload progress
6. Support For Both GSM and CDMA devices (need someone to test for CDMA devices)
7. every condition has an option :D
8. Restore all network configuration if battery saver mode disabled
9. Add Time Range to start battery saver mode
10. allow device without mobile data support, to using this feature
11. fix inconsistent battery low level
12. rewrite to better performance
13. modified the controller to support battery saver mode
14. add bluetooth, gps, wifi, and mobile data (if support) to be disabled while power saving activated
15. fix build QuickSettings because of LocationController change
16. rewrite to better performance
17. fix brightness value
18. rewrite (again) to allow add more saving mode
19. do delay changing only for POWER SAVING not NORMAL mode
20. add Cpu power saving mode
21. fix Cpu freq value
22. fix call saving state for non user configuration mode
23. fix NPE
24. add kill all task
25. add disable sync
26. add disable vibrate
27. add disable led

Conflicts:
	res/values/custom_arrays.xml
	res/values/custom_strings.xml

Change-Id: Id289090fa20a38d4fc43c40240148e5f276eb4b6

Conflicts:
	res/layout/separator_label.xml
	res/values/custom_arrays.xml
	res/values/custom_strings.xml
	src/org/omnirom/omnigears/interfacesettings/MoreInterfaceSettings.java

Conflicts:
	AndroidManifest.xml
	res/values/liquid_arrays.xml
	res/values/liquid_strings.xml
	res/xml/ose_advanced_settings.xml

Conflicts:
	res/values/config.xml
	res/values/liquid_strings.xml
	res/xml/liquid_interface_settings.xml
New setting under "Debug settings" that enables the development shortcut

Change-Id: I9a43e611911f2e278605715f714860ad11236fd9

Conflicts:
	res/values/cm_strings.xml
	src/com/android/settings/DevelopmentSettings.java

Conflicts:
	res/values/ok_strings.xml
	src/com/android/settings/DevelopmentSettings.java
Address the 'ART' Issue

Rather than outright remove this completely, address primary concerns:

* Add a more verbose warning message on alert dialog
* Explicitly state experimental form
* Explicitly state not supported (no bug reports)
* Explicitly state issues (crashes, bootloop, etc)

Additionally, move option to 'Apps' header (bottom), as this is it's
primary impact.

See prior discussion: http://review.cyanogenmod.org/#/c/55609/

PS2: Linkify

Change-Id: Icf103b5576c8e93f8a30ccd348476bf207401355

Conflicts:
	res/values/cm_strings.xml

Conflicts:
	res/values/liquid_strings.xml
Only show ART information if switching from dalvik to ART

We do not want to confuse users with a big information dialog, if
they change from ART to dalvik as dalvik is still the official
solution, supported and considered safe.

Change-Id: I0ce4846e0bb751e87e5c410e668d4bc521380141
Fix an NPE in WifiP2pSettings UI

The NPE happens becase we save a references to the group that is to be
deleted, when the confirmation dialog is being shown to the user. We lose
that reference if orientation is changed (because the UI creates a new
WifiP2pSettings to interact with).

The fix is to save the name of the group that is being deleted in
persistent store, and re-select the group based on that.

Bug: 9004915
Change-Id: I1387a5b17fa2773748f4c8b34adddfc9516cfcf3

Conflicts:
	src/com/android/settings/wifi/p2p/WifiP2pSettings.java
Give the OTA app a new home

Conflicts:
	res/values/liquid_strings.xml
	res/xml/device_info_settings.xml
	src/com/android/settings/DeviceInfoSettings.java
Fix one NPE in tethering setting

Once we not declare BT feature, go Setting->more->tethering
will trigger this NPE.
Cherry-picked from AOSP: https://android-review.googlesource.com/#/c/63695/

Change-Id: I4736e7bade261475acda74e26250a81452018ffa
Signed-off-by: Jianzheng Zhou <jianzheng.zhou@freescale.com>
Move vibration multiplier to sound settings
Settings: Remove Wallpaper selection from Display

Let the launcher handle wallpaper selection.

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

Conflicts:
	res/xml/display_settings.xml

Conflicts:
	res/xml/display_settings.xml