summaryrefslogtreecommitdiff
path: root/core/java/android/inputmethodservice/InputMethodService.java
diff options
context:
space:
mode:
authorVishnu Nair <vishnun@google.com>2021-09-09 19:56:40 -0700
committerVishnu Nair <vishnun@google.com>2021-09-09 19:57:24 -0700
commit2cafd8b44d0b4c13b16fdcd2557352ec5496fcc3 (patch)
tree69af91c2c5deb0bc5393cecc315a53bd54d76e67 /core/java/android/inputmethodservice/InputMethodService.java
parent8818f98f336edd7568eaa0404a7081b9f7c24a4b (diff)
SurfaceView: Fix SurfaceControl synchronization issues
Hold the surface control lock in PositionUpdateListener callbacks before checking if the SurfaceControl will be null. UI tread might release it after the checks causing crashes. Also fix a case where the ViewRootImpl may be null in the positionChanged callback. Bug: 199261027 Test: run steps in bug Test: go/wm-smoke Change-Id: I5a4cac35fe14356389b29268fddf9703b25c03aa
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
0 files changed, 0 insertions, 0 deletions