Resolve compilation error in android.hardware.bluetooth@1.1-service.sim
system/core/libutils/include/utils/StrongPointer.h:287:14: error: member access into incomplete type 'android::hardware::bluetooth::V1_1::sim::BluetoothDeathRecipient'
287 | m_ptr->decStrong(this);
| ^
...odules/Bluetooth/tools/rootcanal/hal/bluetooth_hci.h:47:7: note: in instantiation of member function 'android::sp<android::hardware::bluetooth::V1_1::sim::BluetoothDeathRecipient>::~sp' requested here
47 | class BluetoothHci : public IBluetoothHci {
| ^
packages/modules/Bluetooth/tools/rootcanal/hal/bluetooth_hci.h:37:7: note: forward declaration of 'android::hardware::bluetooth::V1_1::sim::BluetoothDeathRecipient'
37 | class BluetoothDeathRecipient;
| ^
Bug: 331817295
Test: m android.hardware.bluetooth@1.1-service.sim
Flag: EXEMPT, tool change
Change-Id: I457340ed0edd22f3253d74ded3b28ca567263959
Loading
Please register or sign in to comment