Skip to content
Commit b5c6901c authored by Weilin Xu's avatar Weilin Xu
Browse files

Fix deadlock due to callbacks in ProgramList

Copy callback member variables in ProgramList and call them after
releasing the lock of ProgramList, avoiding acquiring lock in
RadioAppService after already locking ProgramList, which causes
deadlook.

Bug: 193041795
Test: m -j
Test: atest android.hardware.radio.tests.functional
Test: atest com.android.server.broadcastradio.hal2
Change-Id: I196377ea030248a5d66a4db03ffb3bee4a70e633
Merged-In: I196377ea030248a5d66a4db03ffb3bee4a70e633
(cherry picked from commit 4ca33d65)
parent 9bf63618
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