Settings : Hardware key rebinding (2/2)

Change-Id: I1a0546f358e787a9c6ab12024e34255475259424

Conflicts:
	res/values/cm_arrays.xml
	res/values/cm_strings.xml
Improve translatability of summaries.

Change-Id: I362b335cbe219d6e371a458c9d50fcd66bdf19fe

Conflicts:
	res/values/cm_strings.xml
Introduce SystemSettingsCheckBoxPreference

  -Originally part of a3342e2 (Add back notification
   light settings.)

Change-Id: I474a14a1b395407f5ca273a5d6a3a7f03f7e4698
Settings: Catch NPE caused by attempting to invoke virtual method  on a null object reference

Change-Id: I86ae0f7b46b12533190228404e0bed406d85b2e6
Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
Settings: add "advanced" menu to Display/TapToWake

          Forward TapToWake from CM11

          Contains Commits:

          Author: Ricardo Cerqueira<cyanogenmod@cerqueira.org>
          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".
          Change-Id: I6facc2334ff9e80077581c54c428476594e91528

          Author: Roman Birg <roman@cyngn.com>
          Settings: set proper default value for tap to wake

          The first time the display_settings.xml file gets inflated, the
          PreferenceManager takes the defaultValue and persists it in the default
          shared preferences file.
          When we read the double tap to wake preference,
          we assume it has a default value of true, which it uses until the user
          enters Display Settings for the first time. At that point, the default
          value is persisted, and every boot after will use the default value in
          display_settings.xml.
          Remove the default defined in the XML file.
          Change-Id: I0989dd73b6b3c42ff8649bc17eebf4e191293ee4

Change-Id: I271390aa7bfc56811dcf6fff7e1d05c76c4bfa48

Conflicts:
	res/values/cm_strings.xml
Settings: Add Advanced reboot (1 of 2)

This commit adds a setting in Development settings for including options
in the power menu for rebooting into recovery or bootloader, defauled to
off.

When enabled, the Advanced reboot options will only be available once the
device is unlocked.

Change-Id: Ib77f0be178d15131b99adbe0abb6ba18b2b7c0b6

From: jackmu95 <jacob.mueller.elz@gmail.com>
Settings: Move 'Advanced reboot' to other position

This commit moves the 'Advanced reboot' checkbox one item down
because it looks a bit strange as first element in the list IMHO.

Before: http://goo.gl/jhw8h
After:  http://goo.gl/X3H68

Change-Id: I26d4a5caba3e720b952ec405e200c1528f7a7321

From: ThiagoVinicius <thiagovfar@gmail.com>
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.

 - No need to have resetAdvancedReboot(), as it is already
   reset by the "unckeck all checkboxes" logic.

Change-Id: If5d88d220d2a17d6e172b2f54facd4afa3bae904

Conflicts:
	res/values/cm_strings.xml
Settings: Fix wifi developer options summaries

Change-Id: I85688d59685d3a0b0a48e51581eee77ebc7cd2fa
Settings: add Personalization category and status bar brightness setting

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

Conflicts:
	res/values/cm_strings.xml
Settings: add quick-quick settings pulldown setting

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

Conflicts:
	res/values/cm_strings.xml
Settings: add double-tap to sleep in Advanced Settings

Adapted for cm-12.0

Conflicts:
	res/values/cm_strings.xml
	res/xml/display_settings.xml
	res/xml/status_bar.xml

Change-Id: I910eb6624536b437d0bf14f64c1eeacafaa59cfa

Conflicts:
	res/values/cm_strings.xml
Settings: Add Superuser entry

Squashed commit of the following:

Author: Koushik Dutta <koushd@gmail.com>
Switch to new Superuser
Change-Id: I9d91392ad6fbc9953d19059ab59b91d214c00e0c

Author: Danny Baumann <dannybaumann@web.de>
Hide Superuser entry if root access for apps is disabled.
Change-Id: Ibb77ba5a0fccf22564a26b8b1e13f7762c65718e

Author: Ricardo Cerqueira <cyanogenmod@cerqueira.org>
Development: Root for apps is unavailable if the su daemon isn't running

The superuser options are tied to the Superuser app variant we use,
which in turn is tied to the su daemon. No daemon, no menu options.
Change-Id: I41d58e62986759336ab38e67f26a558c2eed5aa3

Change-Id: I9d91392ad6fbc9953d19059ab59b91d214c00e0c

Conflicts:
	AndroidManifest.xml
settings: port IME selector notification toggle (1/2)

Change-Id: Idb29f94aa4be51166b24b59930428401ddd7416b

Conflicts:
	res/values/cm_strings.xml
display: Make advanced settings a category

This was a separate screen but it's too empty for that, let's make
it a category like in CM11 for now. If it ever becomes a separate
screen it needs its own fragment so that navigation is possible
via actionbar.

Change-Id: I4b1f3e78a013412d5e39847683ca622dc76b9fa1
Settings: Add proximity wake option

Ports and combines:

http://review.cyanogenmod.org/#/c/66658/
Settings : Add preference for proximity wake

http://review.cyanogenmod.org/#/c/69347/
Proximity Wake-Up : adjust strings

http://review.cyanogenmod.org/#/c/69803/
Settings : Make proximity opt-in

Change-Id: Iea0853eccf764438c7aaac76afd13c364fcea0ec

Conflicts:
	res/values/cm_strings.xml
Settings: Port "Development shortcut" (1/2)

New setting under "Debug settings" that enables the development shortcut
Change-Id: I9a43e611911f2e278605715f714860ad11236fd9

Modify the Development shortcut help text
Change-Id: Iaa6d87f5044a46e8c0f8d88a4fc9bf9a494188b8

Change-Id: I9a43e611911f2e278605715f714860ad11236fd9

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