Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable SOCKS proxy support per feature flag
We don't want people to use this incomplete implementation believing the proxy will be used for all their connections. This could have serious privacy implications, e.g. when using Tor via SOCKS proxy. See also #980
- Loading branch information
Showing
4 changed files
with
36 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package com.fsck.k9; | ||
|
||
|
||
public class Features { | ||
public static boolean isSocksProxySupportEnabled() { | ||
return BuildConfig.FEATURE_SOCKS_PROXY; | ||
} | ||
} |
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