commit | 14f9771c72797dd269eb3cde43eca1ff64cd9097 | [log] [tgz] |
---|---|---|
author | shubang <shubang@google.com> | Thu Jul 29 10:20:43 2021 -0700 |
committer | Shubang Lu <shubang@google.com> | Thu Jul 29 17:35:18 2021 +0000 |
tree | ecee77145e1f7b08548fbe596aef28e6638b8856 | |
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