Commit 209ec254 authored by yoshiki's avatar yoshiki Committed by Commit bot

Change ARC notification type from SIMPLE to BASE_FORMAT

Notification type SIMPLE is for the web notification actually and it triggers some hacks which causes the problem (see the issue).

This patch changes the type to BASE_FORMAT without hacks.

BUG=b/26831435

Review URL: https://codereview.chromium.org/1640333003

Cr-Commit-Position: refs/heads/master@{#372039}
parent a7562210
...@@ -110,11 +110,11 @@ void ArcNotificationItem::UpdateWithArcNotificationData( ...@@ -110,11 +110,11 @@ void ArcNotificationItem::UpdateWithArcNotificationData(
switch (data.type) { switch (data.type) {
case ArcNotificationType::BASIC: case ArcNotificationType::BASIC:
type = message_center::NOTIFICATION_TYPE_SIMPLE; type = message_center::NOTIFICATION_TYPE_BASE_FORMAT;
break; break;
case ArcNotificationType::IMAGE: case ArcNotificationType::IMAGE:
// TODO(yoshiki): Implement this types. // TODO(yoshiki): Implement this types.
type = message_center::NOTIFICATION_TYPE_SIMPLE; type = message_center::NOTIFICATION_TYPE_BASE_FORMAT;
LOG(ERROR) << "Unsupported notification type: image"; LOG(ERROR) << "Unsupported notification type: image";
break; break;
case ArcNotificationType::PROGRESS: case ArcNotificationType::PROGRESS:
......
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