Android 16 compilation error:
libwfdservice.so: error: Unresolved symbol: _ZN7android11AudioSystem24setDeviceConnectionStateE24audio_policy_dev_state_tRKNS_5media5audio6common9AudioPortE14audio_format_t
libwfdservice.so: note:
libwfdservice.so: note: Some dependencies might be changed, thus the symbol(s) above cannot be resolved.
libwfdservice.so: note: Please re-build the prebuilt file: "out/soong/.intermediates/vendor/xiaomi/sm8250-common/libwfdservice/android_arm64_armv8-2a-dotprod_cortex-a76_shared/libwfdservice.so".
libwfdservice.so: note:
libwfdservice.so: note: If this is a new prebuilt file and it is designed to have unresolved symbols, add one of the following properties:
libwfdservice.so: note: Android.bp: allow_undefined_symbols: true,
libwfdservice.so: note: Android.mk: LOCAL_ALLOW_UNDEFINED_SYMBOLS := true
Drop BOARD_USES_ALSA_AUDIO as it will declare audio.primary.kona, which
is shipped prebuilt.
Declare TARGET_PROVIDES_AUDIO_EXTNS as we ship prebuilt liba2dpoffload.
Co-authored-by: Hridaya Prajapati <info.hridayaprajapati@gmail.com>