Settings :Add lockscreen icon.

Change-Id: I95500f427066f9d9683bdcf5478f6f86aebb762c
(cherry picked from commit bca2555a27780e1290b2389c6a84cb71a8f08919)
Profiles : Settings

Change-Id: I072758a1c5ec04ef34077551220b6611068fe71d
(cherry picked from commit f89f7703e9f699e7d27e8a18fb075847e3fccde3)
Settings : Hardware key rebinding (2/2)

Change-Id: I1a0546f358e787a9c6ab12024e34255475259424
(cherry picked from commit 110fc3112d4d2688ba24e260234a2ff6570995cf)
Add back blacklist settings.

Change-Id: Iae35717acfa9af4da75c07d24352acf981d19fc7
(cherry picked from commit 0d32ab2a72ea40b773ceee5e48747d401f428f70)
Improve translatability of summaries.

Change-Id: I362b335cbe219d6e371a458c9d50fcd66bdf19fe
(cherry picked from commit 108d9c1d288d7f63ec8a15f94ec4de89da9c2eee)
Settings: Alert user when they attempt to add an invalid number to BL.

  - BlacklistProvider will reject numbers that aren't valid, silently. So instead of
  resuming to a blank screen, we should alert the user that the number they attempted to
  add is invalid by utilizing BlacklistUtils#addOrUpdate method.

Change-Id: I1ca32427baad41c1c9379e18046e6ca7937b6d32
(cherry picked from commit d3163dcac3e7a063ccc09e2881421ec74666966a)
Add missing blacklist xxhdpi drawables.

Change-Id: I327f408ff344e9358c479cf5fe9dc341918511b2
(cherry picked from commit dce5d5f56c13e100090bfb685090e8d6ee690988)
Introduce SystemSettingsCheckBoxPreference

  -Originally part of a3342e2 (Add back notification
   light settings.)

Change-Id: I474a14a1b395407f5ca273a5d6a3a7f03f7e4698
(cherry picked from commit 4c8faa6f5d4e765e06f44e4b6a6cc3acc536bcab)
Protected App [2/3] Protected Apps Settings -> Apps: - Added Receiver which can send in a call to PackageManager to toggle a components protected status. - Add Protected Apps activity (available from Apps fragment) - Reads from ApplicationInfo state - Requires Pattern Lock to view/modify protected apps - Updates Settings Secure DB with protected components - Support resetting protected apps pattern lock

Change-Id: If07a7b69ac963ffae855621881e1944fc8754782
(cherry picked from commit fbafd0074d38fc6a852f19a8ec4336e6a3273864)

Conflicts:
	res/values/strings.xml
Protected Apps:

 - App Info for protected Apps doesn't allow Uninstall or Clear data
 - App Info menu item for launching into Protected Apps when looking at protected components
 - Prevent process dialog from getting dismissed on touch or back key (can cause odd behavior if cancelled mid-protect)

Conflicts:
	src/com/android/settings/applications/InstalledAppDetails.java

Change-Id: I64104d7ff3fbf9d8c393ebf262d4de0b28abbc5c
(cherry picked from commit 673062ae36300d42a955fb10ded14c4a1808f921)
Reset Pattern: - If user cancels while creating new pattern, old pattern is restored

Change-Id: I55955b1ffadca2ba712c40c7d443c4fc4b0f528c
(cherry picked from commit 912c7dbe6d4f9478881b637f31fdd2fe959523c0)
Clean up protected apps code (1/2)

- Work with actual ComponentNames instead of converting them between
  String and ComponentName all the time
- Name protection state parameter in methods 'state' instead of
  'protect', as a value of true actually means it's not protected. Also
  consistently use the respective constants for its values.
- Some misc. cleanup

Change-Id: I2855978c8aef3cfa14249e3398039c7cdd145ede
(cherry picked from commit 7f6453e85ea2982d18ce2d7f835b8ab3b5a26c20)
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.

Conflicts:
	res/values/cm_dimens.xml
	res/values/cm_strings.xml

Change-Id: I39e5a89a8699cfd2ffaba8aea2daa4f477f2cc9b
(cherry picked from commit e2c26626ee7220fd3f6b05eb123d5a481d8772f9)
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>
(cherry picked from commit 196533adce852b269877706bf08d1f02c2e89a76)
Settings: Don't show protected apps options in restricted profiles.

Change-Id: I38c2e8fd3508d360f0e23703ce6c939f02f3714e
JIRA: 4668
Issue: https://jira.cyanogenmod.org/browse/CYAN-4668
(cherry picked from commit 49948473244f792bd6df576a8892318b0673bb0f)
Follow normal lock screen convention - allow user to retry when creating pattern lock

Change-Id: I6ad39b07b8de3de03146322b37b60e3f846093d1
(cherry picked from commit 57c7ae14e6e9d5620a67952193ecf34b22f363a7)
Fix: Even when the list is entirely unchecked there may still be components which are still protected and need to cleared when Reset is triggered.

https://jira.cyanogenmod.org/browse/BACON-679
https://jira.cyanogenmod.org/browse/CYAN-4835

Change-Id: Ifee3e8b87be39769aedfed0f9a5bda366c67ee45
(cherry picked from commit 87655e0e73c609da50008163b2132e854709a494)
ProtectedApps pattern lock for landscape mode.

Change-Id: I9ef70a0e363d4d17510188d24f4742f458fba38e
(cherry picked from commit 9fec3fa840db460637c24658fd8b97bbf57c7a29)
Launch Protected Apps

Change-Id: I2dc2e1e05c1979118d5324c3c05adfcc6f7ee22a
(cherry picked from commit 5a109520f2278d8b3d5afb8ef4defc1a155a589a)
Forward port SMS rate limit setting

Change-Id: Ie8fea98e9e24b0f6302eaed22af9241f85ca965a
(cherry picked from commit 37ad3311c0249685b3e9d7d71bcb2b817727c4c3)