commit | c84d9d235679a4d48245b316b7b2e4c0b19413e7 | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Fri Nov 14 13:33:34 2014 -0800 |
committer | Chih-Hung Hsieh <chh@google.com> | Fri Nov 14 13:33:34 2014 -0800 |
tree | 7d99052ecb2f3686a3a70b16fa9fc554eefbbecb | |
parent | a82b5f575d0b7f9465cd879be04929fefd4cc5c5 [diff] |
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