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
Disable IME fullscreen (1/2)
Add QS auto default and recents tasks limit
QS also apply for status bar expand
Revert "Process all display events in order"

This reverts commit bf1171cdce0f202c0fa866d508ad90aae150d48d.
Fix a number of multi-user bugs.

original commit: https://github.com/CyanogenMod/android_frameworks_base/commit/07bd77415e60cf74da6321fba7a61a2b426b295a