Settings: Migrate stats opt out to global settings.

Control newly introduced global setting

Change-Id: Iea22206cd8ac8bf7d45e4b7dabfb9f0d1e602e0e
Settings: Add a2dp profile triggers

Fixes JIRA issue: BACON-47

Change-Id: Id79b40cf33be77cba7235a08d4d31722cc02b081
Settings: Create a security fallback on protected apps.

  -- Allow a user to bypass pattern lock on protected apps
  by inputting their primary account information for the
  device.

Change-Id: I39e5a89a8699cfd2ffaba8aea2daa4f477f2cc9b
Settings: Fix patternlock padding for header.

Change-Id: I8d08c3f3fa72c31fb8be77281f653108392ea1a0
Merge remote-tracking branch 'cm/cm-11.0' into cm-11.0

Conflicts:
	src/com/android/settings/cmstats/AnonymousStats.java
	src/com/android/settings/cmstats/ReportingServiceManager.java
	src/com/android/settings/cmstats/Utilities.java
Merge remote-tracking branch 'cm/cm-11.0' into cm-11.0
Use correct property for 16bpp alpha performance option

persist.sys.use_16bpp_alpha -> persist.sys.prefer_16bpp

Change-Id: I0cddd865d3e50e65757d309ee2aaf2935d1e90b8
DataUsageSummary: Add CDMA support for showing usage for devices without sim cards

Change-Id: Ib6774b0ad1cd9421a669349321a4f75517f24719
Merge remote-tracking branch 'cm/cm-11.0' into cm-11.0
settings: reset protected apps view instead of finish the activity

Finish the app after resettings the account, will lead to the protected app selection without a
valid pattern. Instead this should reset the pattern view to create a new pattern prior to go to
protected apps.

Change-Id: Ida41a29f4f8787940f803a23014a68a2f8beb969
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Fix search highlight matching in some cases.

The attempt at optimizing the loop by skipping the characters that
precede the actual match broke the offset calculations, so the number of
characters skipped in filtering wasn't calculated correctly. Fixit by
removing the misguided optimization.

Example: search for "pera"
highlight in match: Debug non-rectangular cli_p opera_tions
highlight should be: Debug non-rectangular clip o_pera_tions

Change-Id: I07c46b3966e6d81124a5b523c1e822b8750f4f7a
Merge remote-tracking branch 'cm/cm-11.0' into cm-11.0
Merge branch 'cm-11.0' of https://github.com/androidarmv6/android_packages_apps_Settings into cm-11.0