diff options
| author | Tor Norbye <tnorbye@google.com> | 2021-09-11 00:50:28 +0000 |
|---|---|---|
| committer | Tor Norbye <tnorbye@google.com> | 2021-09-11 01:12:05 +0000 |
| commit | 91d0fa14414474793647f91b64f2ac54775509fd (patch) | |
| tree | dae4fc139aa32214568e50b995432ec4c8e6b194 /core/java/android/inputmethodservice/AbstractInputMethodService.java | |
| parent | 768e23133aa93b00899fcdb9431ffb48d689a23a (diff) | |
Support unnecessary parentheses
This CL tweaks the CallingIdentityTokenDetector to handle
the case where there are extra (unnecessary) parentheses
present in the code, such as in
final long token = (clearCallingIdentity());
This isn't very likely, but the next version of lint automatically
runs all lint unit tests through extra checks (inserting parentheses,
whitespace, replacing imported names with fully qualified names etc
to help detectors shake out corner cases they may not have tested
for but probably want their detectors to catch.
Test: Existing
Bug: None
Change-Id: I5af15b2ff4c13d3361a368faecdf6ef23815f6c8
Diffstat (limited to 'core/java/android/inputmethodservice/AbstractInputMethodService.java')
0 files changed, 0 insertions, 0 deletions
