Force AttributionSource on all BluetoothDevice.
When unparceling an BluetoothDevice instance, we use the default process-wide AttributionSource, but in the case of incoming AIDL calls we know the AttributionSource that the remote caller intended to use. This change brings these arguments into alignment by forcing the AttributionSource for the BluetoothDevice AIDL argument. 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: 188391719 Test: atest BluetoothInstrumentationTests Change-Id: I614bf590c97fa19e03dc8aabf2badea233f63a4a
Loading
Please register or sign in to comment