| commit | fedb5986df2c18b147dabb2c3ebe5b215e86b239 | [log] [tgz] |
|---|---|---|
| author | Aniket Kumar Lata <alata@quicinc.com> | Wed Jul 03 11:20:36 2019 -0700 |
| committer | Eric Laurent <elaurent@google.com> | Wed Jul 03 14:09:37 2019 -0700 |
| tree | 414f7a253a7ecefab2e7905445d051103ff95c1f | |
| parent | ba810b8892d31bb8ffc72fd2e21d5d6d7df727cb [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