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

Issue 781948 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Last visit 21 days ago
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

Offline Prefetching notifications might be firing more often then they should

Project Member Reported by carlosk@chromium.org, Nov 6 2017

Issue description

I noticed a couple of cases where the offline content notification was triggered during the night. This seemed strange for a few reasons:

* I have many Chrome channels installed on my device but only one of them fired the notification in each isolated occasion (Dev and Canary).
* It is very unlikely that my device connectivity would be kept as offline for such a long time because of the redundancy of having both wifi and the phone carrier network available.

If this proves to be an actual misfire this means we would be showing notifications when the user doesn't actually needs to be informed about offline content.
 
It was suggested during a meeting that one potential cause could be Android's sleep/doze mode purposely disabling the device's radio. We don't know yet if this can actually happen and how to handle this situation.
Labels: -Pri-3 Pri-2
Owner: chili@chromium.org
Status: Assigned (was: Untriaged)

Comment 3 by dimich@google.com, Nov 28 2017

I second the Carlos' observations. In my case, I also have 2 prefetch-enabled instances of Chrome, Dev and Canary, but I only open Canary from time to time so the Dev does not get any Zine updates and therefore never prefetches anything.
Canary often shows me an offline prefetch notification which pops up around 7am in the morning, even though the phone always has WiFo and cellular connectivity.

Labels: OS-Android
I generated a few Android bug reports generated right after I noticed that notifications had been created when I thought they shouldn't. Tomorrow chili@ and I will take a look at them and see if we can find some clue.

Comment 5 by carl...@google.com, Nov 29 2017

Analyzing these reports is a "needle in haystack" game, at least for first comers like us. However we did find what seems to be a correlation between battery saver being active and the offline detection background task behaving as if it was detecting the phone as being offline. But the OS still seemed to think the device was connected through out that period.

chili@ will run a few tests to see if battery saver has any effects over our checking for connectivity.

Sign in to add a comment