d7483327cb
Due to RadioTuner API documentation, onTuneFailed should be called when a pending tuning operation is canceled. Therefore, a new result value Canceled was added in broadcast radio HAL. The onTuneFailed callback for pending tuning operations in default HAL was implemented by adding whatIfCanceled function field in Task struct in WorkerThread utils class. Bug: 257337458 Test: atest RadioTunerTest#cancel_whenTune Test: atest RadioTunerTest#cancel_whenSeek Change-Id: I901ab2cc3561082e5f11a9f6c33db044fc9bc28b |
||
---|---|---|
.. | ||
include/broadcastradio-utils | ||
Android.bp | ||
WorkerThread.cpp |