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

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

Change-Id: Ic837f5d83afad29865c975e54c55e0133a2f50f2
This commit is contained in:
Jack He
2021-03-23 18:51:54 +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);
}
/**