ProfilesSettings : Allow nfc override (2/2)

Allow user to override nfc state via profiles

Change-Id: I2a401f17ce42b1711588242e0604997e1f5d8399
Clean up CMStats code.

Besides the cleanup, make sure to wait a bit between retries if upload fails for whatever reason.

JIRA:CYAN-1187
Change-Id: Ifca8364721007aadef31b328d22d764ef7cb3b0a
Pie controls: Tweaking UX for pie service (2/2)

This is the Settings application part of the
user settable activation sensitivity patch for pie controls.

For the complete message look at the commit in
frameworks/base.

Patch Set #3:
* Enabled "Very High"
* Changed title from "Sensitivity" to "Responsiveness"
* Display summary

Patch Set #4:
* "Very High" -> "Very high"

Change-Id: I99fbbc94c75b64121fd04ff5deb8f5a10a04a63b
Allow changing auto-brightness responsitivity.

Change-Id: Icf62db26735f9ab7ad63e750a1824eb7823c3d70
Settings: PT-BR update translations

Change-Id: Idab0ff436b12a9c03b42df092a76628dddad5202
Merge branch 'cm-10.1' into martincz
Merge "Clean up CMStats code." into cm-10.1
Settings: merge CyanogenMod

Change-Id: Iee0fa02eea6657845c9cff682ce0bec802e8d051
Merge "Allow changing auto-brightness responsitivity." into cm-10.1
Merge "Pie controls: Tweaking UX for pie service (2/2)" into cm-10.1
merge CyanogenMod

Change-Id: I60b6e6a63f5341987c37c624316c8456ecc0e4e2
Settings: revert pie changed

Change-Id: Ic303ad9a0ee391de4c52465cfd97ad8e0b6aba5c
Settings: Simplified Chinese Translations

Change-Id: I708ad531aca0f5401da0e50dabbe84091ada1cfc
Settings: ES translations

- Pie controls
- Auto-brighness

Change-Id: Id39711a7ad70ab1ec796a7b445aa1fa5a67eda56
Notification Light: Fix apps with same name not showing up

Applications with the same name didn't show up in the
notification light add-app-dialog (with Facebook's "Messenager"
and Google's "Messenager" being the prominent example here).

This happend due to the fact that the list of applications
was sorted by names only and inserts with collisions were
dropped.

This commit refactor notification light settings to use packages
instead of application semantics. Further the list of packages
is now ordered by human readable name followed by package name,
which avoids the collision.

Additionally we handle situtations gracefully where a package
has more than one launcher activity (Again for example,
Google's "Messenger" and "Google+" is in the same package).

Bonus: potential race condition in the list adapter was
fixed, concurrent semantics were emphasized, unused imports
removed.

Change-Id: I87ad32f535ca866883df337432d1b0cecc9485a8
Merge "ProfilesSettings : Allow nfc override (2/2)" into cm-10.1
Merge branch 'cm-10.1' into martincz
PIE: update

Change-Id: Ie3eee929d1e01d1a6c5bcd310b0669b94545e10b
Merge "Settings: ES translations" into cm-10.1
Merge branch 'cm-10.1' into martincz