Merge cherrypicks of ['googleplex-android-review.googlesource.com/24790419'] into udc-qpr1-release.
Change-Id: I09829d921d2ce765837c84d017129898e8fb4729
This commit is contained in:
@@ -65,6 +65,7 @@ public class BluetoothDetailsDataSyncController extends BluetoothDetailsControll
|
||||
mCompanionDeviceManager = context.getSystemService(CompanionDeviceManager.class);
|
||||
|
||||
mCompanionDeviceManager.getAllAssociations().stream().filter(
|
||||
a -> a.getDeviceMacAddress() != null).filter(
|
||||
a -> Objects.equal(mCachedDevice.getAddress(),
|
||||
a.getDeviceMacAddress().toString().toUpperCase())).max(
|
||||
Comparator.comparingLong(AssociationInfo::getTimeApprovedMs)).ifPresent(
|
||||
|
Reference in New Issue
Block a user