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

Commit c166c587 authored by Bailey Forrest's avatar Bailey Forrest Committed by android-build-merger
Browse files

Merge "bta_gattc_cache: Initialize gatt_db_elemement_t permissions to 0" am: f5dbb89e

am: ddcb0c04

Change-Id: I02ce7bac14342ca017f85cc2a043887b883779eb
parents 40c6b5dd ddcb0c04
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1085,6 +1085,10 @@ void bta_gattc_fill_gatt_db_el(btgatt_db_element_t* p_attr,
  p_attr->end_handle = e_handle;
  p_attr->id = id;
  p_attr->properties = prop;

  // Permissions are not discoverable using the attribute protocol.
  // Core 5.0, Part F, 3.2.5 Attribute Permissions
  p_attr->permissions = 0;
  bta_to_btif_uuid(&p_attr->uuid, &uuid);
}