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

Skip to content
Commit 2e6b6448 authored by Rahul Arya's avatar Rahul Arya Committed by William Escande
Browse files

Use correct address type based on address policy

There is an address policy global to the stack, as well as an address
type passed down from Java. We do not currently handle the various edge
cases caused by combinations of the two states properly in all the
advertising modes.

This CL pulls all that logic into a single function and reuses it across
advertising modes. The behavioral changes are to respect the
own_address_type in non-extended advertising, and to use the correct address
type when doing extended advertising with privacy disabled.

Test: unit
Bug: 268112598
Change-Id: I73f0fb18b6d32d708b081b8afa4e10122a1810c9
(cherry picked from commit 877a2276)
Merged-In: I73f0fb18b6d32d708b081b8afa4e10122a1810c9
Bug:279962122
parent 9c5f5a91
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment