diff options
| author | Yohei Yukawa <yukawa@google.com> | 2021-08-31 11:48:18 -0700 |
|---|---|---|
| committer | Yohei Yukawa <yukawa@google.com> | 2021-08-31 11:48:18 -0700 |
| commit | dc17643e2c76c2af677935f7dfb8860772d9d860 (patch) | |
| tree | 2e9c9bdb5c95c9fc8fce35919e420810ff4ea3d0 /core/java/android/inputmethodservice/AbstractInputMethodService.java | |
| parent | 00125c388b01a5fb826a0a5a4bfe86b610d05069 (diff) | |
Reduce @SuppressWarnings("unchecked") a bit
This is a mechanical refactoring CL to follow up my previous CL [1],
which replaced our custom callback interfaces with AndroidFuture<T>,
which made us lose compile time checking in RemoteInputConnectionImpl.
Although we are still effectively annotating types manually, this CL
allows us to consolidate @SuppressWarnings("unchecked") into a single
utility method rather than scattering such annotations into multiple
methods.
Other than clean up the code, there should be no observable behavior
change in this CL.
[1]: I74657826a99b11ca1f86932f8f41cca6e449cc8a
b2d09de1f9131c0e87356441a46db709eb27a828
Bug: 192412909
Bug: 195699814
Test: presubmit
Change-Id: I59a60d7291142bf4827a05ce84183e84457c32b8
Diffstat (limited to 'core/java/android/inputmethodservice/AbstractInputMethodService.java')
0 files changed, 0 insertions, 0 deletions
