mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-14 22:56:12 -04:00
Shrink the QR code
PiperOrigin-RevId: 633285268
This commit is contained in:
committed by
Copybara-Service
parent
556a026a6e
commit
12d03e75d3
@@ -51,9 +51,8 @@ class NearbySharingServiceExtension {
|
||||
Context* context_ = nullptr;
|
||||
NearbyShareSettings* settings_ = nullptr;
|
||||
|
||||
// The qr code url for the current session containing Advertising token,
|
||||
// Connection token and Sender Public Key.
|
||||
std::string qr_code_url_ = "http://near.by/launch_by_qrcode";
|
||||
// The qr code url for the current session containing the Sender Public Key.
|
||||
std::string qr_code_url_ = "https://near.by/qrcode";
|
||||
};
|
||||
|
||||
} // namespace sharing
|
||||
|
||||
@@ -184,8 +184,7 @@ TEST_F(NearbySharingServiceExtensionTest,
|
||||
}
|
||||
|
||||
TEST_F(NearbySharingServiceExtensionTest, GetQrCodeUrl) {
|
||||
EXPECT_EQ(service_extension()->GetQrCodeUrl(),
|
||||
"http://near.by/launch_by_qrcode");
|
||||
EXPECT_EQ(service_extension()->GetQrCodeUrl(), "https://near.by/qrcode");
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
||||
Reference in New Issue
Block a user