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

Skip to content
Commit 7d46698a authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

Force AttributionSource after handler dispatch.

The Bluetooth stack often receives BluetoothDevice instances from
remote Binder calls, and previous work forced the AttributionSource
to match that remote caller.

However, in some instances these objects are passed to an internal
handler or state machine, and we need to switch back to our internal
AttributionSource, since any method calls will be performed as the
Bluetooth stack.

Longer term we should find a better way of transporting these
values in AIDL directly, but this is the safest mechanical change
to make at this late stage of the release.

Bug: 193194829, 188391719
Test: atest BluetoothInstrumentationTests
Change-Id: I19649edb72aabeb92d4987739a1c4cd7fa07bb21
parent 9bf2882a
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