[2/2] settings: Change density on the fly

Change-Id: Ifd036c75f0423c334f8e25aaf6b3229833e779d7

Conflicts:
	res/values/liquid_strings.xml
	src/com/android/settings/liquid/InterfaceSettings.java

Conflicts:
	res/values/slim_strings.xml
	src/com/android/settings/slim/InterfaceSettings.java

Conflicts:
	AndroidManifest.xml
	res/values/slim_strings.xml
	res/xml/ioscheduler_settings.xml
	src/com/android/settings/slim/InterfaceSettings.java
Add strings
Revert "[2/3] TeloRadio"

This reverts commit d78992568a8219119973bfc711d88057734c1358.

Conflicts:
	res/values/cr_arrays.xml
	res/values/cr_strings.xml
	src/com/android/settings/ldroid/TeloRadioBoot.java
	src/com/android/settings/ldroid/TeloRadioSettings.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

Conflicts:
	res/values/config.xml
	res/values/ldroid_arrays.xml
	res/values/liquid_strings.xml
	src/com/android/settings/DataUsageSummary.java
	src/com/android/settings/fuelgauge/PowerUsageSummary.java
Easy way to add checkbox preference settings

Thanks CM
Refactor
[SQUASHED] Active display [2/2]

PS2:
Add pocket mode option, available if the device has
a proximity sensor.

PS3:
Add option to include ongoing and non-clearable notifications.

PS4:
Allow brightness control from 0% to 100%

PS5:
Refactor for release

Change-Id: Iae55640a31df68542c2af5d95097811b8fb1f66f

Conflicts:
	res/values/arrays.xml
	res/values/strings.xml
	res/xml/system_settings.xml

Active display: Add options for date and am/pm [2/2]

Change-Id: I6af47b2fd47e77398eee98cc6e30b8fcf1a44d45

Conflicts:
	res/values/strings.xml
	res/xml/active_display_settings.xml

Active display: Add sunlight mode. [2/2]

Change-Id: I513c2ef1555ca48dfb553f80ca687d1ca9f27c55

Conflicts:
	res/values/strings.xml

Active display: allow hiding low priority notifications. [2/2]

Change-Id: I244743ed1a32f59065af3c4507f4132b7d3b0d72

Conflicts:
	res/values/strings.xml

Active display: Allow apps to be excluded from being displayed [2/2]

Change-Id: Ieb6368c050f5b46eec7398ab0162dc4fbf00a392

Conflicts:
	res/values/strings.xml

Active Display: Add always show pocket mode. [2/2]

Change-Id: I6f791c5727e98749780a5e9996e20d387ed98fa6

Conflicts:
	res/values/vendor_arrays.xml
	res/values/vendor_strings.xml

[2/2] OmniGears: Pimp up ActiveDisplay

Base part: https://gerrit.omnirom.org/#/c/2819/

Change-Id: I8abf7a3018e7e0168860861ac240975cd1f8a2b0

Conflicts:
	res/values/custom_arrays.xml
	res/values/custom_strings.xml
	res/xml/active_display_settings.xml
	src/com/android/settings/liquid/ActiveDisplaySettings.java

[2/2] OmniGears: Fix pimp up ActiveDisplay

Base part: https://gerrit.omnirom.org/#/c/3380/

Change-Id: Ief2aa6802ad25a86b49d06bab1b9e34140dc5db5

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

[2/2] OmniGears: ActiveDisplay (rework interface)

really fix AD buggy stuff
tested with Music play
tested with No lockscreen
tested with faster screen turn off
check all sensor going off if AD not Showing or Disabled
fix notification posted/removed
make AD using System Window so it will covered all screen
fix Navbar translucent if Lockscreen Blur merged :P
now using Rounded Image
also introduce new RoundedImageView widget
 courtesy of @vinc3m1 (thanks)
fix build
fix sometimes screen turn off after unlock because screen timeout (hopefully)
now using new parser to get Notification data (thanks @Achep for the parser)
rework lightsensor manager
add NotificationUtils
fix brightness sometimes not changing

add support applications privacy mode (will not show content message if enable on each app)
see http://jira.omnirom.org/browse/OMNI-600

allow bypass AD if no notification and lockscreen is secure
see http://jira.omnirom.org/browse/OMNI-594

fix proximity always enable after adding new feature allow bypass AD
fix parsing notification data from app with targetSDK < 17

