This repository has been archived by the owner on Jul 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
45b9640
commit d509c44
Showing
37 changed files
with
567 additions
and
455 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 6 additions & 8 deletions
14
app/src/main/java/net/nymtech/nymvpn/data/model/Gateways.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
package net.nymtech.nymvpn.data.model | ||
|
||
import net.nymtech.vpn.model.Hop | ||
import net.nymtech.vpn.model.HopCountries | ||
|
||
import net.nymtech.vpn.model.Country | ||
data class Gateways( | ||
val firstHopCountry: Hop.Country = Hop.Country(), | ||
val lastHopCountry: Hop.Country = Hop.Country(), | ||
val lowLatencyCountry: Hop.Country = Hop.Country(), | ||
val entryCountries: HopCountries = emptySet(), | ||
val exitCountries: HopCountries = emptySet() | ||
val firstHopCountry: Country = Country(), | ||
val lastHopCountry: Country = Country(), | ||
val lowLatencyCountry: Country = Country(), | ||
val entryCountries: Set<Country> = emptySet(), | ||
val exitCountries: Set<Country> = emptySet() | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 23 additions & 14 deletions
37
app/src/main/java/net/nymtech/nymvpn/service/AlwaysOnVpnService.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.