Update the sample IME to solve some flickers am: 0500ea20fa am: 41c0eec52c

Original change: https://googleplex-android-review.googlesource.com/c/platform/development/+/11685005

Change-Id: I6c6ae83e00193e124df9e3e1e34215435340727c