commit | 5b023ebc681f8b41da3a862d161453931a01704f | [log] [tgz] |
---|---|---|
author | Aniket Kumar Lata <alata@quicinc.com> | Wed Jul 03 11:20:36 2019 -0700 |
committer | jiabin <jiabin@google.com> | Wed Oct 02 10:18:41 2019 -0700 |
tree | 238e7b56a3de805a8b37d39a5e91d40ad2862d54 | |
parent | e9ad58533c38be8ec0f7c9ebd3b2e6e850354f82 [diff] |
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: Weiyin Jiang <wjiang@codeaurora.org> Change-Id: Ief07a36ca8aed0e6013d533bd0aa66e122e3070c Merged-In: Ief07a36ca8aed0e6013d533bd0aa66e122e3070c