Fixed cyanogenmod issue 2861: asset redirection breaks access to AndroidManifest.xml.

Themed asset managers lose the ability to access application assets
without a cookie because the search order favors most recently added
asset paths (theme apks are added last).  So, searching for
AndroidManifest.xml would always return the themes manifest, not the
application manifest.

The solution is to mark the themed asset path and ignore it when
searching for cookie-less assets.  This should not cause problems with
theme application because the theme uses resource identifier based
redirections which always retain the asset path cookie that is to be
used to load the final resource.
Replace status bar theme change hack with a proper reinflation approach.

Now, when the theme changes we reinflate all status bar views and
reattach them.  This is an approximate simulation of the normal Activity
onDestroy/onCreate cycle that the system goes through when a config
change (in our case, a theme change) occurs.

Also reverts "Hack to update status bar service drawables on theme
change.", a478f39ef58713a8c64823988b952f1d596123f1
Fix crash in ViewPropertyAnimator for unparented view.

Mechanism for removing possible earlier animations should
call removeCallbacks on the view, not on the (possibly null)
handler of the view.

Change-Id: I76c6f0bea5e009be9197a6e49e9360ed9ef1a9cb
Fix network state handling

Change I242cda97 introduced a regression where network state
was being modified on any supplicant state change.

Revert the old behavior of only changeing network detailed state
based on supplicant state change in a disconnected state

Bug: 4690073
Change-Id: I927cc5fa36b862cc54661b033939f543cd15d31f
merge in ics-release history after reset to master
Fix bug 4729242 - Crash while launching browser app.

Change-Id: Id049bcc53943b0cbe17e9f345af67adc2b10bdef
merge in ics-release history after reset to master
Fix statusbar crash when DeskClock alarms go off.

Bug: 4723790
Change-Id: Ia819b6a35b5b103d28f6db3b25c815f77827f80f
merge in ics-release history after reset to master
merge in ics-release history after reset to master
NetworkStatsService: check kernel bandwidth support before enabling

And catch the actual errors reported by the other side of NetworkManager.

Change-Id: I9a9393b659d6f896ee1bf40a8deaca7853ef8f94
Signed-off-by: JP Abgrall <jpa@google.com>
merge in ics-release history after reset to master
merge in ics-release history after reset to master
merge in ics-release history after reset to master
merge in ics-release history after reset to master
merge in ics-release history after reset to master
Fix 4691563: Fix memory leak caused by Tweeners hanging onto references.

This fixes a bug where the animations in MultiWaveView were keeping references
to bitmaps and preventing them from being reclaimed during GC.  The solution
is two-fold:
1. When any given animation completes, it is now removed from the list of running
animators objects.
2. When the client explicitly calls reset(), we release all references to
animators and objects.

Change-Id: Ice434ed1720fe4c253b9607ef61699d41f87f777
merge in ics-release history after reset to master
merge in ics-release history after reset to master
Add API to report the presence of a permanent menu key on the device.

Action bar now uses this to determine whether to show an overflow menu.

Change-Id: Ife4f724d02bbc0d9d86d94740c85299f6dacae91