Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5b023ebc authored by Aniket Kumar Lata's avatar Aniket Kumar Lata Committed by jiabin
Browse files

audiopolicy: add null pointer check for primary hw



When sound card detection fails, primary HW cannot be opened.
add null pointer check to avoid further crashes in audioserver.

Bug: 136060200
Test: make
authored-by: default avatarWeiyin Jiang <wjiang@codeaurora.org>
Change-Id: Ief07a36ca8aed0e6013d533bd0aa66e122e3070c
Merged-In: Ief07a36ca8aed0e6013d533bd0aa66e122e3070c
parent e9ad5853
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