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

Commit ddcb0c04 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

Change-Id: I57a83cb501da230abaabacb35c3c6562f6c3a1f3
parents 1025e99e f5dbb89e
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);
}