-
Notifications
You must be signed in to change notification settings - Fork 934
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
Improve handling for snooze state #3898
Improve handling for snooze state #3898
Conversation
Current dependencies on/for this PR:
This stack of pull requests is managed by Graphite. |
2e590dd
to
34954a6
Compare
9cbe5e2
to
d45d53d
Compare
34954a6
to
e88dfac
Compare
efb9415
to
817ecb6
Compare
817ecb6
to
49812f2
Compare
...in/java/com/duckduckgo/mobile/android/vpn/ui/tracker_activity/DeviceShieldTrackerActivity.kt
Outdated
Show resolved
Hide resolved
e88dfac
to
35d24a1
Compare
49812f2
to
aee4030
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not really convinced about the new VpnStopReason.SNOOZED(...)
state. Not sure why not using the already existing SELF_STOP (?)
...pn-impl/src/main/java/com/duckduckgo/mobile/android/vpn/service/TrackerBlockingVpnService.kt
Outdated
Show resolved
Hide resolved
...-protection/vpn-api/src/main/java/com/duckduckgo/mobile/android/vpn/state/VpnStateMonitor.kt
Outdated
Show resolved
Hide resolved
...pn-impl/src/main/java/com/duckduckgo/mobile/android/vpn/service/state/RealVpnStateMonitor.kt
Outdated
Show resolved
Hide resolved
8294e6a
to
b02fd3d
Compare
aee4030
to
c595ca2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
<!-- Note: This checklist is a reminder of our shared engineering expectations. The items in Bold are required If your PR involves UI changes: 1. Upload screenshots or screencasts that illustrate the changes before / after 2. Add them under the UI changes section (feel free to add more columns if needed) If your PR does not involve UI changes, you can remove the **UI changes** section At a minimum, make sure your changes are tested in API 23 and one of the more recent API levels available. --> Task/Issue URL: https://app.asana.com/0/0/1206000100414553/f ### Description Improve VPNServiceState to avoid hardcoding snooze duration and define it in a single place only. ### Steps to test this PR repeat https://app.asana.com/0/0/1205989766118758/f
<!-- Note: This checklist is a reminder of our shared engineering expectations. The items in Bold are required If your PR involves UI changes: 1. Upload screenshots or screencasts that illustrate the changes before / after 2. Add them under the UI changes section (feel free to add more columns if needed) If your PR does not involve UI changes, you can remove the **UI changes** section At a minimum, make sure your changes are tested in API 23 and one of the more recent API levels available. --> Task/Issue URL: https://app.asana.com/0/0/1206000100414553/f ### Description Improve VPNServiceState to avoid hardcoding snooze duration and define it in a single place only. ### Steps to test this PR repeat https://app.asana.com/0/0/1205989766118758/f
Task/Issue URL: https://app.asana.com/0/0/1206000100414553/f
Description
Improve VPNServiceState to avoid hardcoding snooze duration and define it in a single place only.
Steps to test this PR
repeat https://app.asana.com/0/0/1205989766118758/f