[DO NOT MERGE] Revert "Fix flickering when switched to the task without IME shown" am: 9eca14b72b

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

Change-Id: I6415c1adadcb87250512827c2862a4ac5240108c