Merge "Fix stuck IME when IME dialog is focused" into rvc-dev am: a13d349172 am: f8ec8d3245

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

Change-Id: Ifc26090ff315e749742b02820d9583979b20b560