Add support for below network modes info in hidden menu

 LTE/WCDMA
 TD-SCDMA only
 TD-SCDMA and WCDMA
 TD-SCDMA and LTE
 TD-SCDMA and GSM
 TD-SCDMA,GSM and LTE
 TD-SCDMA, GSM/WCDMA
 TD-SCDMA, WCDMA and LTE
 TD-SCDMA, GSM/WCDMA and LTE
 TD-SCDMA, GSM/WCDMA, CDMA and EvDo
 TD-SCDMA, LTE, CDMA, EvDo GSM/WCDMA

Add support for other network modes in set preferred
network mode UI option in phone information in hidden menu

Change-Id: Id3fd9a27be84e85f4f32a0fd2a7eee9eec545227
CRs-Fixed: 569944
AppOps: Add more operations in app ops settings.

Add following operations in app ops settings.

-- Wifi enable/disable
-- Bluetooth enable/disable
-- Mobile data enable/disable

Change-Id: I32183d77b88c326168557444a445765b5a69de6f

AppOps: Add support for MMS operations.

Add support  for following MMS operations:

-- Send MMS
-- Read MMS
-- Write MMS

Change-Id: Icc823b9bcb446f962927ac0b50fbdae2f3ed3b02

AppOps: Fix appops Settings crash under Chinese

The Chinese array doesn't match the corresponding English array.
When open appops Settings under Chinese, if ops code is bigger
than array's size, there will be ArrayIndexOutOfBounds exception.

Change-Id: I2de452550317dd818b7c0fc44f3ae63acfdbed1c

AppOps: Enable App Ops under security setting.

Add support for MODE_ASK mode and enable App Ops under security settings.

Change-Id: I7405f1e8639ca04cc2d7edac144f1738d13dc59f
settings: Relocate Privacy Guard icons to framework

 * So we can use them in the permission dialog for MODE_ASK

Change-Id: Ia9bac7dff0bbe91ae48db5d4b0d8f46feb9fdf86
Settings: Handle navbar heights correct on dpi changes + more (2/2)

Till now we set the height in px in the settings. Which is a problem
especially on multiDPI roms like we are when the user afterwards changes
the dpi due that it isn't calculated correct anymore on the new dpi.

This commit does
- save the dp value in provider and calculate the real px in fb
- clean up the settings stuff for it + do it a bit nicer (only settings part
  where we do not set the value for the listview)
- as well this commit disables movable navbar for tablets (we may will enable
  it in future but it needs a lot more work to have it on tablets correct working)
- add Converter class for common methods we always use....till now only px->dp
  and dp->px method

Change-Id: I7320ea0578a10806883a45369dd628f2c51958fa
[3/3] Allow systemwide crash detection using ACRA

Change-Id: If23f698ad569bf89f47a6ac3a968fcc40960a707
Settings: allow ribbons to be configured

code side was there already, seems it just got forgotten in the xml

Change-Id: I7ff5488cc3b53ce9785c3e46effcf29dc31fe0ef
[2/2] Settings: Slim recent app screen

Change-Id: I770654c1216fe22004a30109f46096061ec635ec
[2/2] Settings: Update Torchaction to our action

we have our own flashlight, so remove TorchConstants and all
references to it and update it with ours.

Change-Id: If591a63bb5c2ab57dd9eda5b09ead479fa86edcf
[2/2] Settings: On-The-Go mode

On-The-Go turns on the camera of your phone and streams it to an overlay,
which is drawn over everything.
this makes you feel like your display is transparent, as you see the content
behind it.

its really useful when you are using your phone while walking, thats why
we called it "On-The-Go"

have fun!

Change-Id: I31c03d9e02c238e237681354b3991a0427c0c47b
[2/2] Settings: On-The-Go: Add quicktile

Also thanks to @Alex-Cruz for all these nice talks, which improved the
quality of the On-The-Go mode :)

PS 2:
On-The-Go drawables, made by Alex-Cruz, thanks!

Change-Id: I30d8232746ac0a0bd5ccfbfba435e0ac1658becb
[2/2] Settings: On-The-Go: Hide on devices without camera

Hide camera switching for devices without front camera as well
if we dont have a front camera, open the first camera we have.
also hide the options from the dialog.

Change-Id: Ic74579708dc4ff030cca97f1f5972dce105431d8
Live Volume Steps [2/2]

Change-Id: Ibe9cf2772890c1fbef55ab6cc78059a39c514d7d
Option to disable safe volume warning [2/2]

* This message appears when using headphones and listening to music
* This setting will be applied at boot, so a reboot is necessary

Change-Id: I2cdee8def41105df9266126d694cfd6c22ef4461
Screen recorder settings [1/2]

* Possibility to save preferences regarding pointer
* Possibility to use microphone as audio input

Change-Id: Iaeeb95761f27b94819e9b100b18ebc753024bd51
HTML injection fix for bluetooth pairing, issue 65946

During bluetooth pairing, HTML injection is possible via the device name displayed to the user. This escapes the device name, before creating HTML from it, so it will preserve things like < and > but will not affect rendering of HTML

Bug: 12976386
Change-Id: I8a02d3be8c1a779dc9ed1c9ef8083a1159ab3f2b
settings: Re-add translated appops strings

 * Original arrays contained bare strings which is unwieldy when
   additions are made. This patch re-adds the string resources
   after the previous patch removed the bare arrays.

Change-Id: I12d848484aaf0827d23c6f9d3a51b1d7c3b5aa1b
AppOps: fix translations

errors caused by http://review.cyanogenmod.org/#/c/60809

Change-Id: I5b26ad5de77de8cc1b2164f75bc3f52ed864edab
Settings/Wifi: Add support for Ad-hoc (IBSS) networks

If the WLAN driver can support IBSS mode, show Ad-Hoc (IBSS) networks in the
list of available Wi-Fi networks and allow to connect to or create new Ad-Hoc
networks.

This is merged and ported from CM-10.2, where it was split up into 3 commits.

Change-Id: Ib58d05d05ce00a77d5b88ee57007d38798d7b43d
Fix resource IDs being added to the android namespace

Using @+android:id/some_id will create a new resource ID
with package ID 0x01 rather than 0x7f, for non framework
packages, if "some_id" does not already exist.

Change-Id: I86d57ae6ac88e7dae8420a92e4d55b6c935fd188
Update ColorPicker powered by SlimRom

Change-Id: I48e7c8a535c6ac2da02470fd087443b0ab757328