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

Skip to content
Commit c84d9d23 authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh
Browse files

Include AudioPolicyInterface.h only when needed.

Both legacy and non-legacy AudioPolicyInterface define
extern "C" functions createAudioPloicyManager and
destroyAudioPloicyManager. Standard C++ does not
allow overloading of extern C functions.
g++ did not catch this problem but clang++ does.

Change-Id: I80869cdb26e7721777e53d4eff71c5c733044abf
parent a82b5f57
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