fix excluded app value (no body notice this broken since AD merged into OmniRom xD )

add option to allow bypass AD

rebased
change string to better explanation for feature
thanks @Pulser and @Jiangyi

Change-Id: Iec1915ec5faeaaa6b599916bd4195ed59f2e1653

Conflicts:
	res/values/custom_strings.xml
	res/xml/active_display_settings.xml
	src/com/android/settings/liquid/ActiveDisplaySettings.java

[2/2] OmniGears: more improve Active Display

1. fix http://jira.omnirom.org/browse/OMNI-651
2. fix http://jira.omnirom.org/browse/OMNI-641
3. add http://jira.omnirom.org/browse/OMNI-652
4. Add option Double tap to sleep every where
5. Add option to show and choose wallpaper behind active display
6. Allow to show numbers of notification on Handle
7. minor improvements
8. add battery circle around handle

PS8
string rework

PS9
recalc brightness to % value

Change-Id: Iceaae6eecbdd3dbce4347b2e3994272b10f3c490

Conflicts:
	res/values/custom_strings.xml
	res/xml/active_display_settings.xml
	src/com/android/settings/liquid/ActiveDisplaySettings.java

Remove active display wallpaper option

[1/2] OmniGears: Active Display add shake event

PS11: Fix strings

- correct dependency option
- added option to bypass Quiet Hours (default now is not , that is 'privacy is first' decision)
- added option to configure time between shakes
- added option to set disable timeout
- added option to run like "PA PEEK"

PS12:
-disable default event with the other shake settings
-simplify titles

Change-Id: Ibdf35b1e323fa15bf2e5da9ca8225533cd4c42c4

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

OmniGears: AD brightness - do your math homework max :)

http://jira.omnirom.org/browse/OMNI-752

Change-Id: Ibb123378c47a6e4c337740c95d5eb4eead4cd4b5

Conflicts:
	res/xml/settings_headers.xml

Conflicts:
	res/values/ldroid_arrays.xml
	res/values/liquid_strings.xml
	res/xml/settings_headers.xml
Implement kernel tweaker performance menu

Credit: AOKP / Dirty Unicorns / Omnirom

Conflicts:
	res/values/liquid_strings.xml
	src/com/android/settings/Settings.java
Alternative default app pick [2/2]

Also some cleanup to headers and refactoring
Add missing imports
Add Changelog and clean up some
Multiple commits:

1. Option to disable fc messages
2. IME animations
3. Scrolling animations
4 Some cleanup
Add strings
Add Battery Tile
Add back PropModder and configurable init.d support

Signed-off-by: dragon <dragon7780@hotmail.nl>

Conflicts:
	res/values/slim_arrays.xml
	res/values/slim_strings.xml
	res/xml/fusion_settings.xml

Conflicts:
	res/values/sl_arrays.xml
	res/values/sl_strings.xml
	res/xml/limpio_settings.xml

Conflicts:
	res/values/ldroid_strings.xml
Add missing strings

Conflicts:
	res/values/ldroid_strings.xml
Add Drive mode

Signed-off-by: dragon <dragon7780@hotmail.nl>

Conflicts:
	AndroidManifest.xml
	res/values/fusion_strings.xml
	res/values/slim_arrays.xml
	res/xml/fusion_settings.xml

Conflicts:
	AndroidManifest.xml
	res/values/sl_arrays.xml
	res/values/sl_strings.xml
	res/xml/limpio_settings.xml

Conflicts:
	AndroidManifest.xml
	res/xml/ldroid_general_settings.xml
	res/xml/ldroid_vault.xml
	src/com/android/settings/ldroid/GeneralSettings.java
L-Droid Download Center

Change-Id: Ibd82a1309ab70d4686f90d7c8c3c357011bf00f8

Conflicts:
	AndroidManifest.xml
	res/values/crom_strings.xml
	res/xml/crom_lab_prefs.xml

Conflicts:
	AndroidManifest.xml
	res/values/sl_strings.xml
	res/xml/limpio_settings.xml

Conflicts:
	AndroidManifest.xml
	res/drawable-hdpi/ic_ldroid_halo_options.png
	res/xml/settings_headers.xml
Fix build
Partition information menu

Credit and Thanks to nobodyAtall

Change-Id: I4859db251883181947e0e96c3d4969a27da9de62

Conflicts:
	res/values/strings.xml

Conflicts:
	res/values/strings.xml