Several Bluetooth issues were really giving me the run around while trying to compile AOKP for the Xperia XA2 Ultra. Let's take a look:
system/bt/stack/btu/btu_hcif.cc:729:22: error: no member named 'BLUETOOTH_CLASSIC_PAIRING_EVENT_REPORTED' in namespace 'android::util'
android::util::BLUETOOTH_CLASSIC_PAIRING_EVENT_REPORTED, "", handle,
\~\~\~\~\~\~\~\~\~\~\~\~\~\~~^
system/bt/stack/btu/btu_hcif …



