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

Add functionality to auto-exclude #5062

Open
wants to merge 8 commits into
base: feature/karl/vpn/ui-prompt-exclusion
Choose a base branch
from

Conversation

karlenDimla
Copy link
Contributor

Task/Issue URL: https://app.asana.com/0/72649045549333/1208309647982860/f

Description

See attached description

Steps to test this PR

https://app.asana.com/0/72649045549333/1208398940490799/f

@karlenDimla
Copy link
Contributor Author

karlenDimla commented Sep 25, 2024

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @karlenDimla and the rest of your teammates on Graphite Graphite

@karlenDimla karlenDimla force-pushed the feature/karl/vpn/ui-prompt-exclusion branch from 822d3d2 to 4046aac Compare September 27, 2024 13:21
@karlenDimla karlenDimla force-pushed the feature/karl/vpn/ui-prompt-exclusion branch from 4046aac to dd5a2a5 Compare September 30, 2024 12:39
@karlenDimla karlenDimla force-pushed the feature/karl/vpn/ui-prompt-exclusion branch from dd5a2a5 to e9613bf Compare September 30, 2024 16:43
@karlenDimla karlenDimla force-pushed the feature/karl/vpn/ui-prompt-exclusion branch from e9613bf to 01199f8 Compare October 2, 2024 14:07
@karlenDimla karlenDimla force-pushed the feature/karl/vpn/functionality branch 2 times, most recently from 9d62f54 to c814b2b Compare October 2, 2024 14:54
@karlenDimla karlenDimla force-pushed the feature/karl/vpn/ui-prompt-exclusion branch from 5642805 to 92b327e Compare October 2, 2024 15:15
@karlenDimla karlenDimla force-pushed the feature/karl/vpn/functionality branch from c814b2b to d5b484b Compare October 2, 2024 15:15
@karlenDimla karlenDimla force-pushed the feature/karl/vpn/ui-prompt-exclusion branch from 92b327e to 1c6dc14 Compare October 2, 2024 15:34
@karlenDimla karlenDimla force-pushed the feature/karl/vpn/functionality branch from d5b484b to cb6b112 Compare October 2, 2024 15:35
@karlenDimla karlenDimla force-pushed the feature/karl/vpn/ui-prompt-exclusion branch from 1c6dc14 to 6f81fa1 Compare October 2, 2024 15:46
@karlenDimla karlenDimla force-pushed the feature/karl/vpn/functionality branch from cb6b112 to efb282d Compare October 2, 2024 15:46
@karlenDimla karlenDimla force-pushed the feature/karl/vpn/ui-prompt-exclusion branch from 6f81fa1 to 0db27e5 Compare October 3, 2024 12:35
@karlenDimla karlenDimla force-pushed the feature/karl/vpn/functionality branch 2 times, most recently from e2617af to ee73013 Compare October 3, 2024 14:30
@karlenDimla karlenDimla force-pushed the feature/karl/vpn/functionality branch from ee73013 to 1787843 Compare October 4, 2024 07:53
@karlenDimla karlenDimla force-pushed the feature/karl/vpn/ui-prompt-exclusion branch from 0db27e5 to c95fc83 Compare October 4, 2024 08:24
@karlenDimla karlenDimla force-pushed the feature/karl/vpn/functionality branch from 1787843 to c511464 Compare October 4, 2024 08:24
@karlenDimla karlenDimla force-pushed the feature/karl/vpn/ui-prompt-exclusion branch from c95fc83 to 708eb1d Compare October 7, 2024 13:48
@karlenDimla karlenDimla force-pushed the feature/karl/vpn/functionality branch from c511464 to b1e2ccc Compare October 7, 2024 13:48
@karlenDimla karlenDimla force-pushed the feature/karl/vpn/ui-prompt-exclusion branch from 708eb1d to 516def1 Compare October 9, 2024 11:26
@karlenDimla karlenDimla force-pushed the feature/karl/vpn/functionality branch from b1e2ccc to 6f22a62 Compare October 9, 2024 11:26
@karlenDimla karlenDimla force-pushed the feature/karl/vpn/ui-prompt-exclusion branch from 516def1 to 98a01f3 Compare October 21, 2024 17:08
Copy link
Collaborator

@aitorvs aitorvs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couple comments that I think should be addressed

@karlenDimla karlenDimla force-pushed the feature/karl/vpn/ui-prompt-exclusion branch from 98a01f3 to f182eb2 Compare October 23, 2024 10:10
@karlenDimla karlenDimla force-pushed the feature/karl/vpn/ui-prompt-exclusion branch from f182eb2 to 5deaa51 Compare October 23, 2024 13:06
@@ -60,4 +62,10 @@ class RealAppTrackingProtection @Inject constructor(
vpnFeaturesRegistry.unregisterFeature(AppTpVpnFeature.APPTP_VPN)
}
}

override suspend fun isAppExcluded(packageName: String): Boolean {
return withContext(dispatcherProvider.io()) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: should we already define the dispatcher here? we know is disk IO

*
* @return `true` when the app is excluded from App Tracking Protection
*/
suspend fun isAppExcluded(packageName: String): Boolean
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: I was more thinking about getting the exclusion list as API, I think it's more generic. But fine

Task/Issue URL: https://app.asana.com/0/0/1208253921539950/f

### Description
See attached task description

### Steps to test this PR
https://app.asana.com/0/0/1208434633636283/f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants