Change Regulatory Info Activity to prefer string over image

Change-Id: I9ea5c2bf469af8f654ec4e4bb4f2a8a5738e6a95
fix: Settings FC when WiFi tethering is active.

* When filling the 'connected devices' list the function in charge of this
  assumes that the activity for which a 'new preference' is being alloc-
  cated for still exists.
* This is sometimes not the case when an user decides to navigate back to
  the 'Tethering & portable hotspot' settings menu.
* In this case the function will try to allocate a new preference for an
  activity == NULL and lead to a Settings FC.

  Logcat showing the FC: https://gist.github.com/myzb/765d03172078a7657fb0

Change-Id: I34dcafe9286443220867399f22dccb75a4b40d38
Settings: Allow Regulator Information Dialog Title to be overlaid.

  - Remove SAR preference.

Change-Id: I5aead313589f5d5291d20a0388d2d8bc7242b711
Settings: Set untranslatable

Change-Id: I30021ec6731898c0d7927b6ed577d05325674548
Settings: Let users disable the left-corner Keyguard widget

The application widget is a generic icon displayed on the lock screen
that allows a user to launch an activity.  This is part of the Appcast
flow.

Note: The intents necessary to manage this widget is protected by a
system|signature permission.

Change-Id: Ida245b8c096a24ca3d8bb9a09c6af383bf3295cf
Reviewed-on: https://gerrit.nextbit.com:8443/8255
Reviewed-by: chub <chub+gerrit@nextbit.com>
Tested-by: chub <chub+gerrit@nextbit.com>
Settings: ButtonSettings: Introduce recents long press action

Add a new preference in Settings > Buttons > Recents long press action
that controls the behavior of recents long press intent
ACTION_RECENTS_LONG_PRESS.

The user preference is saved in
Settings.Secure.RECENTS_LONG_PRESS_ACTIVITY; if empty the default is the
system's "switch to last app" behavior. Settings.Secure is used
intentionally over Settings.System for permission reasons.

Change-Id: Ifc61b5958a88360e32db31459f0205b6ba5306b3
Automatic translation import

Change-Id: I57bbc6490f3680c61b6e02f36e9cfb708158711b
Fix copyright headers

Change-Id: I7934d01f89953e577c3cb074dce608d9bedd4027
Launch Protected Apps

Change-Id: I2dc2e1e05c1979118d5324c3c05adfcc6f7ee22a
Profiles: fix expanded desktop settings not applying

Change-Id: Ia523145bf47bfc189c29b035ad5ec6e053cf9296
Settings: Improve some strings

 * Apply https://github.com/CyanogenMod/android_packages_apps_Settings/commit/6de9905cfc5dfc85e8c08f29f87f01a0cc13ef48
 * Use multiplication symbol for lock_pattern_size_*
 * Capitalise "Kernel Samepage Merging"
 * Rename various Quick Setting tiles to better match how the features are described elsewhere
 * Shorten dynamic tiles string
 * Change a couple of profile options
 * Capitalise Wi-Fi and Bluetooth in App Ops

Change-Id: I6a89c3d8017b66ede80d3b567374133733bb8168
Settings: Fix "Use actual storage type of sdcard/usb (1/2)."

Fixes http://review.cyanogenmod.org/63744

The original patch used the same string ids for sd in both cm_strings.xml and strings.xml.
Change them so there isn't a clash causing the wrong strings to be displayed by always prefixing the aosp ids with either sd_ or usb_.

Change-Id: Iad509123a9b4b93677b6ec06f15c34d9b0f57165
Settings: Change labels for MSIM

Change-Id: Iec1bca8a51e1417035e4c4d008a815043c0dcb41
Modify the Development shortcut help text

Change-Id: Iaa6d87f5044a46e8c0f8d88a4fc9bf9a494188b8
DeviceInfoSettings: Update the cpuinfo parser

Parsing /proc/cpuinfo for the processor type assumes a format that
isn't true in later kernel versions. Update the parser to be more
generic and search specifically for the "Processor" descriptor

Change-Id: I9d5bbf29a8383fcb9357a6950dea4202b05f50ab
Settings: Fix profiles volume override summary.

Change-Id: I499cfb3006a7fc7b5e931ac854a7437f5d141523
Add support for single color notification LED (2/2)

Change-Id: I4cf21dda3d9e311146149c2ec81fe2398f5f9f87
Fix light preference padding

* Based on normal list preference

Change-Id: I2ae4a512ce1f5e6b6613885a755e9d7fbb0ff4c6
Don't try to restore Set on Boot settings before decrypting

If encryption is enabled, BootReceiver will not be able to find
the performance preferences and set sys.{cpufreq,iosched}.restored
to true, inhibiting the second invocation after decryption from
doing so (because it thinks that the settings were already restored).
This patch fixes that by not attempting to restore settings while
/data is not yet decrypted.

Change-Id: I8bfe1cda856f344995e5528ebfb9c894701b395e
Automatic translation import

Change-Id: I705ae50cb4b345f56509ee00ceefbeb138f5a4a0