Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8458f4f3 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "GD-HCI: Write empty value to storage instead of nullptr" am: 2e1c816c

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1404049

Change-Id: If0d038a6a3ce83884e69c8fda12d2a4f8e28b4c8
parents 6a1403fb 2e1c816c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2587,7 +2587,8 @@ void btif_dm_save_ble_bonding_keys(RawAddress& bd_addr) {
  }

  if (pairing_cb.ble.is_lidk_key_rcvd) {
    btif_storage_add_ble_bonding_key(&bd_addr, NULL, BTIF_DM_LE_KEY_LID, 0);
    uint8_t empty[] = {};
    btif_storage_add_ble_bonding_key(&bd_addr, empty, BTIF_DM_LE_KEY_LID, 0);
  }
}