Bring in Profiles support from mr0

Change-Id: Icae838838ce2c34aec22c50f166b957205db8394
Settings: Forward port missing Profiles related changes

Change-Id: I3cda345208171c5b45daf2d5d263017bc538bd48
migrate vibrator to silent mode settings (2/2)

Change profiles:
* remove deprecated vibrator settings
* add silent mode settings

Available modes:
* off
* vibrate
* silent

Patch Set 1:
Initial patch with plain ListPreference

Patch Set 2:
Use Checkbox + Dialog like ConnectionSettings

Patch Set 3:
Rebase

Change-Id: I227f8b00f8dc17f06c8de6716c0f34b2faf82e2c
Profiles: Airplanmode Settings with Checkbox (2/2)

Change Airplanemode Settings to look like Connection/SilentMode etc.

Change-Id: Ida61c51a04e609c7f44d1e320a1cc3fe4208cd7b
Use API Level 16 method for creating a MIME NDEF record

When writing a profile ID to an NFC tag to have it trigger a profile change,
use the NdefRecord.createMime()-method instead of manually creating the NDEF
record.

Change-Id: Iaa1f105c3f0b46a1d672e96224eafea4fd99d7d5
Profile: fix airplane mode

Entering ProfileConfig used to flip back airplane mode settings to "deactivate".

Change-Id: Ib8f267f588ca756b51035ae7ca3eb0e2ecf1bfe5
Settings: fix profiles TabManager

Whenever an user enters in the profiles settings a new TabHost, but the TabManager is neither created
or updated with this new tabhost. On tablets when the user returns to profiles from a fragment
activity, the tabhost is not displayed.
TabManager need to be created along with the tabhost.

Patchset 2: Fixed ProfileEnabler on tablets. The instance of ProfileEnabler of Settings that
            is the one used on tablets doesn't have a reference of ProfileSettings, so this class
            never will be updated. With this pathset the profiles enabler follows the rules of
            wifi and bluetooth enablers: broadcast intent. Now, settings listen for
            PROFILES_STATE_CHANGED_ACTION events, and refresh its own ui.

Requires: http://review.cyanogenmod.org/#/c/32460/1

Change-Id: I5eae79cd20cee3c14f7d2c30a2238425ccd15e09
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Settings: Call Ring mode what Google calls it, not Silent mode (1 of 2)

Silent mode -> Ring mode cleanup

Change-Id: I4c0c182d59ebeb9e2372a24131506f1a111fe33f
ProfilesSettings : Allow nfc override (2/2)

Allow user to override nfc state via profiles

Change-Id: I2a401f17ce42b1711588242e0604997e1f5d8399
Fix build and feature

sorry my bad on NFC profile feature pushed the wrong commit.
Fixes build and removes unsupported features on profile
settings

Change-Id: I2c1c27dbf080898286b5ed034926ccde5905bdf7
Profile: respect DPM when overriding screen lock (2/2)

Change-Id: Ia0c2b51cfa35e47328a68366964f231e2bb7ebfa
Show application's package name in the "App info" screen.

Change-Id: I7dac8ffa0b10abb5ff235750e90a96d801b2f919
[2/2] Add triggers to change profile based on AP

Add UI for configuring triggers to active profiles.

Change-Id: I4903ef64d3eced687136a7dcf4d2048ce4b7ca63
Revert unused parameters in About Section

Revert "Add G+ icon"

This reverts commit e2b339fde83c4b5f396ccdb7449c9d936b081bcf.

Revert "Added back Xylon logo & website + G+ links + clean up"

This reverts commit 56b88d67341c64db1170bf1f2355c06268351398.

Revert "Add Google listener"

This reverts commit d966c71c16819f62d7b850c08bab5c544e1d9ff6.

Revert "Update attrs.xml"

This reverts commit bdbf31bb6cdbd3121a826240ef44b9b1e4167503.

Revert "Add some G+ links and donate link"

This reverts commit 93d4e3170401c1d10db614593b7dc48b86731d9d.

Revert "Add Xylon's website"

This reverts commit 1bc66fdaa809cdd9bd40840c04b085e0d162f960.
Use the new PreferenceDrawerActivity to make use of the navigation drawer UI.

Patch Set 1:
  Only the main Settings activity and referneces to it should be using
  the PreferenceDrawerActivity, all others should continue to use the
  standard PreferenceActivity.

Change-Id: Iced8cb2b4da6bc059426517ab052911d37814b59