Shrink the QR code

PiperOrigin-RevId: 633285268
This commit is contained in:
Will Harmon
2024-05-13 11:55:55 -07:00
committed by Copybara-Service
parent 556a026a6e
commit 12d03e75d3
2 changed files with 3 additions and 5 deletions
+2 -3
View File
@@ -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