Add BatteryMiniIcon
Add Theme Manager permission to platform.xml
Add clear() to NotificationData, for theme manager setup
Re-enable mOngoing and mLatest, remove BatteryMiniIcon for now
Clear individual notification by swiping left or right.

The user now has the ability to clear individual notifications by swiping to
the left or to the right. Only notifications which are marked as clearable
can be cleared (ongoing notifications, for example, can not be cleared).

Bug: http://b.android.com/10831
Change-Id: Ic62967456e83d46ebc474031b0a8a84f5f7f9716
Slide notifications during swipe-to-clear

By visually sliding the notification during the swipe detection, the
user is more aware of what is happening. This will reduce the number
of users who mistakenly trigger a swipe and wonder where their
notification went.

Change-Id: Id35059bd54d564d3782b19a53f3ba93ad4b13d85
Fix usability of swipe-to-clear feature.

Previously, the outer ScrollView did capture the motion events when the
Y distance became too large. This caused swipe-to-clear to only work
when moving the finger in an exact horizontal line.
Fix that by redirecting all motion events to the swiped notification as
soon as its recognized as being swiped.
Fix race condition in notification swipe handling.

Previously, the code was written under the assumption that ACTION_CANCEL
events are always delivered additionally to the normal (down, move, up)
events. It turned out that this isn't true, so we need to fix the
condition where an ACTION_CANCEL event is delivered right after giving
control to the dispatcher.
Symptom of the previous problem was the swiped notification occasionally
getting stuck, needing a restart of the SystemUI process to get going
again.
Add safety net for notification swipe handling.
Furtherly fix up notification swipe handling.

- Add debug code
- Fix up 'handled' flag return handling
- Fix remaining paths that could leave mItem set
Add STATUS_BAR_BATTERY to Settings
Add BatteryMiniIcon
add ThemeManagerService to change the theme
themed toast animation
This check in brings in the following changes: - com.tmobile.intent.category.THEME_PACKAGE_INSTALL_STATE_CHANGE category has been added to broadcast events which fire on theme package install/uninstall. The idea is that ThemeManager can add this category to the intent filter to receive events related to theme packages only; - a new flag was added to indicate whether a theme package contains drm protected resources (resource is DRM protected if the parent folder has name "locked"); - based on the above mentioned flag, PackageManagerService changes Unix permissions of the theme apk file to 640. Currently, all apk files have user:group set to system:system.
do not persist the styled theme. It is being persisted by ThemeManagerApp
Support for accessing media resources, declared in theme packages

Conflicts:

	api/current.xml
	core/java/android/content/pm/IPackageManager.aidl
	core/java/android/content/pm/PackageParser.java
	services/java/com/android/server/PackageManagerService.java
Make colors theme'able

Conflicts:

	core/java/android/content/res/Resources.java
	core/java/android/content/res/TypedArray.java
More code to support color theme'ing

Conflicts:

	core/java/android/content/pm/ThemeInfo.java
Make CompoundButton(s) theme'able. This applies to check boxes, radio and toggle buttons.