Settings: fix incorrect value in autobrightness adjustment

If the user drag the progress bar below the min value, the incorrect
setting will be saved since seekBar.setProgress code path does not
return to the "getItem(pos).backlight = ..." line.

Change-Id: I4796e22ba9c44315be92de4040f6cd8451bdf153
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
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
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
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: 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
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
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>
Use a hashed ANDROID_ID instead of IMEI for stats collection.

Change-Id: I7379c5b380273e35b5aab582f5268d6946e0a255
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
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>
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: 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
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: Add Expanded desktop tile in QuickSettings (1/2)

Change-Id: I42a7182859bd028c2e93f0c2fe0b6b5dee404cfa
Added hungarian translation

Change-Id: I9258638e271a94c4e7e718b0944f1a1e62719cd9