diff options
| author | Kevin Jeon <kevinjeon@google.com> | 2021-10-05 02:56:19 +0000 |
|---|---|---|
| committer | Kevin Jeon <kevinjeon@google.com> | 2021-10-08 18:22:09 +0000 |
| commit | 8c2c82d399fb500649fbd98e4c88c4a165e0543d (patch) | |
| tree | bb4e1265df2ef7a2bd6fcd3443b856f9c7fa6c43 /core/java/android/inputmethodservice/AbstractInputMethodService.java | |
| parent | 2e7d9776f3d80c9377fecc85499fdf117af4096e (diff) | |
Discourage methods that use resource reflection
This change adds the @Discouraged annotation to methods that access
resources by name (getIdentifier() and getValue()). Users will be
directed to retrieve resources by identifier instead.
Bug: 202194091
Test: Checked that getIdentifier() and getValue() raise lint warnings.
Change-Id: Ib69797bf9ccf9e336326a3925fb6409048b647ad
Diffstat (limited to 'core/java/android/inputmethodservice/AbstractInputMethodService.java')
0 files changed, 0 insertions, 0 deletions
