Fix progress of VolumePanel never refresh

On some occasions when disconnecting a headset it is possible for
the volume slider to enter a state where it is no longer updates.

The cause was that ProgressBar enters a state where a call to
doRefreshProgress no longer updates the progress.

The solution was to make sure mRefreshIsPosted is set to false
when mRefreshProgressRunnable is removed.

Change-Id: I1929e4916a582d09a7ec4911eb4f0052ad7a51ba
Signed-off-by: houst0nn <houstonn@gmail.com>
Recents: Always show translucent decor on recents panel

Change-Id: Id3e371f841b065ba6ac7693d96b38504354b4fd9
Merge "Recents: Always show translucent decor on recents panel" into kitkat
Merge "Fix progress of VolumePanel never refresh" into kitkat
Revert "Pie: Fix navigation icon hints being cleared on reorientation"

Not recreating every time causes a regression of the hold pie while rotating bug

This reverts commit 148de1e8b7756a01e0d7f3353756fcb49860ba62.

Change-Id: I8dd2b22f257e66586fda018f7a90cfbcc982ba03
PIE: Add themeable colors support

Move colors to xml resources.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
Pie: Fix Pie positioning when PIE_ALWAYS_AT_RIGHT

Locking Pie to a single physical side of the screen makes perfect
sense when it's done on the short side of the screen (bottom in
portrait) as then Pie is more easily swipeable in at all times, but
a user might instead prefer being able to quickly swipe in from the
right or left hand side in portrait which becomes cumbersome when the
device is turned to landscape as the user is then forced to reach to
the middle of the long side of the screen which becomes located at
the bottom making it harder to access Pie.

The PIE_ALWAYS_AT_RIGHT value should be used to solve this issue
by forcing Pie to relocate itself to the right hand side just
like with the stock navigation bar.

Change-Id: I9b4dd3cee3fa7d85194389640dcedc02fa522530
Themes: Use INSTALL_LOCATION_INTERNAL_ONLY for legacy icon packs

If an icon pack is currently applied and is installed using forward
locking, the system will crash when the pack is updated.  Several
applications can have the pack attached to their resources and this
causes the system to crash because it cannot unmount the asec container
to finish the post install process.  Installing these packs to internal
storage without forward locking alleviates this issue.

This is done with theme packs as well, including legacy themes.

Change-Id: I155fc0bd671f3f9baaf2565d1c4d654a0a5348dc
Themes: Theme IME switcher alert dialog

Change-Id: I5344e9ddbacb1520080532d9cc1a7a5f5428e131
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
Merge "PIE: Add themeable colors support" into kitkat
Merge "Themes: Use INSTALL_LOCATION_INTERNAL_ONLY for legacy icon packs" into kitkat
Merge "Themes: Theme IME switcher alert dialog" into kitkat
Merge "Pie: Fix Pie positioning when PIE_ALWAYS_AT_RIGHT" into kitkat
Merge pull request #4 from AOSPA/kitkat

Bump to latest AOSPA source