Commit 3159570e authored by Shanfeng Zhang's avatar Shanfeng Zhang Committed by Commit Bot

Show bank name in sub label

This should have been caught in https://chromium-review.googlesource.com/c/chromium/src/+/754281

Bug: 
Change-Id: Icca4f209ce474103d6a8231f36c89a36b27384d2
Reviewed-on: https://chromium-review.googlesource.com/794304
Commit-Queue: Shanfeng Zhang <szhangcs@google.com>
Commit-Queue: Roger McFarlane <rogerm@chromium.org>
Reviewed-by: default avatarRoger McFarlane <rogerm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#519849}
parent 0a56f848
......@@ -1609,7 +1609,7 @@ std::vector<Suggestion> PersonalDataManager::GetSuggestionsForCards(
// Since Android places the label on its own row, there's more
// horizontal
// space to work with. Show "Amex - 1234" rather than desktop's "*1234".
suggestion->label = credit_card->NetworkAndLastFourDigits();
suggestion->label = credit_card->NetworkOrBankNameAndLastFourDigits();
#else
suggestion->label = base::ASCIIToUTF16("*");
suggestion->label.append(credit_card->LastFourDigits());
......
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