New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 788583 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
OOO until 4th Feb
Closed: Nov 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

Ensure cached notifications channels are cleared when ClearAllContentSettingsRules is called

Project Member Reported by raymes@chromium.org, Nov 27 2017

Issue description

Currently NotificationChannelsProviderAndroid::ClearAllContentSettingsRules
doesn't clear the chached notification channels in the provider. This
can lead to bugs due to the inconsistent state between real and cached
channels.
 

Comment 1 by raymes@chromium.org, Nov 27 2017

Labels: OS-Android

Comment 2 by raymes@chromium.org, Nov 27 2017

Cc: cma...@chromium.org
This was landed in https://chromium-review.googlesource.com/c/chromium/src/+/784275. The fix is fairly trivial. 

Technically this impacts M63. The scope of the impact: 
There is a risk that after clearing channels, new channels won't get recreated properly. This is fairly unlikely and the issue should rectify itself after notification settings are displayed on the screen (or Chrome is restarted, etc.). I can't think of any other potential problems. But I'm also making an assumption here that trying to delete a non-existent channel in the Android side won't crash or do anything bad. awdf: could you confirm that?

But otherwise, given that we're so close to Stable release of 63, I'm not sure we would be able to merge this. peter/awdf/cmasso: thoughts?

Comment 3 by awdf@chromium.org, Nov 27 2017

Re #2: Can confirm deleting a non-existent channel is fine.

Agree it's probably not worth merging now, given the timescale and the available workaround (restarting Chrome). 

Comment 4 by raymes@chromium.org, Nov 27 2017

Status: Fixed (was: Assigned)
Thanks Anita. Closing as fixed then.

Comment 5 by cma...@chromium.org, Nov 28 2017

Thanks!

Sign in to add a comment