diff options
| author | Yohei Yukawa <yukawa@google.com> | 2022-01-24 21:08:46 -0800 |
|---|---|---|
| committer | Yohei Yukawa <yukawa@google.com> | 2022-01-24 21:08:46 -0800 |
| commit | 515308cea0ae6610b34a4d52040262ac48c28845 (patch) | |
| tree | df568e067a3cb3a11eef62276e78a886478c586b /core/java/android/inputmethodservice/InputMethodService.java | |
| parent | 615951d16e38440120dcda924aeb2ba8f71fe19c (diff) | |
Introduce InputMethodDialogWindowContext for testability
This is a follow up CL to our previous CLs [1], which introduced the
following classes for better testability.
* com.android.server.inputmethod.InputMethodMenuController
* com.android.server.wm.InputMethodMenuControllerTest
This CL only aims to clarify what we are currently testing. Other
motivations of this CL are:
* InputMethodMenuController is now a package-private final class,
which is expected to be much easier to keep maintaining.
* We can get rid of mock(InputMethodManagerService.class), which
prevents us from making InputMethodManagerService a final class.
Anyway, this is a mechanical refactoring CL. There should be no
observable behavior change.
[1]: Ief3c691029b14d848f6ad4a5ec8a8743760c7cda
c88452c3ee33b8a517881bb2504f5e1c1126372f
[2]: I8adb0c569ea6c208aee659603ee1d69df9939267
9329fbdd72bb5c1a0dc9ff053f5001ada9e17a1d
Bug: 192412909
Test: atest WmTests:InputMethodDialogWindowContextTest
Change-Id: I381b1e09823a7f8361a74d809d4b2fbd23eb556e
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
0 files changed, 0 insertions, 0 deletions
