Correct the target app token for input method window

The root cause is:
There is a defect in window manager service: When a new
activity that can be ime target is added into window manager
but the Z order of input method window don't need to be
changed, then the target app token of input method window
would not be updated to new one. This defect may cause that
the layer of input method window is calculated incorrectly.

The solution:
Correct the target app token for input method window.

Change-Id: I008311e3c9b1cf5fc320b614d8675c183c506d50
Fix race condition in ActivityThread.completeRemoveProvider()

This should solve the problem when exceptions like below are thrown:
java.lang.IllegalStateException: unstableCount < 0: -1
android.os.Parcel.readException()
android.os.Parcel.readException()
android.app.ActivityManagerProxy.refContentProvider()
android.app.ActivityThread.releaseProvider()

Change-Id: I97ca9f7f0b57221bc3aa41727936292cc79b92c9
PIE: fix stuck pixel on screen redraw

Reverts: PWM: disable HW overlays for PIE de1cb4e
Uses a dummmy view to force the screen to be redrawn on screen update

Change-Id: Ia12e596f81583a3b6be1bef64ae9d46b32d410d2
statusbar freeze fix (hopefully)

Change-Id: Ida304fc281d9fb44f6c69a2c5da29a28c0e56f66
Dismiss recents when hybrid option is clicked

Change-Id: I2b49bfa34c0c031b4c8057a4554ca7d2d9b039f6
Hybrid toggle

Change-Id: I5bdab2c3671c09ea0ba0b043f2c247ea3c02652a
Merge branch 'jellybean' of https://github.com/ParanoidAndroid/android_frameworks_base into jellybean