mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
Update medium log.
PiperOrigin-RevId: 813305935
This commit is contained in:
committed by
Copybara-Service
parent
4fc7c4f93c
commit
04f9204855
@@ -276,6 +276,7 @@ cc_library(
|
||||
"//internal/account",
|
||||
"//internal/base:file_path",
|
||||
"//internal/base:files",
|
||||
"//internal/base:masker",
|
||||
"//internal/flags:nearby_flags",
|
||||
"//internal/platform:base",
|
||||
"//internal/platform:cancellation_flag",
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
|
||||
#include "absl/strings/string_view.h"
|
||||
#include "absl/time/time.h"
|
||||
#include "internal/base/masker.h"
|
||||
#include "internal/platform/cancellation_flag.h"
|
||||
#include "internal/platform/implementation/wifi_direct.h"
|
||||
#include "internal/platform/implementation/wifi_utils.h"
|
||||
@@ -313,11 +314,11 @@ fire_and_forget WifiDirectMedium::OnStatusChanged(
|
||||
LOG(INFO) << "WiFiDirect GO SSID: "
|
||||
<< winrt::to_string(
|
||||
publisher_.Advertisement().LegacySettings().Ssid());
|
||||
LOG(INFO) << "WiFiDirect GO PW: "
|
||||
<< winrt::to_string(publisher_.Advertisement()
|
||||
.LegacySettings()
|
||||
.Passphrase()
|
||||
.Password());
|
||||
LOG(INFO) << "WiFiDirect GO password: "
|
||||
<< masker::Mask(winrt::to_string(publisher_.Advertisement()
|
||||
.LegacySettings()
|
||||
.Passphrase()
|
||||
.Password()));
|
||||
}
|
||||
return winrt::fire_and_forget();
|
||||
} else if (event.Status() ==
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
#include "absl/strings/str_format.h"
|
||||
#include "absl/strings/string_view.h"
|
||||
#include "absl/synchronization/mutex.h"
|
||||
#include "internal/base/masker.h"
|
||||
#include "internal/flags/nearby_flags.h"
|
||||
#include "internal/platform/byte_array.h"
|
||||
#include "internal/platform/cancellation_flag.h"
|
||||
@@ -319,11 +320,11 @@ fire_and_forget WifiHotspotMedium::OnStatusChanged(
|
||||
LOG(INFO) << "WiFi SoftAP SSID: "
|
||||
<< winrt::to_string(
|
||||
publisher_.Advertisement().LegacySettings().Ssid());
|
||||
VLOG(1) << "WiFi SoftAP PW: "
|
||||
<< winrt::to_string(publisher_.Advertisement()
|
||||
.LegacySettings()
|
||||
.Passphrase()
|
||||
.Password());
|
||||
VLOG(1) << "WiFi SoftAP password: "
|
||||
<< masker::Mask(winrt::to_string(publisher_.Advertisement()
|
||||
.LegacySettings()
|
||||
.Passphrase()
|
||||
.Password()));
|
||||
}
|
||||
return winrt::fire_and_forget();
|
||||
} else if (event.Status() ==
|
||||
|
||||
Reference in New Issue
Block a user