settings: Add option to toggle the pointer icon when using stylus

Forward-port to CM-11.0

Change-Id: Ib9c22ecb05cc698ead5bfffa34d2a2ffa9c21e13
(cherry picked from commit 92c49d10ca1227bfc24f4db19cbe27d4f45e90a1)

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

Forward-port to CM-11.0

Change-Id: I0ab78f1129d2d04b0af21e9b38da027dfe3d1295

Conflicts:

	res/values/cm_arrays.xml

(cherry picked from commit e605827b0c8b49bbe90e16e30b109019b6cceb41)
Allow tablets to send SMS if enabled in device overlays (1/2)

Change-Id: I51771c28415352ee0838fa1507a1461c652d56e8
(cherry picked from commit 667aee88b349255b8c48dcd6d4b54a82d26b622b)
settings: fix exception in BatterySipper.getQuickNameIconForUid

placeholder

Change-Id: I4da880532788de78debffe594faf08eee0389014
(cherry picked from commit a07bbb6f13a4a9a58aa8279981e5744e8d94bdd8)
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
(cherry picked from commit 2257b317236f9bd910052c37611cbb3509a57ce8)
Improve app op details layout.

Change-Id: I38a2c3679633ae85aec61703ab933410775bb336
(cherry picked from commit 97a8779c29a3cc6ce1128db477a307b75fa76e87)
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/cm_strings.xml

(cherry picked from commit 381d26b44a2f428cced88ce52009c3d6c47dddbe)
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

Conflicts:

	src/com/android/settings/cyanogenmod/LockscreenInterface.java

(cherry picked from commit d701b6068464f5940c1bd1d50be8e8956e288039)

Conflicts:
	src/com/android/settings/cyanogenmod/LockscreenInterface.java
Settings: HU translation

PS2: Correcting

Change-Id: Iff5f3818960963add98cb3eefb23445d039dbea3
(cherry picked from commit 42741b9b1f3475a62207044f4e619b0bccc6f7eb)
Settings: LT translations

Minor fixes

Change-Id: Ic55f4c186c7a0659aa4d938d7431ac4a588948d5
(cherry picked from commit cec2b5684006411108421705674193d095b4fd29)
Settings: PL translations

Small update

Change-Id: Iac2d34f4e487bc8327258bd03d769eb7a6e20c15
Signed-off-by: jereksel <jereksel@gmail.com>
(cherry picked from commit 5d31aa5a77053b8769b1f5e4d9ed7d5140707b14)
Settings: IT translations

	Small fix

Change-Id: I62821630aec9477efa13a58bc09ec144f25e29de
(cherry picked from commit 81b96662757c38f83054c2cdccd173f9dee7bb29)
Add missing bracket ")"

(cherry picked from commit f77d5cea1d9326e53557427ebd26447f7c57a80b)
Status bar notification count

(cherry picked from commit 8a8021c334cdbf31985faac58562922277b6b244)
Settings: LT translations

Additional strings have been translated

Change-Id: I1ac04657464710ee07e197e98199335186a2cf93
(cherry picked from commit 25107250d531600948e540aced146d8e4a0d09f6)
Settings: IT translations

Change-Id: Ic52716fdd563d98164a1148814b349d95faafd49
(cherry picked from commit c0375625a634de4992c0b5e23466e82c6bc00f24)
settings: Remove ZRAM settings

 * Android has proper ZRAM support builtin now, and this code doesn't
   even work. Remove it.

Change-Id: I39cb20809d5c71683bffc578057ad39363c5066e

Conflicts:

	res/values-pt/cm_strings.xml

(cherry picked from commit c148d040c23a496f444922d3d82136b2ec8cdae4)
Settings: Custom Tiles (2/2)

PS1: Reinvent logic from initial
	implementation
PS3: Unlock/Collapse Shade options
	and clean-up.
PS4: Remove unlock option.
	Too complex for average use.
PS5: Snip >100 line length =/
PS6: Fix potential NPE on rotation.
	Add scrollview to layout
	to allow scrolling if dialog
	is too large for screen
	(landscape)
PS7: Rebase on Fix tile index
PS9: Add reset buttons

Change-Id: I06d773aa87bd6c1b88077ad54333a58d03f783c8

Patchset: 9
https://gerrit.slimroms.net/#/c/1335/
(cherry picked from commit ca0d26591b98171d6d162ded2cd558a6125eea23)