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.

Change-Id: Ibc145b74036617248d4f33c6866cc9c8a8cc8974
Settings: Fix wifi developer options summaries

Change-Id: I85688d59685d3a0b0a48e51581eee77ebc7cd2fa
Developer Options: launch the Development app

Change-Id: I0f798d197888ef7f40688009536040e061c410f4
Settings: Hide Development settings when it is turned off

This commit hides the Development and Performance settings items
when the user turns off Development settings. This sets things back
to tapping x number of times on the build number to once again enable
developer settings

Change-Id: I6003f73f5abee54bb000f01757ecffe7b68dba59
Development Settings: fix setting reset on disable

When Development Settings are disabled, some settings are
reset to values other than the default. This fixes it.

 - Adb notify should reset to enabled

 - Verify apps over usb should reset to enabled

Change-Id: Ifa1ee25cfab32b7a236e02055006f0d2a4b07f37
Merge remote-tracking branch 'github/cm-12.0' into cm-12.0-Exp-2
Settings: Do not rely on isRotationLockToggleVisible

on special situations it happens that the entry gets removed due that isRotationLockToggleVisible returns false.

Fix it with checking if we have general rotation support (isRotationSupported(Activity))

Change-Id: I05913352dfea764a7242d1c6d49cdee1779f4880
Settings: Accessibility - We want consistence...change from CheckBoxPreference to SwitchPreference

Google changed it on all main settings. It does not make sense that on system settings
the old CheckBoxes are still used.

This commit changes all CheckBoxes in accessibility settings to Switches

Same needs to be done for Date and Time and Developer Settings

Change-Id: I335285270bcb8fa5e6e86f32a099f901e6d44d29
Settings: Date and Time - We want consistence...change from CheckBoxPreference to SwitchPreference

Google changed it on all main settings. It does not make sense that on system settings
the old CheckBoxes are still used.

This commit changes all CheckBoxes in Date and Time settings to Switches

Same needs to be done for Developer Settings

Change-Id: I5c1f34b813ede998e4fb9dab2a1184a6db51bf79

Restrict to date/time in temasek
Settings: do not crash if development app is not installed

Change-Id: If136b509e8727399b1dcfa42ce5b4043612f868f
Settings: Added choice of 45 seconds for screen timeout, lock screen and dream.

Change-Id: I58cb14776fe9d447b79faf810d7f6142bc058341
Settings: Add Superuser entry

Updated to patchset 9

Change-Id: I157cce58f663ace41736af7b930a20c532f5d8ab