Settings: Fix NPE in Superuser settings.

Change-Id: I4671a7840df4a6b66c43d99c7f37cc8038829f08
Settings: Check if NFC is supported prior to adding to pager.

  - Also fix codestyle and comments for TriggerFragments

Change-Id: Iae0bcf8ca6a5447e70750e258db9599dd8a2704e
Settings: Disable mobile network switch if MSIM

Change-Id: Iafb37e4f036b63d895d28234a85dddb0850051e8
Settings: Fix carrier/sim slot string logic for msim settings

Change-Id: I1a06dd3b4c2dc51eb0b680f7c7d42910881e1a57
settings: allow scroll in LED settings's color dialog

This is useful in mdpi devices and landscape mode, when the current layout rebased the dialog height

Change-Id: I7f9cd936076d3409e78a8f6b9a24b180a36a2bc8
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Settings: cleanup new profiles UI

* cleanup old code
* for configuring profiles, add options to modify triggers and remove
the profile
* remove separate activity
* don't hardcode padding pixel sizes

Change-Id: I6b1d05c9f918714249411006c7562496e2a7539e
Signed-off-by: Roman Birg <roman@cyngn.com>
Settings: Set untranslatables

Change-Id: Ie7e8efe4919c82a681a7930a7f6be822a53852f9
Customisable location tile(1/2)

Change-Id: I2287dc4566d2f7b5b6b92f834d80d6efa559f278
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
Merge pull request #2 from CyanogenMod/cm-11.0

merge into kk4.4