Settings: ElectronBeam get some love (2/2)

This commit removes the CRT On animation because it is just
not nice implemented from AOSP and not really needed. If ppl
turn on the screen they want to see fast their content. But still
CRT animation needed some love. So this commit introduces another
SlimBean mode. Crt animation mode:

Features:
- Crt Off animation controll (on/off like it was before)
- You can select different crt off animation modes
- always horizontal (stock behaviour)
- always vertical (screen collapse from left and right to the middle)
- orientation dependent (means portrait = horizontal animation, landscape = vertical animation)

cheers

Change-Id: Ia6fa32dd5faf3910780c728aa55705b04b6d2638
Bug #8 fix tile reorder

Change-Id: I7283c7095d94d54be524429a07be3b63ca8d8242

Conflicts:

	src/com/android/settings/cyanogenmod/QuickSettingsUtil.java
Fix build

Change-Id: I5036b6530954897c8c03da90765efda4118b041b
SECURITY FIX: Fix package uids being reused between uninstall and rei…
…nstall of different packages.

Policies for older packages were being granted to the newly installed package that got the recyled uid.

Change-Id: I13e00ee5d2bfad8d11ce043536e9d2894b61a6cd
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
QS: Enable ProfileTile (2/2)

Enables the ProfileTile to control the Profile currently in use.

This was partially implemented but had various parts missing, due to QuickSettings being overhauled I was unable to cherry-pick the original CM addition of the ProfileTile as it was originally authored under the old QuickSettings implementation.

Compiled and tested with no issues, changes profile correctly.

Change-Id: I63cd5fcb9e1b9cebea01c4ad122050e479334539