Commit Graph

2 Commits

Author SHA1 Message Date
Kohsuke Yatoh
454d76153f Add autoshow testcase.
Autoshow is a feature of InputMethodManagerService.
This feature is not documented nor guarded by CTS.

A non-CTS regression test will be useful for keeping
UX consistency across Android versions.

Bug: 195468725
Test: atest InputMethodStressTest
Change-Id: I8025ff9b7813d0d5552f1ff84fff018bd0a178fa
2021-10-08 18:43:27 +00:00
Kohsuke Yatoh
08603e695f Initial commit of InputMethodStressTest.
This CL added a simple test of showing and hiding IME for 100 times.

TODOs:
1. Add more complicated flows (such as notification).
2. Check IME visibility in several points (WindowManager dump,
   SurfaceFlinger dump, etc), not just the inset that the app received.

Bug: 195468725
Test: atest InputMethodStressTest
Change-Id: I1959225a7396d17750d799e11c42eb1899fe5bb9
2021-08-05 16:58:13 -07:00