Open app when clicking on icon in App Info screen

Based on Xposed module Shortcut in App Info:
http://repo.xposed.info/module/com.mohammadag.shortcutinappinfo

There is no vibration as in the module as I didn't find it necessary

Change-Id: I07b3f947aaaa13702adba3b4e78bb780fe861baf
cmhw: Use hardware's default value for display features

Change-Id: I1ad4d43ec08fb3a65f2f5d13e48e3becc341d34f
setting: Always remove Left-handed mode setting for non-phones

Right now, this option is only removed if you have a navigation bar
enabled and you aren't a phone.  This leads to UI wonkiness on
devices that allow the navigation bar to be toggled on/off:

* Enable the navigation bar.
* Navigate elsewhere and back to Buttons (force it to reload)
* Settings >> Buttons now contains a (grayed out) Left-handed mode.
* Enable the navigation bar.

Now Left-handed mode is available as an option even though it
shouldn't be.

Change-Id: Ifb3cdd18a014edffaf8bc53c46fc3c2f7a681370
settings: Avoid NPE in NfcTrigger when device doesn't support NFC

Change-Id: I7775540a752b6f31f8c5bb51eaf20e566b4858a5
Settings: Reduce volume to safe level when headset is connected (1/2)

This is a safety feature for users who opt to raise volume above the designated
safe level while using a headset.

Currently when a user does this they are provided with no protection against
dangerously high volume levels until the next time the headset volume warning
is displayed.

This patch adds an optional feature to ensure volume is no higher than the safe
level every time a headset is connected.

Change-Id: I8ec35284a91a26511b0bc83fcc1578f38b8b4f40
Settings: Improve AOSP JA translation

Change-Id: I56cf10bc1deb4818cbd2781a32c512c3dd51764b
Development: Root for apps is unavailable if the su daemon isn't running

The superuser options are tied to the Superuser app variant we use,
which in turn is tied to the su daemon. No daemon, no menu options.

Change-Id: I41d58e62986759336ab38e67f26a558c2eed5aa3
Automatic translation import

Change-Id: I10080d948f6092af4f3deab577a2f5ac8cd1ac5d
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