Fast Charge Tile

credit to CarbonDev team for the activation/tile code
modified for AOSPA-style tiles

Change-Id: I0024a772f3f99ca2ca077dc3eab3bdb8d37fd336
Wipe all the ass(ets)

Change-Id: I75735144b97173e6b60cf47b673740a165fcc185

Conflicts:
	libs/androidfw/AssetManager.cpp
Cleanup theme assets when done with them

Before this patch if phone was left on long enough it would reboot
when a theme was applied due to files being left open.

Change-Id: I4c242249fcf6e8097789c3dd6690104296485784

Conflicts:
	libs/androidfw/AssetManager.cpp
fix WRITE_SETTINGS to be "dangerous"

(see http://www.fireeye.com/blog/technical/2014/04/occupy_your_icons_silently_on_android.html for an explanation why this is dangerous)

Change-Id: I8f938dc4f528aa2ccbca3d4cec235feb0299c0bd
mSurface was reset and lost initialization.

mSurface got reset and lost initialization when the developer call
setSurfaceTexture() in onSurfaceTextureAvailable().

Change-Id: If07260e3897e99b96e7a9d86ee5bc1528fb30ab4
Signed-off-by: ChaoJun Xue <xdtq47@motorola.com>
BT: fix NullPointerException on BluetoothDevice.fetchUuidsWithSdp

Fix NullPointerException when calling BluetoothDevice.fetchUuidsWithSdp
from application while Bluetooth is in OFF state.

Change-Id: I3e22cfbb03e286afe7f367bd370e3d2f469cfd95
Squashed Pie reverts - have to fix a few recents glitches

Revert "PIE: Prevent a rare freeze that appears on quick iterations."

This reverts commit 99fc29befde70e3ad2e9f7a4fdb42b92a2025ce5.

Squashed Pie reverts - have to fix a few recents glitches
Revert "Fix: Graphics error when switching to recents using Pie controls"

This reverts commit 2ecf0e12bbe81deec978d7200cfd926419fce86a.

Revert "PIE: fix a freezing bug"

This reverts commit 5c91cf2ad9ba76f8f47f07444bcfff5ee294f4a7.

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettings.java

Change-Id: Ic3e0760d66626bc1e70ecc967f4e4adcd2d99d73

Revert "PIE 2.0 - credit (and lots of it) goes to the AOSPA team!"

This reverts commit bd7488f80aae131c8b3f343cd3ca3214874812b7.

Conflicts:
	core/java/android/provider/Settings.java
	core/res/res/values/symbols.xml
	packages/SystemUI/res/values/strings.xml
	packages/SystemUI/src/com/android/systemui/recent/RecentsActivity.java
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettings.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java

Change-Id: If679663b8ead8b15465c87d8390811242805492d
Pie Retry

Change-Id: I8305a06a98dc38fc5503d0fbf10283ec7804c9aa

PIE 2.0

Pie is an alternative navigation and system info interface. It replaces the
standard navbar/statusbar with a navigation arc decorated with statusbar info.

Fix: Graphics error when switching to recents using Pie controls

Attempt to fix https://paranoidandroid.atlassian.net/browse/AOSPA-65

I've never been able to reproduce the problem on Hammerhead, Mako or
Grouper, so I can't guarantee that this solves it.

Feedback is needed from a user that constantly experiences this bug.

Change-Id: I950e94dbb9b9d07dedee9b9f8cab6c5b6bceb6b0

PIE: Prevent a rare freeze that appears on quick iterations.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

PIE: fix a freezing bug

How to reproduce:
- Enable PIE;
- Toggle between on/of;
- Without close expanded status bar click any tile that use one of this methods -> private void startSettingsActivity(String action) or private void startSettingsActivity(Intent intent);
- System will freez for some seconds and soft reboot;

Solution:
- When deteced PIE mode enabled use a runnable with a less time possible to give time to system colapse panels and perform needed actions

Change-Id: Idc5f112873aa7a31993e7a3c82a1760bb45f8b9b
FWBase - Add all the possible ringtones available [1/2]

Change-Id: I33ea8a89f9368328dc177179266cfcc39d751a4d
Signed-off-by: Stefano Mura [STELIX] <ssspinni@gmail.com>

Conflicts:
	data/sounds/OldAudio.mk
	data/sounds/ringtones/ogg/Vespa.ogg
Don't register methods when there's nothing to register.

Change-Id: I6d0233f79bb90089426d702b4076ec5750e82475
Native Runtime: Add LOG_ID_CRASH

Change-Id: I4e3a82636901c5169cc6b714a4fec815cd757c58
Little fixes

remove problematic mk file
quick settings build issue

Change-Id: I6ddd95283d34dab44fbe826ea0658f2c0dd4bf9a
Fix HALO showing wrong icon on recreating statusbar

Change-Id: If7ab371704ac72586bac9a414a5e8bc0a4b9aa73

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
TRDS: Dark DocumentsUI

for Downloads app

PS:
- fix settings

Change-Id: I87d49e97b8a0a67bd4d85f0137eb0960155428cb
Fix recents clear visibily when there are no apps

Conflicts:
	packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java

Change-Id: If269d12dcdbdb4b6e438a74986c801855803a1ad