Fix the message when Bluetooth is turning off while on the tethering menu.

Currently says "Turning Wifi off..."
This change will display "Turning Bluetooth off..." instead.

Change-Id: I741e07f3b583e8e4cfb51073fe2556f58d8a89a1
Signed-off-by: Ryan Baxter <rbryanbaxter@gmail.com>
LockscreenPattern: Fix toggle dots/error pattern visibility

This fix the issues dot/error pattern state doesn't save.
also cleanup redundant code.

Change-Id: Iebaac9679ad9c621d62effd700689485db7c252a
Adding configurability of frequency cap (min/max) files' path.
This way those devices that have a special path for
frequency caps can overlay it in the given device's
resources for Settings package.
It's defaulting to the general paths that are used
in most of the kernels.
It's usable for example in endeavoru device tree
where the max cap can only be set through
a different sys path.

Change-Id: I1d10e3d8e620dccefaf749c4c0c0066cc7127851
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
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>
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
Merge remote-tracking branch 'upstream/cm-10.1' into cm-10.1