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
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
Merge "Profile: respect DPM when overriding screen lock (2/2)" into cm-10.1
Merge "Correctly remember MAP access selection." into cm-10.1
Settings: Add Expanded desktop tile in QuickSettings (1/2)

Change-Id: I42a7182859bd028c2e93f0c2fe0b6b5dee404cfa
PT-BR: Update translation

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