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

Commit dd62d8e4 authored by Srinu Jella's avatar Srinu Jella Committed by Andre Eisenbach
Browse files

Update UUIDs immediately on NVRAM

As the BTIF config updation have delay in writing items
to the NVRAM, some times there is a chance of not updating
incase of battery removal happens before the actual write onto
NVRAM.

As SDP UUIDs is important data to store, it will update
immediately onto NVRAM.

Test: manual

Change-Id: I6637dc326f3a53211a5bbf988a2dca1020203128
parent 1bbba112
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -260,7 +260,7 @@ static int prop2cfg(bt_bdaddr_t* remote_bd_addr, bt_property_t* prop) {

  /* save changes if the device was bonded */
  if (btif_in_fetch_bonded_device(bdstr) == BT_STATUS_SUCCESS) {
    btif_config_save();
    btif_config_flush();
  }

  return true;