Settings : Fix accessibility shortcut

Shortcuts like accessibility, have preferences with titleText rather than
titleRes as their title. Settings only had a override for titleText, which caused
preference screens inside accessibility to not work. This commit addresses that.

Reproducable via :

1. Create a settings accessibility shortcut.
2. Launch shortcut and try to open an of the services

Expected behaviour : Appropriate ToggleAccessibilityServicePreferenceFragment should open
Observed behaviour : Same Settings instead gets relaunched instead

Change-Id: I89b7539672cd7278d51f9e88bac1948669940e59
Settings : Toggle expanded desktop for navbar

If entering the navbar screen with expanded desktop enabled, the navbar
is not shown hence hindering the ability to use the panel

This patchset addresses that by disabling expanded desktop upon entering,
and re-enabling upon exiting if it was previously enabled.

Patchset 2 : Fix state issues

Change-Id: I2776cf971f8899d30a25c0bf6b418793153555fc
Correctly remember MAP access selection.

Previously, the MAP access notification used to pop up on every BT
connection. 'Don't ask this again' didn't work. Fix that by correctly
remembering not only the PBAP access selection, but also the MAP access
selection.

Change-Id: I8fb9bedc02f696c9247861eb57ad64c4a8f5f6fa
Settings: Separate Expanded desktop from Power menu settings

This commit separates the ability to configure the Expanded desktop
mode from the ability to enable the switch in the Power menu.  This
will allow for the ED Tile to be hidden if the feature is disabled
and the power menu entry to be removed if the user chooses to use the
Tile instead.

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

Change-Id: Ia0c2b51cfa35e47328a68366964f231e2bb7ebfa
Use a hashed ANDROID_ID instead of IMEI for stats collection.

Change-Id: I7379c5b380273e35b5aab582f5268d6946e0a255
Merge "Settings : Toggle expanded desktop for navbar" into cm-10.1
QS: Add dock battery tile (2/2)

Add a dinamic tile for devices with dock battery

Requires http://review.cyanogenmod.org/#/c/33999

Patchset 2: Rebased

Change-Id: If6c49a5277899997717f5a3af8ed3ad5bbb30b67
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Merge "Settings : Fix accessibility shortcut" into cm-10.1
Merge "Settings: Separate Expanded desktop from Power menu settings" into cm-10.1
Merge "Profile: respect DPM when overriding screen lock (2/2)" into cm-10.1
Merge "Correctly remember MAP access selection." into cm-10.1
Merge remote-tracking branch 'upstream/cm-10.1' into cm-10.1

Conflicts:
	src/com/android/settings/cmstats/Utilities.java
	src/com/android/settings/cyanogenmod/SystemSettings.java

Change-Id: I74449fd937a4820335f133e440e0c63da6cb688b