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
cmstats: Remove preferences and always enable stats

 * Not having an accurate count of how many people are using CM is
   painful. I am making an executive decision to remove the opt-out and
   always turn stats on. The data is anonymized and there is nothing
   evil that can be done with it. The only purpose here is to tell us if
   we are a successful project or not.

Change-Id: I915c5e824d4e15c05feb37a3d8ed911464b5d61b
Add Google Analytics support.

Change-Id: I81f816f2a358a36247c05a97053e948f4ea62753
Update Russian Translation-Settings-CM10.1

Update Russian Translation-Pie controls-CM10.1

Update Russian Translation-CM10.1

Update Russian Translation-CM10.1

Update Russian Translation-Revert to AOSP translation+some fixes-CM10.1
FIx up analytics results by normalizing the version by stripping the device info, which is redundant.

Change-Id: If4fc97c28fff6a82206a5491c256b05444da1a34
Merge Navigation Bar and Pie Controls button config (2/2)

Based on the commit series for pie controls, this commit
makes the Navigation Bar and Pie Controls share the same
button layout.
This commit applies the changes made in part 1 to the
Settings app. For the real commit see framework/base.

This commit introduces here:
* Some setting constants changes to avoid clashes with PA.
* Removal of the pie search key setting.

Change-Id: I5b4abd6d32a3fc835466ac4cb1f0b9c851641061
Enable Ethernet tab in data usage

mStateSession is not initialized at the time hasEthernet is called to
set mShowEthernet, so Ethernet tab is not shown at the startup.
In this case, if the device doesn't support mobile network, user cannot
even select it from the context menu.

Bug: 8365419
Change-Id: I441971f18346c34a3adf3f18d9355075d9dce3f0
Signed-off-by: Jaewan Kim<jaewan@google.com>
Removing now unused translations of pie_control_search_title

The commit "Merge Navigation Bar and Pie Controls button
config (2/2)" did remove the above mentioned i18n string.
This patch removes it for all other languages.

Change-Id: I613cf92c1e41e5b830984af33828da2d0f85561b
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: Update German translation

Patch Set 1:    * add translations for swap volume keys

Patch Set 2:    * add translations for
                  - Ad-Hoc network
                  - Pie controls

Patch Set 3:    * rename some strings
                * remove unneeded strings
                * fix whitespace error

Patch Set 4:    * rebase

Change-Id: I9816af50b17d728bb5578c98f80465a78ed8e711
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
Restore the opt-out for stats.

 * Apparently this is a bigger issue for a small number of extremely
   vocal users. We should respect their wishes, no matter how off-base
   their claims are in this context.

Change-Id: I9eef9a65260ec4e360d398f80d610a198c09c915
Merge "Enable Ethernet tab in data usage" into cm-10.1
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