summaryrefslogtreecommitdiff
path: root/core/java/android/inputmethodservice/InputMethodService.java
diff options
context:
space:
mode:
authorLucas Dupin <dupin@google.com>2022-01-11 15:56:21 -0800
committerLucas Dupin <dupin@google.com>2022-01-11 15:56:21 -0800
commitdafd01de26cbd3fd930153b262eb16926b80e5f2 (patch)
treef67714ec356e90b6d8266f0bdac7a885753b0230 /core/java/android/inputmethodservice/InputMethodService.java
parent5cfcf44e13d548b633e71f76e989b0202c5e62da (diff)
Always destroy RegionSamplingHelper on same thread
stopAndDestroy() was being called from the main thread, while registration was happening on the background. This would lead to concurrency bugs because this class is not thread safe. Test: atest RegionSamplingHelperTest Fixes: 201962411 Change-Id: I01290f5931972ad3eb322e7dddc44e002324e405
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
0 files changed, 0 insertions, 0 deletions