Skip to content
Commit 14f9771c authored by shubang's avatar shubang Committed by Shubang Lu
Browse files

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
parent d118e25c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment