diff options
| author | Kevin Han <kevhan@google.com> | 2022-01-05 18:33:16 -0800 |
|---|---|---|
| committer | Kevin Han <kevhan@google.com> | 2022-01-05 18:40:51 -0800 |
| commit | 5348e68306f682ba4a9a4585b806140802f255aa (patch) | |
| tree | c07e6df5abcadf448f5e637f482564afa8d8088a /core/java/android/inputmethodservice/InputMethodService.java | |
| parent | 65094b9d544e15d442e185bd37d3221770c2cebd (diff) | |
Lock before checking if user state is null
If a user is removed between the user state null check and the lock, it
is possible to run into a NPE. We fix this by putting the entire user
state check inside the lock.
Bug: 211906910
Test: builds
Change-Id: I1f5f4d05f7d21db1af08e4d8cbaa48f41470dee0
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
0 files changed, 0 insertions, 0 deletions
