diff --git a/bluetooth/bluetooth_hci.cc b/bluetooth/bluetooth_hci.cc index f789310..cc1abad 100644 --- a/bluetooth/bluetooth_hci.cc +++ b/bluetooth/bluetooth_hci.cc @@ -33,7 +33,7 @@ static const uint8_t HCI_DATA_TYPE_SCO = 3; class BluetoothDeathRecipient : public hidl_death_recipient { public: - BluetoothDeathRecipient(const sp hci) : mHci(hci) {} + BluetoothDeathRecipient(const sp hci) : mHci(hci), has_died_(false) {} virtual void serviceDied( uint64_t /*cookie*/,