Add hardware tunables (gamma, color, vibration strength).

PS2: rename Eos package based device settings header to legacy_device_settings

Change-Id: I44e3e4e6cb444498a7c56048618cd92a0e2b8e59
Settings: Add default value for display color control (2/2)

Change-Id: I50b684abe504c21ef49492f99b18873d75509697
DisplayColor: Properly handle a minValue

* Previously setting anything as a minValue would cause the
  percentages to get out of whack. For instance, setting it to 35
  would cause the maximum percentage to climb above 100% as well
  as still allowing the value to be set lower than the min.
* This makes the maximum for the slider the max value minus the min
  (so we get the proper spread for min to max) and then adds the min
  back on before setting so we can't possibly go below the min.

Change-Id: I8dcdc422f54847940351fae10c74af6301d1e1be
Remove 'More device settings' menu

Conflicts:

	res/xml/display_settings.xml
	res/xml/more_device_settings.xml
	res/xml/settings_headers.xml
	src/com/android/settings/DisplaySettings.java
	src/com/android/settings/Settings.java
	src/com/android/settings/SoundSettings.java
	src/com/android/settings/cyanogenmod/MoreDeviceSettings.java

Change-Id: I86cd84f6f6c408b26c04d92529e9a031c4fed1f7
settings: Move headset option, hide MoreDeviceSettings if empty

 * This option fits much better in the sound menu under "automation
   and effects", and on many devices it's the only option in the
   "More..." menu under Tap & Pay.
 * Move it, and remove the MoreDeviceSettings top-level category if
   there's nothing else in it.

Conflicts:

	res/xml/more_device_settings.xml
	src/com/android/settings/Settings.java
	src/com/android/settings/cyanogenmod/MoreDeviceSettings.java

Change-Id: Idd82f582a1ba54f8b45fbd4fbe631057e9515f86
Bring in CM boot receiver credit @cyanogenmod

Change-Id: Ic7d054b95b291d2263c9872ed7cb3c8145ecd4e8
Settings: Long Term Orbits (LTO)

Ported from http://review.cyanogenmod.org/#/c/51422/3

Signed-off-by: Jorge Ruesga <jorge@ruesga.com>

Conflicts:

	res/values/cm_strings.xml
	src/com/android/settings/cyanogenmod/BootReceiver.java

Change-Id: Ia1fdf9e0ffa401f64ee9a5c130ed10709d930eb7
Settings: use CMHW serial number for MSim

Change-Id: I2cb7f841699d79259711309fb6fd2de00bc8da75
settings: Put MSIM files in the right place

Change-Id: I1e989d710510aff257f5ae3f6f402bb993b8da72
Look for the msim settings in the new location deviceinfo/msim

Change-Id: I4e81b9c895b11e0a851ad81601271888dfd4f855
Settings: Add screen color settings

Add "Screen Color" item in settings.
This function support set Hue, Saturation, Contrast and Intensity value,
and screen color will be changed by this settings.

Conflicts:

	AndroidManifest.xml
	res/values/colors.xml
	res/values/config.xml
	res/values/strings.xml
	res/xml/display_settings.xml
	src/com/android/settings/DisplaySettings.java

Change-Id: If6f6e7ee7f28862476a8b955cd3252175fefa2a1
DisplaySettings: Add hardware-framework support for color enhancement

Conflicts:

	res/xml/display_settings.xml
	src/com/android/settings/DisplaySettings.java

Change-Id: I9fa4e7409266ce9e658c93ae32940050cfe437d2
Settings : Fix CustomScreenColor when picking an image

Change-Id: I510b562eb0e9fb9b558380db5c5d6e818ba17d12
Settings: AdaptiveBacklight support

Add support for adaptive backlight technologies like NVIDIA SmartDimmer, QCOM CABL or Samsung CABC.

Patchset 2: Use internal shared prefs to store the smardimmer setting
Patchset 3: Rename to AdaptiveBacklight
Patchset 4: Reorganize settings and strings to follow design guidelines
Patchset 5: CleanUp
Patchset 6: Added suggestions
Patchset 7: Sync default value. CleanUp.

Depends	on http://review.cyanogenmod.org/#/c/48465/

Conflicts:
	res/xml/display_settings.xml
	src/com/android/settings/DisplaySettings.java
	src/com/android/settings/cyanogenmod/BootReceiver.java

Change-Id: Ib0e05770bf90b664a00e65f46d32cc9a07be1377
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>

Change-Id: Ib0e05770bf90b664a00e65f46d32cc9a07be1377
DisplaySettings: Add hardware-framework support for tap-to-wake

Since we have tap-to-sleep globally, might as well support the
wake gesture as a standalone thing through the HAF. Place it in
"Display".

Conflicts:

	res/xml/display_settings.xml
	res/xml/system_ui_settings.xml
	src/com/android/settings/DisplaySettings.java

Change-Id: I6facc2334ff9e80077581c54c428476594e91528
MSIM: Ui fixes, replace Subscriptions with real operator names

Add Sim slot number after Operator name and check
for SIM_STATE_ABSENT and display No SIM instead of NULL

Conflicts:

	res/values-af/cm_caf.xml
	res/values-ca/cm_caf.xml
	res/values-cs/cm_caf.xml
	res/values-da/cm_caf.xml
	res/values-de/cm_caf.xml
	res/values-el/cm_caf.xml
	res/values-es/cm_caf.xml
	res/values-fi/cm_caf.xml
	res/values-it/cm_caf.xml
	res/values-iw/cm_caf.xml
	res/values-nl/cm_caf.xml
	res/values-pt-rBR/cm_caf.xml
	res/values-pt-rPT/cm_caf.xml
	res/values-ru/cm_caf.xml
	res/values-sk/cm_caf.xml
	res/values-tr/cm_caf.xml
	res/values/arrays.xml
	res/values/cm_strings.xml
	res/values/strings.xml

Change-Id: I2a340487fcb01dde1a50f5a45c71cd61711380c3
Settings: Fix for missing notification volume slider in Volume panel.

Change-Id: Icb9c1183980936df3e33de45b581e2af29085fa9
Add an option to change the device hostname (2/2).

This adds an option to modify the device hostname used
in ip resolution. This is useful when connecting to the
android device in a dynamic dhcp environment.

Conflicts:

	res/values/strings.xml
	res/xml/development_prefs.xml

Change-Id: Ibc145b74036617248d4f33c6866cc9c8a8cc8974
Settings/Wifi: Add support for Ad-hoc (IBSS) networks

If the WLAN driver can support IBSS mode, show Ad-Hoc (IBSS) networks in the
list of available Wi-Fi networks and allow to connect to or create new Ad-Hoc
networks.

This is merged and ported from CM-10.2, where it was split up into 3 commits.

Change-Id: Ib58d05d05ce00a77d5b88ee57007d38798d7b43d
Post code-move cleanup

-- Add bootreceiver to manifest
-- Fix display_settings.xml
-- minor code fix in DisplaySettings.java

Change-Id: I80ee0486d551dd5b19b0971e57307ef0dee3a3f7