Update the sample IME to solve some flickers
* This, together with the change on the framework side ag/11685298,
gets rid of the flicker on the notification pull down/up case, as
well as switching from username to password.
* The idea is to not clear the suggestions onInputFinish. Instead,
we schedule a delayed deletion of the suggestions on InputStart,
which will get canceled if there is new suggestions coming to the
IME within the timeout. This gets rid of the flicker on the two
cases mentioned in previous bullet.
Test: manual test
Bug: 157515522
Change-Id: I60d9181de3230d468224e2df08fee59b741d6828
2 files changed