DO NOT MERGE Revert "Fix showing keyboard without editor focused in some case..." am: 12ed7d3ef0

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

Change-Id: Ic2782276d3895a28fb757273ec953bcd0ccc0b13