Use a non-pinned notification for remote support confirmation.
Pinned notifications can only have a single action button, which for this notification is "Decline". Unpinned notifications can have two. I've confirmed that this fixes the bug in a ChromeOS-on-Linux build. Bug: 327483680 Change-Id: I2c2ccf1ce4db99bc4197593655c84a5be1e96a23 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5502598 Reviewed-by: Joe Downing <joedow@chromium.org> Commit-Queue: Joe Downing <joedow@chromium.org> Reviewed-by: Jamie Walch <jamiewalch@chromium.org> Cr-Commit-Position: refs/heads/main@{#1294847}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
a5b94b8fa0
commit
846f9f7a95
@ -101,7 +101,7 @@ void It2MeConfirmationDialogChromeOS::Show(const std::string& remote_user_email,
|
||||
void It2MeConfirmationDialogChromeOS::ShowConfirmationNotification(
|
||||
const std::string& remote_user_email) {
|
||||
message_center::RichNotificationData data;
|
||||
data.pinned = true;
|
||||
data.pinned = false;
|
||||
|
||||
data.buttons.emplace_back(
|
||||
l10n_util::GetStringUTF16(IDS_SHARE_CONFIRM_DIALOG_DECLINE));
|
||||
|
Reference in New Issue
Block a user