Commit de84fe11 authored by siyua's avatar siyua Committed by Commit Bot

[Paradise] Change email source

After non-sync users are able to migrate local cards, the
primary account email will no longer be correct.

Bug: 897998
Change-Id: I932b38ed2d6bf0ffdd238ab73a76998a31ed898c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1747076
Commit-Queue: Jared Saul <jsaul@google.com>
Reviewed-by: default avatarJared Saul <jsaul@google.com>
Cr-Commit-Position: refs/heads/master@{#686475}
parent bb92e3b6
......@@ -389,7 +389,7 @@ void LocalCardMigrationManager::ShowMainMigrationDialog() {
// Pops up a larger, modal dialog showing the local cards to be uploaded.
client_->ConfirmMigrateLocalCardToCloud(
std::move(legal_message_),
client_->GetIdentityManager()->GetPrimaryAccountInfo().email,
personal_data_manager_->GetAccountInfoForPaymentsServer().email,
migratable_credit_cards_,
base::BindOnce(
&LocalCardMigrationManager::OnUserAcceptedMainMigrationDialog,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment