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 native java screen recorder [2/2] (WIP)

PS2:
Change framerate related stuff to bitrate since the setting
is actually the bitrate and not the frame rate ;)

Carbon PS2:
Meld vendor_arrays/strings with cr
Carbon PS3:
Fixup for patches merged
Carbon PS4:
Fixup for merge conflict
Carbon PS5:
Fixup, moar merge conflicts

Conflicts:

	res/values/vendor_arrays.xml
	res/values/vendor_strings.xml
	src/com/android/settings/SecuritySettings.java

Change-Id: I416a3c80eb4ba892497ce46afea979290d0460af

Conflicts:

	res/values/cr_arrays.xml
	res/values/cr_strings.xml
	src/com/android/settings/SecuritySettings.java

Change-Id: I416a3c80eb4ba892497ce46afea979290d0460af

Conflicts:

	res/values/cr_strings.xml

Change-Id: I416a3c80eb4ba892497ce46afea979290d0460af

Conflicts:

	res/values/cr_arrays.xml
	res/values/cr_strings.xml

Change-Id: I416a3c80eb4ba892497ce46afea979290d0460af
Screen recorder: add ability to record audio from mic [2/2]

Change-Id: Id64bdc332505a7c7d9bafe76c78032d24630062e

Conflicts:

	res/values/vendor_strings.xml

Change-Id: Id64bdc332505a7c7d9bafe76c78032d24630062e
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
Revert "Single pane for 10" Settings"

This reverts commit 56f51a8927f53bee81145fe29e63af8a87e6fd1b.

Change-Id: If5c7be247caeeb4ec3e0bceed86bc5763d74f927
Improve app op details layout.

Change-Id: I38a2c3679633ae85aec61703ab933410775bb336
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>

Conflicts:
	res/values/cr_strings.xml
	res/xml/sound_settings.xml
Fix Derp
Fix derps.

Change-Id: Ic9bc57f4320f45850cf2961a4f88811c56b04b5e
Fix ScreenRecorder commit / FC

Change-Id: I98a642e3f4676563d39b13ed0d917b0c2c03732b