Merge "Fix IME flickering when swiping out to home" into sc-qpr1-dev am: c300c9d74b am: 4ffd84fa3e am: d92e0dbb6b

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15683501

Change-Id: I2536ffc24c9f5031a5b76a7457ba1d9352b5e872