Merge "ScanFilter.setDeviceAddress: Should send deviceAddress instead of mDeviceAddress to the next level"

This commit is contained in:
Jack He
2021-03-23 18:02:22 +00:00
committed by Gerrit Code Review

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);
}
/**