mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-14 03:39:05 +01:00
Update comments about migration periods, since this isn't merged yet.
This commit is contained in:
@@ -287,7 +287,7 @@ abstract class TorPlugin implements DuplexPlugin, EventHandler, EventListener {
|
|||||||
bind();
|
bind();
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Remove after a reasonable migration period (added 2020-01-16)
|
// TODO: Remove after a reasonable migration period (added 2020-06-25)
|
||||||
private Settings migrateSettings(Settings settings) {
|
private Settings migrateSettings(Settings settings) {
|
||||||
int network = settings.getInt(PREF_TOR_NETWORK,
|
int network = settings.getInt(PREF_TOR_NETWORK,
|
||||||
PREF_TOR_NETWORK_AUTOMATIC);
|
PREF_TOR_NETWORK_AUTOMATIC);
|
||||||
|
|||||||
@@ -370,7 +370,7 @@ public class SettingsFragment extends PreferenceFragmentCompat
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Remove after a reasonable migration period (added 2020-01-29)
|
// TODO: Remove after a reasonable migration period (added 2020-06-25)
|
||||||
private Settings migrateTorSettings(Settings s) {
|
private Settings migrateTorSettings(Settings s) {
|
||||||
int network = s.getInt(PREF_TOR_NETWORK, PREF_TOR_NETWORK_AUTOMATIC);
|
int network = s.getInt(PREF_TOR_NETWORK, PREF_TOR_NETWORK_AUTOMATIC);
|
||||||
if (network == PREF_TOR_NETWORK_NEVER) {
|
if (network == PREF_TOR_NETWORK_NEVER) {
|
||||||
|
|||||||
Reference in New Issue
Block a user