Default no clear on reload

This commit is contained in:
M66B 2017-05-31 07:55:03 +02:00
parent 3d87bf7d11
commit 6164771e2b
3 changed files with 3 additions and 3 deletions

View File

@ -462,7 +462,7 @@ public class ServiceSinkhole extends VpnService implements SharedPreferences.OnS
private void reload() {
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(ServiceSinkhole.this);
boolean clear = prefs.getBoolean("clear_onreload", true);
boolean clear = prefs.getBoolean("clear_onreload", false);
if (state != State.enforcing) {
if (state != State.none) {

View File

@ -164,7 +164,7 @@
android:summary="@string/summary_filter"
android:title="@string/setting_filter"/>
<CheckBoxPreference
android:defaultValue="true"
android:defaultValue="false"
android:dependency="filter"
android:key="clear_onreload"
android:title="@string/setting_clear_onreload"/>

View File

@ -164,7 +164,7 @@
android:summary="@string/summary_filter"
android:title="@string/setting_filter"/>
<eu.faircode.netguard.SwitchPreference
android:defaultValue="true"
android:defaultValue="false"
android:dependency="filter"
android:key="clear_onreload"
android:title="@string/setting_clear_onreload"/>