|
|
@ -1087,7 +1087,7 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public void onClick(View v) {
|
|
|
|
public void onClick(View v) {
|
|
|
|
prefs.edit().remove("debug").commit();
|
|
|
|
prefs.edit().remove("debug").commit();
|
|
|
|
ApplicationEx.restart(v.getContext());
|
|
|
|
ApplicationEx.restart(v.getContext(), "query_threads");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
@ -1119,7 +1119,7 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc
|
|
|
|
.putBoolean("sqlite_auto_vacuum", checked)
|
|
|
|
.putBoolean("sqlite_auto_vacuum", checked)
|
|
|
|
.remove("debug")
|
|
|
|
.remove("debug")
|
|
|
|
.apply();
|
|
|
|
.apply();
|
|
|
|
ApplicationEx.restart(v.getContext());
|
|
|
|
ApplicationEx.restart(v.getContext(), "sqlite_auto_vacuum");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
@ -1144,7 +1144,7 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public void onClick(View v) {
|
|
|
|
public void onClick(View v) {
|
|
|
|
prefs.edit().remove("debug").commit();
|
|
|
|
prefs.edit().remove("debug").commit();
|
|
|
|
ApplicationEx.restart(v.getContext());
|
|
|
|
ApplicationEx.restart(v.getContext(), "sqlite_cache");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|