Settings: Update button backlight summary always.

Change-Id: I066976f84522754d552e82ff1510d371a9314f9f
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>
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
Hide power menu from secure lockscreen (2/2)

- Made disabled by default

Special thanks to @UtkarshGupta in this commit: https://github.com/omnirom/android_packages_apps_Settings/commit/4ff8b5b485c28903a3560c4f93f0b12ed8f70cce

Change-Id: I5d19cc0ccdc3b89599cb6dd4a73b2b477ae72324

Conflicts:
	res/values/cr_strings.xml
	src/com/android/settings/cyanogenmod/LockscreenInterface.java
Force Expanded Notifications (2/2)

Change-Id: I5f6790c976101dc34d0ed658837e24fa4a7d30aa
Build V146
settings: Toggle insecure lockscreen bypass with keyboard/smart cover

Makes it possible to toggle the feature that bypasses the lockscreen when the
hardware keyboard is slid out/smart cover is opened and security mode is 'none'

NOTE TO MYSELF
- Added dependency to Smart Cover in Display Settings

Credit: PAC
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:
	src/com/android/settings/Settings.java
Settings: Set untranslatables

Change-Id: Ie7e8efe4919c82a681a7930a7f6be822a53852f9
Build V147
Revert "missed parts and fixes for gesture anywhere"

This reverts commit 87f481a9c39cc4323b04fb6463c4b11223bc40ab.

Conflicts:
	src/com/android/settings/chameleonos/labs/gestureanywhere/GestureAnywhereSettings.java
Revert "GestureAnywhere: make sure ga_gestures is world readable."

This reverts commit f6ecedc177c101f3ac405547eb1d0a9ad423d3b7.

Conflicts:
	res/xml/system_ui_settings.xml
Revert "Gesture Anywhere: Add gesture anywhere feature into the ChaOS Lab [2/2]"

This reverts commit 65ccc5629dc3f2b1e73044585ec7fdd475725c62.

Conflicts:
	res/values/cr_arrays.xml
	res/values/cr_strings.xml
	res/xml/gesture_anywhere.xml
	src/com/android/settings/chameleonos/labs/gestureanywhere/GestureAnywhereSettings.java
Build V10