Increase plugin life time

A plugin is created when it is first needed and destroyed when the FP device
is destroyed. This allows the plugins to keep state during long running
operations such as presenting a UI query.

PiperOrigin-RevId: 543502491
This commit is contained in:
Janusz Sobczak
2023-06-26 11:58:56 -07:00
committed by Copybara-Service
parent c5c65714a0
commit 33abd7d879
7 changed files with 76 additions and 9 deletions
+1
View File
@@ -18,6 +18,7 @@ cc_library(
"//fastpair/repository:device_repository",
"//fastpair/scanning:scanner",
"//internal/platform:types",
"@com_google_absl//absl/functional:any_invocable",
"@com_google_absl//absl/status",
"@com_google_absl//absl/strings:str_format",
],