commit | fa57a2e0681c0adafe0072ff77fcbf888982582f | [log] [tgz] |
---|---|---|
author | Wilson Wu <wilsonwu@google.com> | Wed Apr 07 12:32:54 2021 +0800 |
committer | Wilson Wu <wilsonwu@google.com> | Wed Apr 07 12:32:54 2021 +0800 |
tree | 0c5a82ef77b39cb2c529ed99cb1ed1abd6b0fa4d | |
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