Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(972)

Issue 2394483004: arc: OnClosedFromAndroid removes notifications as not by_user (Closed)

Created:
4 years, 2 months ago by xiyuan
Modified:
4 years, 2 months ago
Reviewers:
yoshiki
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, hidehiko+watch_chromium.org, lhchavez+watch_chromium.org, yusukes+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

arc: OnClosedFromAndroid removes notifications as not by_user Otherwise, a pinned notification remains in message center while the underlying ArcNotificationItem is destroyed. This would cause a crash later when message center attempts to create a view for the notification. BUG=647149, 649379 BUG=b/31905643 TEST=Install any app from play store. After install finishes, bring up the message center and observe no crash. Committed: https://crrev.com/5ac2951337b278b6caaed5304f95db151a411983 Cr-Commit-Position: refs/heads/master@{#423565}

Patch Set 1 #

Total comments: 2

Patch Set 2 : remove by_user from OnClosedFromAndroid #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -5 lines) Patch
M ui/arc/notification/arc_notification_item.h View 1 1 chunk +1 line, -1 line 0 comments Download
M ui/arc/notification/arc_notification_item.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M ui/arc/notification/arc_notification_manager.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 24 (17 generated)
xiyuan
4 years, 2 months ago (2016-10-05 17:35:52 UTC) #2
yoshiki
lgtm
4 years, 2 months ago (2016-10-06 00:24:04 UTC) #8
yoshiki
Still lgtm but have one request. https://codereview.chromium.org/2394483004/diff/1/ui/arc/notification/arc_notification_manager.cc File ui/arc/notification/arc_notification_manager.cc (right): https://codereview.chromium.org/2394483004/diff/1/ui/arc/notification/arc_notification_manager.cc#newcode104 ui/arc/notification/arc_notification_manager.cc:104: item->OnClosedFromAndroid(false /* by_user ...
4 years, 2 months ago (2016-10-06 06:37:14 UTC) #9
xiyuan
https://codereview.chromium.org/2394483004/diff/1/ui/arc/notification/arc_notification_manager.cc File ui/arc/notification/arc_notification_manager.cc (right): https://codereview.chromium.org/2394483004/diff/1/ui/arc/notification/arc_notification_manager.cc#newcode104 ui/arc/notification/arc_notification_manager.cc:104: item->OnClosedFromAndroid(false /* by_user */); On 2016/10/06 06:37:13, yoshiki wrote: ...
4 years, 2 months ago (2016-10-06 16:15:41 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2394483004/20001
4 years, 2 months ago (2016-10-06 16:52:43 UTC) #20
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-10-06 16:59:14 UTC) #22
commit-bot: I haz the power
4 years, 2 months ago (2016-10-06 17:02:41 UTC) #24
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/5ac2951337b278b6caaed5304f95db151a411983
Cr-Commit-Position: refs/heads/master@{#423565}

Powered by Google App Engine
This is Rietveld 408576698