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)
(cherry picked from commit 3c22553636e0afdcc557dd2e6163951d38567f5b)
Support the signed-builds FOTA updater, too

Change-Id: I2724881d6252ce7ce17ed9b3cfa94f6fecae1f7d
DeviceInfoSettings: Use ro.cm.display.version instead of ro.cm.version

Follows the same logic as ro.build.display.id/ro.build.id:
engineering, debug and unsigned builds will have no distinction,
user and signed builds will show a simplified version

Change-Id: I713ccb2445ea2e333e831129ef7733fd518282eb
(cherry picked from commit f9ae9cfcac2cb6b767775e42b400a7d3ea6a5530)
Bluetooth: Don't set a null alias before unpairing

* This causes the unpair action to throw a null pointer exception and
  bring down the Settings app. Don't do this.

Change-Id: I0c60437f5ea934385a037a464743e24c9d341aca
(cherry picked from commit df1f9797eb380f9d1acbfd0967b66929f5b35466)
Merge remote-tracking branch 'github/cm-11.0' into HEAD

Conflicts:
	src/com/android/settings/BandMode.java

Change-Id: I5c04871bc459e3db8609dab305c63c6e0ffd07a9
Unbreak PIN/Password lockscreen options

Change I0211deea61b2d5b048deb118c30fc1397a56d3ee slightly changed
the validation conditions for this case, fixit.

Change-Id: I6219f47f4b0acb87b5d8d4a121480b09a8aa12b2
Settings: Don't hide home category if user has a settings capable launcher

By default the settings app hides the home category if it notices the user
has 1 launcher. Due to the ability to have settings per launcher, if the
user only has one launcher which happens to support settings, hiding this
category renders that feature useless.

So now we check if the user has < 2 launchers AND whether they support
a settings panel.

Change-Id: Id5dd94091a31fd9ee3637e0975816481903255bf
(cherry picked from commit 02381bcd8be82060d43e190352245ca2367ddd65)
settings: fix battery stats

* Use the new dock stats parcelable creator

Change-Id: I4f1ac0b2b7181f0c9c023795acf1671f7b9e9820
JIRA: CYAN-3127
Issue: https://jira.cyanogenmod.org/browse/CYAN-3127
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Merge remote-tracking branch 'github/cm-11.0' into HEAD

Conflicts:
	src/com/android/settings/SecuritySettings.java

Change-Id: Ifc2f0b6fbfad6e17a91b1923a3e922d8f14bbc7c
Merge remote-tracking branch 'github/cm-11.0' into HEAD
Merge remote-tracking branch 'github/cm-11.0' into HEAD
Use SSL for submitting stats

Change-Id: If830c05ee121d3951ffcf34cd3bbd499c5107f1d
(cherry picked from commit cad7127a84ed1d384470b5088f8f82b19afbaf4f)
Merge remote-tracking branch 'github/cm-11.0' into HEAD
Merge remote-tracking branch 'github/cm-11.0' into HEAD
Merge remote-tracking branch 'github/cm-11.0' into HEAD
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
(cherry picked from commit 3b89d5bd97e57403d869a032abc0eab23aa7cf9d)
Add Entrypoint for theme sounds

Change-Id: I6da2fa782b9b88fc669144eb50c3231d031cd620
(cherry picked from commit 12d2189d0a9eb7df2ce7ef13b0a451359ffea0bc)
Merge remote-tracking branch 'github/cm-11.0' into HEAD
Settings: lockscreen wallpaper crash fix

If a user backs out fast enough after setting a
custom wallpaper, the fragment becomes detached
from the activity, so any calls to getActivity()
were throwing exceptions.

The solution is to use the application Context
for toassts to still inform the user of the
status, and not update any UI elements
after the fragment is no longer attached.

Change-Id: Ia9f61184fb484d3af25565bc3c56e8b7b63ff4eb
Signed-off-by: Roman Birg <roman@cyngn.com>
(cherry picked from commit 67b8c1cc419fc82be662e8c72f24d281cbc8a5b3)
Settings: remove screen-off animation checkbox

Instead of having a separate checkbox on whether to
enable an animation, let's collapse it into the listview
preference. Now the user is presented with 3 options:

* Disabled
* Electron beam
* Fade out

Change-Id: I8bdcfbf5eba6b639eecabe22ad9b78b642f636df
Signed-off-by: Roman Birg <roman@cyngn.com>
(cherry picked from commit 0297b9c9621ea049b4e9af04eae70283f2a65e44)