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: Fix value from being overwritten with null.

After awhile this value becomes null for unknown reasons.
Switch back to a non-changing static final for the non-multi-sim case.

Change-Id: I9248a545ed35ec10048781b21a3e6a6b17e96d74
settings: Put MSIM files in the right place

Change-Id: I1e989d710510aff257f5ae3f6f402bb993b8da72
Settings: Disable Camera shutter sound [3/3]

Change-Id: I3910b45c2d7f98044b6331a99887bc62936b5928
Signed-off-by: STELIX <ssspinni@gmail.com>
Settings: Day and week on data usage cycle (2/2)

Adds the ability to set day and week on when the data usage graph resets, instead of just month.

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

-Volume steps changes are instant, no need to reboot!

LiveVolumeSteps: transitioned volume steps volume normalization.

-This calculates an equivalent volume ratio for the new
volume steps.
-example: Volume steps are set at 60. Volume is set at 5. That is
very low volume. Then volume steps are switched to 5. Now you
are instantly in a state were your volume steps are 5 and your
volume is 5. That's full volume! This fixes that issue.
-So it basically keeps the volume from jumping around while your
changing volume steps. It may be a little lower but should be
very close.

Change-Id: I4ca587e0bd3eed381e019023176cfce3ec5c0b80
Signed-off-by: STELIX <ssspinni@gmail.com>
Volume steps: cleanup & move to its own preference

PS3: Properly given a proper preference
PS4-5: Missing components fixes

Change-Id: I0e33443ec0efd14e9876c2555ab59aedec66f901
Signed-off-by: Daniel MM <daxx4182@gmail.com>
Fix F/C in TTS settings

This is an attempt to fix uncaught MissingResourceException
that would be thrown if default language of selected engine is
set to a locale that has no 3-letter country/language code.

Please see https://code.google.com/p/android/issues/detail?id=63122

Change-Id: Iccb2a55f5f7a97819310fd888559650fe7febe4a
Signed-off-by: Shuhrat Dehkanov <k@efir.uz>
Settings: use CMHW serial number for MSim

Change-Id: I2cb7f841699d79259711309fb6fd2de00bc8da75
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
Fix the APN editor fix

The APN creator puts its data in a Bundle, not an Intent. Get the
operator identification argument from the right place to avoid
attempts at creating networkless APNs

Change-Id: I42b6e00fffdeea4ea538d55687cdbb4d2d548127
Settings: Lock before unlock the new way (2/2)

for more information see fb commit please.
target selection if lock before unlock is activated
will be enabled and shows the repective settings dependend
on if it is a phone or tablet

Change-Id: I6bb41539383c2b02b62354b00c773505f396028e
Build CarbonFibers into Settings package itself (1/3)

Change-Id: If1307187ee9b5afac8099dfd63054a62fa81e70e
Signed-off-by: Daniel MM <daxx4182@gmail.com>
Look for the msim settings in the new location deviceinfo/msim

Change-Id: I4e81b9c895b11e0a851ad81601271888dfd4f855
Merge branch 'kk' of github.com:CarbonDev/android_packages_apps_Settings into kk

Merged changes from upstream