diff options
| author | Ytai Ben-Tsvi <ytai@google.com> | 2021-12-28 12:37:53 -0800 |
|---|---|---|
| committer | Ytai Ben-Tsvi <ytai@google.com> | 2021-12-29 13:05:27 -0800 |
| commit | e788a3e16ad86ea9439a8c5c0187f270b2e69490 (patch) | |
| tree | d8cbf4875b1fa6abd67531d4680246f97295c682 /core/java/android/inputmethodservice/InputMethodService.java | |
| parent | f8660097ff862962305d6c645b76baf211347422 (diff) | |
Avoid reflection in ObjectPrinter
This works around the fact that the Android toolchain may now increase
the visibility of fields, so a field being public is not a good signal
for whether it should be printed.
Replaced object printing with toString() for composite objects,
relying on the auto-generated printer for AIDL objects.
In the process, cleaned-up a bunch of unused methods / arguments and
lint warnings.
Bug: 210901706
Test: Manual verification of STMW logs and dumpsys
Change-Id: I839e3830e9378ecf8fca9d4d0d3fdcffe00c0c6c
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
0 files changed, 0 insertions, 0 deletions
