diff options
author | Wilson Wu <wilsonwu@google.com> | 2021-04-07 12:32:54 +0800 |
---|---|---|
committer | Wilson Wu <wilsonwu@google.com> | 2021-04-07 12:32:54 +0800 |
commit | fa57a2e0681c0adafe0072ff77fcbf888982582f (patch) | |
tree | 0c5a82ef77b39cb2c529ed99cb1ed1abd6b0fa4d /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 0abe7327785661d5c4a1dd910cf8802fb151cdda (diff) |
Add null check for IInputMethodPrivilegedOperations
InputMethodManagerService should not initialize null
IInputMethodPrivilegedOperations to InputMethodService.
Add null check when setting the IInputMethodPrivilegedOperations
parameter to improve code readability.
Bug: 183992652
Test: atest CtsInputMethodTestCases
Change-Id: Ie4a8dff268177c5219c7c5495a2de6bc69b0ee25
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions