Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b524965f authored by Hiroki Sato's avatar Hiroki Sato
Browse files

Make sure InputMethodService's StylusWindowIdleTimeout always work

This changes InputMethodService#mHandler a non-null final.
This makes sure that #scheduleStylusWindowIdleTimeout() always works as
expected, independently to the service's state.

Without this change, stylus window idle timeout works only when
scheduleHandwritingSessionTimeout() or scheduleImeSurfaceRemoval() is
called before. Other than that, no behavior changes are expected.

Bug: 434580675
Test: StylusHandwritingTest#testHandwritingWindowRemoval_immediate
Flag: EXEMPT bug fix
Change-Id: I9ac1200aeab53b250a2791e93a092466bb67c765
parent e60d1401
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment