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

Skip to content
Unverified Commit 7dc5885c authored by jiabin's avatar jiabin Committed by Michael Bestas
Browse files

libaudiohal: only call getAudioPort if it is supported.

The getAudioPort API is supported since HAL version 3.0. Do not call
getAudioPort API if it is not supported.

Bug: 329548103
Test: dumpsys audio policy with USB device connected
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:ce66fa6dabf2440ccc0e848ef94ecb2a391905b4)
Merged-In: I6e107c9a394bffc30728041c21b31e148d1d9f20
Change-Id: I6e107c9a394bffc30728041c21b31e148d1d9f20
parent c2809dba
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