PrivacyGuard: Specify a default value in Settings.getInt method call

* While privacy guard is enabled by default, the default value specified
  here is returned only when the setting is not defined or not an integer.

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

Change-Id: Icb9c1183980936df3e33de45b581e2af29085fa9
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)
Add option to view rambar in GB instead of MB 2/2

    Credit goes to chrisc93 for the code.  I simply added necessary code
    to make this a configurable option from settings menu.

Change-Id: Ie1dcf90b622febc89de85fe55c5d54f65219ea96
Signed-off-by: scott <scott@ubuntu>
double-tap to sleep

Change-Id: I009f73f4d01555ccab9ba607d26bce1aa8ea9462
Signed-off-by: scott <scott@ubuntu>
Add option for misc lockscreen feature menu
Includes the following:

* Transparency
* Rotation
* Blur effect
* ability to set blur effect strength

Most of the source was pulled from vanir.  Thanks guys!

Change-Id: Ia51590bbfece55e834d52a3edeef73c314aa2d6b
Signed-off-by: scott <scott@ubuntu>
settings: Add option to toggle the pointer icon when using stylus

Forward-port to CM-11.0

Change-Id: Ib9c22ecb05cc698ead5bfffa34d2a2ffa9c21e13
Signed-off-by: scott <scott@ubuntu>

Conflicts:
	res/values/cm_strings.xml
Stylus gestures features (2/2)

Forward-port to CM-11.0

Change-Id: I0ab78f1129d2d04b0af21e9b38da027dfe3d1295
Allow tablets to send SMS if enabled in device overlays (1/2)

Change-Id: I51771c28415352ee0838fa1507a1461c652d56e8
settings: fix exception in BatterySipper.getQuickNameIconForUid

placeholder

Change-Id: I4da880532788de78debffe594faf08eee0389014
Always show band 0

None of the phones I tested ever displayed Automatic band selection as a
choice, probably because no baseband is going to report it supports
mythical band 0. Make sure it is always displayed.

Change-Id: I5082b04ee63a2916941fd1db40762fa990d59583
Improve app op details layout.

Change-Id: I38a2c3679633ae85aec61703ab933410775bb336
[2/2] Forward port power connect/disconnect notification support

Original commit info:

    [2/2] Power connect/disconnect notification support

    part 1/2: frameworks/base PowerUI and Settings
    http://review.cyanogenmod.org/#/c/35241/

    part 2/2: packages/apps/Settings Sound settings
    http://review.cyanogenmod.org/#/c/35242/

    Change-Id: I7ddd8a47ae4f9a62c586023d151ac42bbe8424c7

    Power sound notifications: fix ringtone picker title

    Change-Id: Ied0a08ec1607b778324e69a7b40bac056235bebf

    Settings: Rename 'Power sounds' to 'Charging sounds' and add summary

    Change-Id: I1cb872917e2d03f0a1c77c25c27f2a0496f9bc05

Change-Id: Ibde52fcd6fd0fabc9eeefc7e6f5a3971527285d7
Signed-off-by: scott <scott@ubuntu>

Conflicts:
	res/values/cm_strings.xml
Settings: Forward port sound settings

Squashed port of the following commits:

Forward port miscelaneous audio features
This commit adds:
 - Silent mode
 - Volume panel style (ptunstall)
Change-Id: I21742ab94e45407111794b5868d9b4f14d7488da

Settings: Call Ring mode what Google calls it, not Silent mode (1 of 2)
Silent mode -> Ring mode cleanup
Change-Id: I4c0c182d59ebeb9e2372a24131506f1a111fe33f

SoundSettings: Show DSPManager
Change-Id: I199150b82c6f5eb72f419dc8c70fb27ed24fbfda

Notification sound-to-vibration conversion toggle
Allows to change the new feature of AOSP 4.2, where all notification are
changed to vibrations on vibrate mode. Instead, allow the old behaviour
to silence sound notifications and to only play vibrations if desired.
Change-Id: I267fc4b62ff045f305cf29c1b4f365e91f7cf1db

Feature : Volume adjust sound preference 2/2
This patch allows the users to choose if they want the audible tone when adjusting the volume
Change-Id: I6d43cba83bf4cf10f2d50502e7cee5408a73c520

Add an option to allow a (subtle) notification vibration during calls.
Change-Id: I7dfbb64334e0e8e7f98d38bf503c053ff1880658
JIRA:CYAN-1550

Hide Volume adjustment sound if it's not supported
Change-Id: I8c21c04135ac8d22208c8a2c2feff3863bd43cc0

Allow to hide Vibrate on notification option if it's not supported
also improve codes for need voice capability

Change-Id: If99335301af80c5f5d2c1ed3c20430cb363a690c

Make sure to not crash if DSP manager and/or development apps are
deactivated or deleted.

Change-Id: I92ea5a44bedbb036d59dde11e83052338e9765e8

Cleanup: Use a helper class for system setting binary toggles.
Change-Id: Iad7f8a6bf85b23223e1def18e8c9eaa0f8dd253c

Cleanup: Don't use getApplicationContext() where not needed.
Change-Id: Ie2232857cf88c98c9f2b76996a500e3d3696e6e2
Signed-off-by: Arnav Gosain <nolinuxnoparty@gmail.com>
Signed-off-by: scott <scott@ubuntu>

Conflicts:
	res/values/cm_strings.xml
Merge remote-tracking branch 'upstream/kk44' into kk44

Conflicts:
	src/com/android/settings/slim/privacyguard/PrivacyGuardPrefs.java