Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f76edf6d authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Run AddressCache::init in jni thread"

parents c89178f7 fdf4bc0b
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -132,7 +132,9 @@ void BleScannerInterfaceImpl::Scan(bool start) {
  BTM_LogHistory(
      kBtmLogTag, RawAddress::kEmpty,
      base::StringPrintf("Le scan %s", (start) ? "started" : "stopped"));
  address_cache_.init();
  do_in_jni_thread(FROM_HERE,
                   base::Bind(&BleScannerInterfaceImpl::AddressCache::init,
                              base::Unretained(&address_cache_)));
}

  /** Setup scan filter params */