Fail-fast cases of blocking InputConnection APIs
This CL finally adds regression tests for our prior CL [1], which
implemented fail-fast mode for blocking InputConnection APIs based on
IInputMethod.unbindInput() async signal from IMMS to IMS.
Basically what that CL [1] implemented is that once InputMethodService
receives IInputMethod.unbindInput(), subsequent calls on blocking
InputConnection APIs to the already-unbound IME client should
immediately fail. This CL ensures that such a behavior is correctly
implemented.
[1]: I0f816c6ca4c5c0664962432b913f074605fedd27
1d113d041f113feabe0ff4cc57205fe8876b9e0b
Bug: 36897707
Bug: 129012881
Test: atest InputConnectionBlockingMethodTest
Change-Id: I43340a4172c83100d968612ccb0eced4479b81f8
1 file changed