Port Battery Saver Mode from OmniRom (3/3)

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
Remove Suspend Action (1/3)
Revert "[2/3]TeloRadio"

This reverts commit a5e6451ad1b52194710f159dd2cb51a58e8c6283.

Conflicts:
	AndroidManifest.xml
	res/values/bk_arrays.xml
	res/values/bk_strings.xml
missed
settings: Add blacklist provider permission

Change-Id: I1778451f0e6a42b9734e6482ebdf826874c1100d
JIRA: CYAN-3727
Issue: https://jira.cyanogenmod.org/browse/CYAN-3727
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>

Conflicts:
	AndroidManifest.xml
Settings: Fix VoiceWakeup settings crash

The activity wasn't able to launch because
of this missing entry.

Change-Id: I7a3bee2ce047a27fe16975955b2263aeeb33b8a7
Signed-off-by: Roman Birg <roman@cyngn.com>
Settings: SlimRecents: user configurable default expanded mode (2/2)

A lot requests to customize the default behaviour
auto = like it is now....dependend on the overlay the first tasks are expanded other collapsed
always = always all expanded
never = always all collapsed

Of course still user changes directly in the recent panel counts more then the default settings
behaviour

Change-Id: If4cc010592e60415dd37af1131408d861f0f4e45

Conflicts:
	res/xml/accessibility_settings.xml
	src/com/android/settings/accessibility/AccessibilitySettings.java
bring inline with slim
Settings: Shake to Temporarily Secure (2/2)

PS2: Dependency

Change-Id: I44c2b1ab841b2a6f0d7f637da837806ce4a9d03c

Conflicts:
	res/xml/security_settings_biometric_weak.xml
	res/xml/security_settings_password.xml
	res/xml/security_settings_pattern.xml
	res/xml/security_settings_pin.xml
	src/com/android/settings/SecuritySettings.java
Settings: Lockscreen Shake Security Timer (2/2)

PS2: Derp

Change-Id: I16de5d413227614e27fe1eaca9f2290b080d4bc4

Conflicts:
	res/xml/security_settings_biometric_weak.xml
	src/com/android/settings/SecuritySettings.java
Shake to lock cleanup
Update and fix slim recents panel dependency
Fix inconsistence
Automatic translation import

Change-Id: I3822180bcf36a2121530a50873a723a35227f780

Conflicts:
	res/drawable/button_holo.xml
	res/values-af/cm_strings.xml
	res/values-ca/cm_arrays.xml
	res/values-ca/cm_strings.xml
	res/values-cs/cm_strings.xml
	res/values-da/cm_strings.xml
	res/values-de/cm_arrays.xml
	res/values-de/cm_strings.xml
	res/values-es/cm_arrays.xml
	res/values-es/cm_caf.xml
	res/values-es/cm_strings.xml
	res/values-fr/cm_arrays.xml
	res/values-fr/cm_strings.xml
	res/values-hu/cm_strings.xml
	res/values-it/cm_strings.xml
	res/values-iw/cm_strings.xml
	res/values-lt/cm_strings.xml
	res/values-nl/cm_arrays.xml
	res/values-nl/cm_caf.xml
	res/values-nl/cm_strings.xml
	res/values-pl/cm_strings.xml
	res/values-pt/cm_plurals.xml
	res/values-pt/cm_strings.xml
	res/values-ru/cm_strings.xml
	res/values-th/cm_strings.xml
	res/values-tr/cm_strings.xml
	res/values-uk/cm_strings.xml
	res/values-zh-rCN/cm_strings.xml
	res/values/slim_ids.xml
Prepare for new theme engine
Add new themes items to personalization menu

Bring in logic for the new chooser. If TMO chooser is installed it will get
first priority.

Change-Id: Ia8e852e5e5ad2465d0b9b73f16c7080a7337bb8a
settings: Make mobile settings a first-class citizen

 * Nobody likes carriers, but let's not bury these settings behind
   10 layers of indirection. Many users (like me) who travel often
   will need to access these options frequently.
 * The top level switch disables mobile data.

Change-Id: I1bd4d1116a2c73832230d66c94df2c3c0aacf698

Conflicts:
	src/com/android/settings/Settings.java
ActiveDisplay : add force to show by shake action from OMNI (2/2)
Adjust Location Header
Shake security : bring inline with slim