diff options
| author | shubang <shubang@google.com> | 2021-07-29 10:20:43 -0700 |
|---|---|---|
| committer | Shubang Lu <shubang@google.com> | 2021-07-29 17:35:18 +0000 |
| commit | 14f9771c72797dd269eb3cde43eca1ff64cd9097 (patch) | |
| tree | ecee77145e1f7b08548fbe596aef28e6638b8856 /core/java/android/inputmethodservice/AbstractInputMethodService.java | |
| parent | d118e25caed1f8d623879218134bd48ee2ccad28 (diff) | |
Tuner APIs: add locks to runnables to avoid crashes caused by NPE
The executor can be run in a different thread, which can cause race
condition. Adding the lock can help avoid the NPE reported.
Bug: 193604292
Test: atest android.media.tv.tuner.cts.TunerTest
Change-Id: I647ea2b428c1510b1df7f6cecc686bb7eb288a18
Diffstat (limited to 'core/java/android/inputmethodservice/AbstractInputMethodService.java')
0 files changed, 0 insertions, 0 deletions
