Use SystemSettingSwitchPreference.

Change-Id: I14fe1c9b1c5ead1ddb20c61ba080bb005f2130d7
Settings: Show Baseband version on MSIM devices

Change-Id: Ie527e224e2c2197ff5d46abbcf8401439df12472
Fix FC when trying to adjust radio band via *#*#4636#*#* dialer code.

Fixes:

1. Add additional strings to BAND_NAMES array for additional bands from ril.h
2. Fix logic when adding band strings to selection list (for loop ends before entire array is read)

Change-Id: I5ff883a469f757a30c71d7d72c8f6ace19ce7a4d
Signed-off-by: Andrew Xie <andrew.w.xie@gmail.com>
(cherry picked from commit 4845045bb2dfd9b1a67f9f0c62bb44bfc5152284)
Settings: Conditionally remove Buttons tile from Dashboard

Change-Id: Iaddd3dd87ea2b0b04e3f312a156a6a25a948d039
Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
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