mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-15 20:29:52 +01:00
Add setting to override location-based disabling of Tor.
This commit is contained in:
@@ -348,6 +348,8 @@
|
||||
<string name="tor_network_setting_never">Never</string>
|
||||
<string name="tor_network_setting_wifi">Only when using Wi-Fi</string>
|
||||
<string name="tor_network_setting_always">When using Wi-Fi or mobile data</string>
|
||||
<string name="tor_location_setting_title">Disable Tor based on location</string>
|
||||
<string name="tor_location_setting_hint">Disable Tor in countries where it is likely to be blocked</string>
|
||||
|
||||
<!-- Settings Security and Panic -->
|
||||
<string name="security_settings_title">Security</string>
|
||||
|
||||
@@ -44,6 +44,13 @@
|
||||
android:summary="%s"
|
||||
android:title="@string/tor_network_setting"/>
|
||||
|
||||
<CheckBoxPreference
|
||||
android:defaultValue="true"
|
||||
android:key="pref_key_tor_location"
|
||||
android:persistent="false"
|
||||
android:summary="@string/tor_location_setting_hint"
|
||||
android:title="@string/tor_location_setting_title"/>
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory
|
||||
|
||||
Reference in New Issue
Block a user