Merge "ScanFilter.setDeviceAddress: Should send deviceAddress instead of mDeviceAddress to the next level" am: b4d4127efb am: c1d92b8ddd am: 7617088bd9

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1649650

Change-Id: I1d0ba23462d69dbae4cde8eb6d6d271afd39797c
This commit is contained in:
Jack He
2021-03-23 19:35:34 +00:00
committed by Automerger Merge Worker

View File

@@ -587,7 +587,7 @@ public final class ScanFilter implements Parcelable {
* @throws IllegalArgumentException If the {@code deviceAddress} is invalid.
*/
public Builder setDeviceAddress(String deviceAddress) {
return setDeviceAddress(mDeviceAddress, BluetoothDevice.ADDRESS_TYPE_PUBLIC);
return setDeviceAddress(deviceAddress, BluetoothDevice.ADDRESS_TYPE_PUBLIC);
}
/**