Promote FpDevice to a class

PiperOrigin-RevId: 520430547
This commit is contained in:
Janusz Sobczak
2023-03-29 13:51:11 -07:00
committed by Copybara-Service
parent c249c3079f
commit 94630e75ea
6 changed files with 33 additions and 31 deletions
@@ -29,7 +29,7 @@ void FastPairPresenterImpl::ShowDiscovery(
const FastPairDevice& device,
FastPairNotificationController& notification_controller) {
FastPairRepository::Get()->GetDeviceMetadata(
device.model_id,
device.GetModelId(),
[&notification_controller, this](const DeviceMetadata& device_metadata) {
NEARBY_LOGS(INFO) << __func__
<< "Retrieved metadata to notification controller.";