mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
Implement Fast Pair scanner
PiperOrigin-RevId: 506807562
This commit is contained in:
committed by
Copybara-Service
parent
1c19d52f29
commit
c52f1a4000
@@ -24,11 +24,11 @@ namespace fastpair {
|
||||
|
||||
FastPairControllerImpl::FastPairControllerImpl() {
|
||||
NEARBY_LOGS(INFO) << "FastPairControllerImpl starts.";
|
||||
scanner_ = std::make_unique<FastPairScannerImpl>();
|
||||
}
|
||||
FastPairControllerImpl::~FastPairControllerImpl() = default;
|
||||
|
||||
void FastPairControllerImpl::StartScan() {
|
||||
scanner_ = std::make_unique<FastPairScannerImpl>();
|
||||
if (is_scanning_) {
|
||||
NEARBY_LOGS(VERBOSE) << __func__ << ": We're currently scanning. ";
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user