Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the issue with unexpected connections resets #2980

Closed
ameshkov opened this issue Aug 1, 2019 · 0 comments
Closed

Fix the issue with unexpected connections resets #2980

ameshkov opened this issue Aug 1, 2019 · 0 comments
Assignees
Milestone

Comments

@ameshkov
Copy link
Member

ameshkov commented Aug 1, 2019

The issue is caused by unexpected filter lists updates.

  1. First of all, fix the issue with DNS filters and userscripts background update -- it does not seem to update at all;
  2. It makes sense to unite all three job into one, and it should raise a single event;
  3. ProtectionService should check if the device is idle or not, and reload protection only if it is idle, otherwise -- postpone it for a minute or so;

Idle detection could be done via JobScheduler or WorkManager.

https://developer.android.com/reference/androidx/work/Constraints.Builder.html#setRequiresDeviceIdle(boolean)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants