diff options
| author | Lucas Dupin <dupin@google.com> | 2022-01-11 15:56:21 -0800 |
|---|---|---|
| committer | Lucas Dupin <dupin@google.com> | 2022-01-11 15:56:21 -0800 |
| commit | dafd01de26cbd3fd930153b262eb16926b80e5f2 (patch) | |
| tree | f67714ec356e90b6d8266f0bdac7a885753b0230 /core/java/android/widget/TextView.java | |
| parent | 5cfcf44e13d548b633e71f76e989b0202c5e62da (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/widget/TextView.java')
0 files changed, 0 insertions, 0 deletions
