Merge "Improve IME perf test show/hide stability" into sc-dev am: b65f67968d am: 649788a5f9

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

Change-Id: Id209a154b01d8b0f5526f8cb994dbfc8495a4f23