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: PL translations

Port from cm-10.2 + enter missing elements

PS2: Delete (all i hope) unnecessary whitespaces/tab, carriage returns and fix some errors (thanks Piotr)

PS3: Fixing, fixing (thanks Mateusz). Delete carriage returns in cm_strings

PS4: Delete unnecessary tab

PS5: More fixes (thanks Piotr)

PS6. Moar fixes (thanks Mateusz)

Signed-off-by: jereksel <jereksel@gmail.com>
Change-Id: I0ea68adeb5e32b4ced9ae90c8c61eb74a0843beb
Settings: Fix for missing notification volume slider in Volume panel.

Change-Id: Icb9c1183980936df3e33de45b581e2af29085fa9
Storage Settings: Allow user to trigger a volume rescan

This change allows to trigger a rescan of a volume with the next restrictions:
- Internal volumes if they are emulates
- Primary volumes
- Non-Removable volumes

Ported from: http://review.cyanogenmod.org/44586

Change-Id: I7e75a324938d8081fd715f702d50f1fdceabd96d
Merge "PrivacyGuard: Specify a default value in Settings.getInt method call" into cm-11.0
Statusbar: double-tap to sleep (settings part)

Change-Id: Ifb8f1ab1d84ba39942357ee6f8694764799d4103
Merge "Settings: PL translations" into cm-11.0
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)
Merge "Settings: Fix for missing notification volume slider in Volume panel." into cm-11.0
Clean up lock screen interface code

- Remove unnecessary (and wrong) user check for the removal of maximize
  widgets

- Remove unnecessary null checks for the widgets category

- Reorder preference initialization to the same order as they appear on
  screen

- Extract DPM checking into a function for future additions, remove
  unused DPM admin class, centralize LockPatternUtils, clean up comments
  and wrap to 100 lines.

Change-Id: I94159fec7b1604e290829d2ddc2eb07bf5b015e7
Merge "Statusbar: double-tap to sleep (settings part)" into cm-11.0
settings: Add option to toggle the pointer icon when using stylus

Forward-port to CM-11.0

Change-Id: Ib9c22ecb05cc698ead5bfffa34d2a2ffa9c21e13
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
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>
Merge "Storage Settings: Allow user to trigger a volume rescan" into cm-11.0
Merge "Clean up lock screen interface code" into cm-11.0