Fix NavRing FC
Halo: Add master switch to disable Halo (1/2)
-Port master switch from @Der-Schubi.
-Fixed Halo not showed at first notifiction pulldown.
Don't assume any ringtone is present on external storage.

If that assumption doesn't hold true, the user will lose his ringtone
and won't know why.

Change-Id: I89409e1351792d020c5458f5104f4bb9f2a040f2
FW: Improve Recents (2/2)

- Moved Kill-All option to RB Settings
- Create list preference for different options
- Remove ugly Kill-All button and replace it with image
- Give the user the option to specify location of image (Bottom/Top/Left/Right)
- Add RB Icon for No recents apps
- Move recent items to the middle
- Add header to recent items
- Switch app icons to the right of recent items
FW: Improve speedometer battery style - @olivergeith
FW: Update Battery, Circle Battery & Signal for Per-app color
FW: Remove Square battery and replace with SpeedoMeter 2
Don't bring home to the front if we're opening a floating activity
FW: Replace all RB battery styles for Per-app colour compatibility.
AssetRedirectionService: Check for permissions before running dump()

Fix android.security.cts.ServicePermissionsTest failure

Change-Id: I9d629d19f3ff231db477d156c8bf557d4b8ee861
FW: Improve Recents V2.0

- Removed RB icon in "No Recents", looks weird.
- Changed Recents item header
- 2 options for colors: White/Dark (Dark RootBox)
- Moved app icon to bottom right
Check and fail early if requested wallpaper size exceeds maximum texture size.

This fixes an issue where OpenGL initialization succeeds but buffer allocation fails because the requested wallpaper size
is too large (or otherwise unsupported) by the graphics hardware. This fixes an issue where SystemUI crashes constantly
on the PandaBoard when connected to a full HD display. Tested only on PandaBoard, no access to alternative hardware.
Signed-off-by: Wim Vander Schelden <wim.vander.schelden@philips.com>

Change-Id: I8d2e1ae9fd9772977c4e365f23f2f58bbca3787c
Fix ringer mode being unneededly changed by setting ringer mode volume
to 0.

When having set the ringer mode to silent on a device with vibrator and
calling setStreamVolume() for the ringer stream again (e.g. in one of
the volume control dialogs in the settings app), the ringer mode is set
to vibrate, although there's no reason to do so.

Fix that by remembering the last non-normal (that is, either silent or
vibrate) ringer mode and using that when setting the stream volume to 0.

Change-Id: I27f1c75a0fef52bd63ac20f4101042808ce2c458
JIRA: CYAN-1403
Revert "Halo: Add master switch to disable Halo (1/2)"

This reverts commit 1024cdcfa78dfea87763cc5cba8c9e48e9fab8cf.
Give floating flag to previous activities in the stack
When launching stacked activities, only the last one is flagged as floating in sysui when tapping halo.
This causes the system to show the launcher when the first stacked activity is launched (this first intent gets the flag FLAG_ACTIVITY_TASK_ON_HOME
in TaskStackBuilder).
This change makes all the stacked activities get the floating flag if the last one has it.
FW: A bunch of new battery icons (1/2)

- Racing
- Gauge
- Slider
- Brick
- Planet
FW: Enable battery PAC (2/2)

This will give the user the possibility of turning off PAC for battery icons only.
Add moar Pie buttons (1/2)

Added:
-Kill task button
-App window button (credit Steve Spear, just adding another way to access)

Change-Id: I3f6497b5f5d27379b945392723c3eba597a241da

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/src/com/android/systemui/statusbar/PieControl.java
	packages/SystemUI/src/com/android/systemui/statusbar/view/PieMenu.java
FW: Move expanded desktop to RC power menu (1/3)
Move Expanded desktop below airplane mode