Implement kernel tweaker performance menu

Credit: AOKP / Dirty Unicorns / Omnirom

Conflicts:
	res/values/ldroid_strings.xml
	res/xml/settings_headers.xml
	src/com/android/settings/Settings.java
Fix strings
Revert back to old traffic metre
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 color enhancement

 * First boot should use the value read from sysfs rather than
   forcing the feature to be enabled.

Change-Id: Ibed5d8f3dc3644f972caf07853ca921c963dacfa
Settings: "Vibrate during call" requires VOICE_CAPABLE

No need to have this option available if you are on a wifi-only
device.

Change-Id: I30e91be73b5dd058c35ca4f5316563fa63d30d1c
Settings: Create SAR level preference, allow overlay.

Change-Id: I1af616696702f72b8a6276b3b01e940d61735137

Conflicts:
	res/values/cm_strings.xml
msim: Use the SIM operator to label the subscription

network operator is confusing, and downright misleading in roaming
cases

Change-Id: I3f645bbf1191f086ec0b6ca6cc8669915b2902a4
Settings: refactor Profiles to be more user friendly

* Remove the notion of Profile app groups
* Rearrange profile setup flow, now we first present the user with ways
which will trigger the profile, then allow them to set what happens when
the profile is triggered.

Change-Id: I2870df894046cd43c21c67991fb5efc9c3fec837
Signed-off-by: Roman Birg <roman@cyngn.com>

Conflicts:
	res/values/cm_dimens.xml
	res/values/cm_strings.xml
	src/com/android/settings/Settings.java
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>

Conflicts:
	res/values/cm_strings.xml
	src/com/android/settings/Settings.java
	src/com/android/settings/profiles/actions/item/Header.java
	src/com/android/settings/profiles/actions/item/ProfileNameItem.java
cmhw: Use hardware's default value for display features

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

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